@dev.sail.money/sailor 0.1.0-local → 1.0.0-39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +139 -140
- package/LICENSE +21 -21
- package/README.md +428 -430
- package/docs/PERMISSION_MODEL.md +93 -93
- package/examples/permissions/BoundedApproveAndCallBatch.sol +179 -179
- package/examples/permissions/BoundedBet_Limitless_Base.sol +97 -97
- package/examples/permissions/BoundedBorrow_AaveV3_Arbitrum.sol +94 -94
- package/examples/permissions/BoundedPerp_GMXv2_Arbitrum.sol +154 -154
- package/examples/permissions/BoundedStake_Venice_Base.sol +85 -85
- package/examples/permissions/BoundedSupply_AaveV3_Arbitrum.sol +82 -82
- package/examples/permissions/BoundedSwap_UniswapV3_Base.sol +116 -116
- package/examples/permissions/BoundedSwap_UniswapV4_Unichain.sol +150 -150
- package/examples/permissions/BoundedTransfer_ERC20_Ethereum.sol +73 -73
- package/examples/permissions/BoundedVault_ERC4626_Base.sol +97 -97
- package/examples/permissions/README.md +79 -79
- package/examples/permissions/SailCalldata.sol +118 -118
- package/examples/permissions/foundry.toml +10 -10
- package/examples/permissions/interfaces/IBatchPermission.sol +38 -38
- package/examples/permissions/interfaces/IPermission.sol +18 -18
- package/package.json +44 -45
- package/packages/cli/README.md +34 -34
- package/packages/cli/dist/index.cjs +734 -705
- package/packages/cli/dist/server.cjs +627 -538
- package/packages/sdk/README.md +65 -65
- package/packages/sdk/dist/intelligence.d.ts +1 -1
- package/packages/sdk/dist/intelligence.js +1 -1
- package/packages/sdk/package.json +80 -80
- package/packages/ui/dist/assets/{add-BxpXfVWe.js → add-Gzf62xlX.js} +1 -1
- package/packages/ui/dist/assets/{all-wallets-BKTn_sWK.js → all-wallets-O-pI4o8v.js} +1 -1
- package/packages/ui/dist/assets/{app-store-CfuKbwxR.js → app-store-CeSLaOaQ.js} +1 -1
- package/packages/ui/dist/assets/{apple-BKSBbNYg.js → apple-FGNyQM-D.js} +1 -1
- package/packages/ui/dist/assets/{arrow-bottom-D4bG6gZi.js → arrow-bottom-C1fusORF.js} +1 -1
- package/packages/ui/dist/assets/{arrow-bottom-circle-BNTs1p0T.js → arrow-bottom-circle-AvK1VEpN.js} +1 -1
- package/packages/ui/dist/assets/{arrow-left-2uee3vYv.js → arrow-left-Bu-hq4Ep.js} +1 -1
- package/packages/ui/dist/assets/{arrow-right-BktjMV6h.js → arrow-right-XbZESmct.js} +1 -1
- package/packages/ui/dist/assets/{arrow-top-Izu28fX4.js → arrow-top-DvkVHbhX.js} +1 -1
- package/packages/ui/dist/assets/{bank-USBaAyFM.js → bank-DTThWRvC.js} +1 -1
- package/packages/ui/dist/assets/{basic-C_9KjTEH.js → basic-B9AMgqFE.js} +1 -1
- package/packages/ui/dist/assets/{browser-DAEMAKV7.js → browser-Bhnivm4i.js} +1 -1
- package/packages/ui/dist/assets/{card-DT8yDkKN.js → card-DjIlyU55.js} +1 -1
- package/packages/ui/dist/assets/{ccip-CkqfGSxX.js → ccip-DPAiKntc.js} +1 -1
- package/packages/ui/dist/assets/{checkmark-CsgdEXFj.js → checkmark-DSVYfoVl.js} +1 -1
- package/packages/ui/dist/assets/{checkmark-bold-D2gjOQo2.js → checkmark-bold-BFkw_Q5g.js} +1 -1
- package/packages/ui/dist/assets/{chevron-bottom-tprFynYV.js → chevron-bottom-CyCgyOwY.js} +1 -1
- package/packages/ui/dist/assets/{chevron-left-D2Zj1gNB.js → chevron-left-DTuO2WLr.js} +1 -1
- package/packages/ui/dist/assets/{chevron-right-D1rRuAVe.js → chevron-right-DwB5FZj8.js} +1 -1
- package/packages/ui/dist/assets/{chevron-top-24dL1mbL.js → chevron-top-DKukdWvg.js} +1 -1
- package/packages/ui/dist/assets/{chrome-store-Vy-5niYX.js → chrome-store-Csz4L9Ls.js} +1 -1
- package/packages/ui/dist/assets/{clock-qBjLnVdJ.js → clock-Bg6488Gw.js} +1 -1
- package/packages/ui/dist/assets/{close-DARDwgcu.js → close-BxAJGBxP.js} +1 -1
- package/packages/ui/dist/assets/{coinPlaceholder-BvpIbPlD.js → coinPlaceholder-CCJVgW9w.js} +1 -1
- package/packages/ui/dist/assets/{compass-BMTO0ayt.js → compass-CSQSZaqJ.js} +1 -1
- package/packages/ui/dist/assets/{copy-PaXeRHza.js → copy-CqlzXVB-.js} +1 -1
- package/packages/ui/dist/assets/{core-BFnStQd-.js → core-ClvdTrpG.js} +3 -3
- package/packages/ui/dist/assets/cursor-CKKwWhGQ.js +3 -0
- package/packages/ui/dist/assets/{cursor-transparent-BEMdi-8q.js → cursor-transparent-C1VOGz11.js} +1 -1
- package/packages/ui/dist/assets/{desktop-CfuLLThw.js → desktop-QiLednKV.js} +1 -1
- package/packages/ui/dist/assets/{disconnect-DhwgJMiR.js → disconnect-Bx2TgkML.js} +1 -1
- package/packages/ui/dist/assets/{discord-po8qoN1s.js → discord-6MWX5Rbb.js} +1 -1
- package/packages/ui/dist/assets/{etherscan-BEsz0_yx.js → etherscan-CodIrmJK.js} +1 -1
- package/packages/ui/dist/assets/{events-Bz33Unzu.js → events-DOEm-LTy.js} +1 -1
- package/packages/ui/dist/assets/{exclamation-triangle-7CjTAGOQ.js → exclamation-triangle-Dwr5oCsh.js} +1 -1
- package/packages/ui/dist/assets/{extension-CmxjEWEt.js → extension-C-SoZx1s.js} +1 -1
- package/packages/ui/dist/assets/{external-link-CmQ--bNS.js → external-link-BiDYH90C.js} +1 -1
- package/packages/ui/dist/assets/{facebook-CIBn9b65.js → facebook-Bm27AlfS.js} +1 -1
- package/packages/ui/dist/assets/{fallback-DATyrQlb.js → fallback-Bwpmpy13.js} +1 -1
- package/packages/ui/dist/assets/{farcaster-OJ3Jasxg.js → farcaster-CSW-SjzS.js} +1 -1
- package/packages/ui/dist/assets/{filters-D4x09zeL.js → filters-j3dR7AJK.js} +1 -1
- package/packages/ui/dist/assets/{github-ZlIuMArp.js → github-CQMTSSgW.js} +1 -1
- package/packages/ui/dist/assets/{google-Gwg85sfv.js → google-BBIVBfAd.js} +1 -1
- package/packages/ui/dist/assets/{help-circle-D1uOWYcX.js → help-circle-CEvTLelF.js} +1 -1
- package/packages/ui/dist/assets/{id-C0-5UdYk.js → id-CYRVgSgN.js} +1 -1
- package/packages/ui/dist/assets/{image-D_DUsv8-.js → image-Cm9Ep5G0.js} +1 -1
- package/packages/ui/dist/assets/{index-DdbJhIdl.js → index-4wdo7Ga_.js} +3 -3
- package/packages/ui/dist/assets/{index-CrYzBWfD.js → index-BrP8m1ZI.js} +1 -1
- package/packages/ui/dist/assets/index-C2PQCECq.css +1 -0
- package/packages/ui/dist/assets/{index-DiojfeVM.js → index-DZ07nuwB.js} +1 -1
- package/packages/ui/dist/assets/{index-BCzex_R6.js → index-De_P6mNS.js} +1 -1
- package/packages/ui/dist/assets/index-DrQ9A8dp.js +1775 -0
- package/packages/ui/dist/assets/{index-izd7vu_r.js → index-Z55BVE94.js} +1 -1
- package/packages/ui/dist/assets/{index.es-DdkHhQAj.js → index.es-DnT9Uzwt.js} +4 -4
- package/packages/ui/dist/assets/{info-CiRd_kEG.js → info-DdYqiFMu.js} +1 -1
- package/packages/ui/dist/assets/{info-circle-ypxjqarK.js → info-circle-DkD9oY-S.js} +1 -1
- package/packages/ui/dist/assets/{lightbulb-B-pxLxd8.js → lightbulb-7Q3AhpSP.js} +1 -1
- package/packages/ui/dist/assets/{mail-BYmicuVZ.js → mail-CPagdnfp.js} +1 -1
- package/packages/ui/dist/assets/{metamask-sdk-Ccl6DG7Q.js → metamask-sdk-CQ4tzR6A.js} +1 -1
- package/packages/ui/dist/assets/{mobile-CtP5PqVT.js → mobile-01GVSpey.js} +1 -1
- package/packages/ui/dist/assets/{more-6C2733we.js → more-BPXPYrvy.js} +1 -1
- package/packages/ui/dist/assets/{network-placeholder-CdhxMzqd.js → network-placeholder-CII8WrTF.js} +1 -1
- package/packages/ui/dist/assets/{nftPlaceholder-DVmTWEAY.js → nftPlaceholder-DG5rjRzx.js} +1 -1
- package/packages/ui/dist/assets/{off-DNYLughs.js → off-eemo7R2q.js} +1 -1
- package/packages/ui/dist/assets/{parseSignature-Dq2B5Bu3.js → parseSignature-CaRSntRi.js} +1 -1
- package/packages/ui/dist/assets/{play-store-D7Qut5ta.js → play-store-SIqMwLur.js} +1 -1
- package/packages/ui/dist/assets/{plus-kqMyjt3q.js → plus-DemTM2Nx.js} +1 -1
- package/packages/ui/dist/assets/{qr-code-DiUCWRbz.js → qr-code-BjolKhQv.js} +1 -1
- package/packages/ui/dist/assets/{recycle-horizontal-Boe3XiS-.js → recycle-horizontal-BluxSqWj.js} +1 -1
- package/packages/ui/dist/assets/{refresh-CrBgBQYO.js → refresh-Cto5auO0.js} +1 -1
- package/packages/ui/dist/assets/{reown-logo-CFZCCHSx.js → reown-logo-lrWmaeNj.js} +1 -1
- package/packages/ui/dist/assets/{search-ChTDrghU.js → search-SNmrxLL7.js} +1 -1
- package/packages/ui/dist/assets/{secp256k1-DAV5Q_FR.js → secp256k1-SI0Bxirn.js} +1 -1
- package/packages/ui/dist/assets/{send-DLFbBFe1.js → send-Do8kdKTu.js} +1 -1
- package/packages/ui/dist/assets/{swapHorizontal-BEs3emfG.js → swapHorizontal-HBP1koQV.js} +1 -1
- package/packages/ui/dist/assets/{swapHorizontalBold-CC-Hfa7W.js → swapHorizontalBold-B9g1LqXn.js} +1 -1
- package/packages/ui/dist/assets/{swapHorizontalMedium-BmR0H8DC.js → swapHorizontalMedium-C8JebI_2.js} +1 -1
- package/packages/ui/dist/assets/{swapHorizontalRoundedBold-BdP5NGIH.js → swapHorizontalRoundedBold-37eEYoAp.js} +1 -1
- package/packages/ui/dist/assets/{swapVertical-CPrGEJPY.js → swapVertical-DmacpIGs.js} +1 -1
- package/packages/ui/dist/assets/{telegram-CxNoZ80Q.js → telegram-Dq_CUch4.js} +1 -1
- package/packages/ui/dist/assets/{three-dots-BRa6SBpL.js → three-dots-DbkqGUCU.js} +1 -1
- package/packages/ui/dist/assets/{twitch-BC338bG5.js → twitch-iG0Ncwwy.js} +1 -1
- package/packages/ui/dist/assets/{twitterIcon-BGZmt2i9.js → twitterIcon-CNbKQx87.js} +1 -1
- package/packages/ui/dist/assets/{verify-CEstW0zw.js → verify-BfXT7L3L.js} +1 -1
- package/packages/ui/dist/assets/{verify-filled-OkZb0weU.js → verify-filled-BxqxA6xc.js} +1 -1
- package/packages/ui/dist/assets/{w3m-modal-pS09ECwE.js → w3m-modal-DeDYqwYJ.js} +1 -1
- package/packages/ui/dist/assets/{wallet-BXVKCgC9.js → wallet-BXsUR9Tj.js} +1 -1
- package/packages/ui/dist/assets/{wallet-placeholder-C_kNhB1c.js → wallet-placeholder-bbWbfkZu.js} +1 -1
- package/packages/ui/dist/assets/{walletconnect-CRKIuUHH.js → walletconnect-WsTWE17z.js} +1 -1
- package/packages/ui/dist/assets/{warning-circle-DB2NnwlJ.js → warning-circle-cNSUigh6.js} +1 -1
- package/packages/ui/dist/assets/{x-DT4RmwL5.js → x-gNtNGE0N.js} +1 -1
- package/packages/ui/dist/index.html +14 -14
- package/scripts/check-docs.mjs +262 -262
- package/scripts/check-init.mjs +108 -108
- package/templates/custom-mandate/.sail/contracts/interfaces/IPermission.sol +18 -18
- package/templates/custom-mandate/README.md +116 -116
- package/templates/custom-mandate/foundry.toml +8 -8
- package/templates/custom-mandate/mandates/BoundedCallPermission.sol +41 -41
- package/templates/custom-mandate/mandates/README.md +16 -16
- package/templates/custom-mandate/mandates/SailCalldata.sol +118 -118
- package/templates/default/.cursor/rules +25 -25
- package/templates/default/.env.example +20 -20
- package/templates/default/.github/workflows/agent-tick.yml +33 -33
- package/templates/default/.sail/README.md +13 -13
- package/templates/default/.sail/config.json +10 -10
- package/templates/default/AGENTS.md +171 -171
- package/templates/default/CLAUDE.md +2 -2
- package/templates/default/README.md +16 -16
- package/templates/default/_gitignore +13 -13
- package/templates/default/docs/PERMISSION_MODEL.md +93 -93
- package/templates/default/examples/dca/README.md +16 -16
- package/templates/default/examples/dca/agent.ts +174 -174
- package/templates/default/examples/dca/mandate.ts +45 -45
- package/templates/default/package.json +17 -17
- package/templates/default/src/agent.ts +37 -37
- package/templates/default/src/config.ts +24 -24
- package/templates/default/src/mandate.ts +22 -22
- package/templates/default/tsconfig.json +17 -17
- package/templates/default/ui/README.md +3 -3
- package/templates/lifi-permissions/LifiBoundedApprovePermissionCloneable.sol +84 -84
- package/templates/lifi-permissions/LifiDiamondSwapPermissionCloneable.sol +97 -97
- package/templates/lifi-permissions/README.md +53 -53
- package/packages/ui/dist/assets/cursor-BDvw-B17.js +0 -3
- package/packages/ui/dist/assets/index-BUhrHLpY.js +0 -1775
- package/packages/ui/dist/assets/index-Cq02kQmy.css +0 -1
- package/scripts/postinstall.js +0 -81
|
@@ -26655,7 +26655,7 @@ var init_exports = __esm({
|
|
|
26655
26655
|
}
|
|
26656
26656
|
});
|
|
26657
26657
|
|
|
26658
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
26658
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/abi/formatAbiItem.js
|
|
26659
26659
|
function formatAbiItem2(abiItem, { includeName = false } = {}) {
|
|
26660
26660
|
if (abiItem.type !== "function" && abiItem.type !== "event" && abiItem.type !== "error")
|
|
26661
26661
|
throw new InvalidDefinitionTypeError(abiItem.type);
|
|
@@ -26673,12 +26673,12 @@ function formatAbiParam(param, { includeName }) {
|
|
|
26673
26673
|
return param.type + (includeName && param.name ? ` ${param.name}` : "");
|
|
26674
26674
|
}
|
|
26675
26675
|
var init_formatAbiItem2 = __esm({
|
|
26676
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
26676
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/abi/formatAbiItem.js"() {
|
|
26677
26677
|
init_abi();
|
|
26678
26678
|
}
|
|
26679
26679
|
});
|
|
26680
26680
|
|
|
26681
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
26681
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/data/isHex.js
|
|
26682
26682
|
function isHex(value, { strict = true } = {}) {
|
|
26683
26683
|
if (!value)
|
|
26684
26684
|
return false;
|
|
@@ -26687,31 +26687,31 @@ function isHex(value, { strict = true } = {}) {
|
|
|
26687
26687
|
return strict ? /^0x[0-9a-fA-F]*$/.test(value) : value.startsWith("0x");
|
|
26688
26688
|
}
|
|
26689
26689
|
var init_isHex = __esm({
|
|
26690
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
26690
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/data/isHex.js"() {
|
|
26691
26691
|
}
|
|
26692
26692
|
});
|
|
26693
26693
|
|
|
26694
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
26694
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/data/size.js
|
|
26695
26695
|
function size(value) {
|
|
26696
26696
|
if (isHex(value, { strict: false }))
|
|
26697
26697
|
return Math.ceil((value.length - 2) / 2);
|
|
26698
26698
|
return value.length;
|
|
26699
26699
|
}
|
|
26700
26700
|
var init_size = __esm({
|
|
26701
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
26701
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/data/size.js"() {
|
|
26702
26702
|
init_isHex();
|
|
26703
26703
|
}
|
|
26704
26704
|
});
|
|
26705
26705
|
|
|
26706
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
26706
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/errors/version.js
|
|
26707
26707
|
var version;
|
|
26708
26708
|
var init_version = __esm({
|
|
26709
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
26709
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/errors/version.js"() {
|
|
26710
26710
|
version = "2.51.3";
|
|
26711
26711
|
}
|
|
26712
26712
|
});
|
|
26713
26713
|
|
|
26714
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
26714
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/errors/base.js
|
|
26715
26715
|
function walk(err, fn) {
|
|
26716
26716
|
if (fn?.(err))
|
|
26717
26717
|
return err;
|
|
@@ -26721,7 +26721,7 @@ function walk(err, fn) {
|
|
|
26721
26721
|
}
|
|
26722
26722
|
var errorConfig, BaseError;
|
|
26723
26723
|
var init_base = __esm({
|
|
26724
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
26724
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/errors/base.js"() {
|
|
26725
26725
|
init_version();
|
|
26726
26726
|
errorConfig = {
|
|
26727
26727
|
getDocsUrl: ({ docsBaseUrl, docsPath: docsPath9 = "", docsSlug }) => docsPath9 ? `${docsBaseUrl ?? "https://viem.sh"}${docsPath9}${docsSlug ? `#${docsSlug}` : ""}` : void 0,
|
|
@@ -26801,10 +26801,10 @@ var init_base = __esm({
|
|
|
26801
26801
|
}
|
|
26802
26802
|
});
|
|
26803
26803
|
|
|
26804
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
26804
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/errors/abi.js
|
|
26805
26805
|
var AbiEncodingArrayLengthMismatchError, AbiEncodingBytesSizeMismatchError, AbiEncodingLengthMismatchError, AbiFunctionNotFoundError, AbiItemAmbiguityError, BytesSizeMismatchError, InvalidAbiEncodingTypeError, InvalidArrayError, InvalidDefinitionTypeError;
|
|
26806
26806
|
var init_abi = __esm({
|
|
26807
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
26807
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/errors/abi.js"() {
|
|
26808
26808
|
init_formatAbiItem2();
|
|
26809
26809
|
init_size();
|
|
26810
26810
|
init_base();
|
|
@@ -26889,10 +26889,10 @@ var init_abi = __esm({
|
|
|
26889
26889
|
}
|
|
26890
26890
|
});
|
|
26891
26891
|
|
|
26892
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
26892
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/errors/data.js
|
|
26893
26893
|
var SliceOffsetOutOfBoundsError, SizeExceedsPaddingSizeError;
|
|
26894
26894
|
var init_data = __esm({
|
|
26895
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
26895
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/errors/data.js"() {
|
|
26896
26896
|
init_base();
|
|
26897
26897
|
SliceOffsetOutOfBoundsError = class extends BaseError {
|
|
26898
26898
|
constructor({ offset, position, size: size6 }) {
|
|
@@ -26907,7 +26907,7 @@ var init_data = __esm({
|
|
|
26907
26907
|
}
|
|
26908
26908
|
});
|
|
26909
26909
|
|
|
26910
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
26910
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/data/pad.js
|
|
26911
26911
|
function pad(hexOrBytes, { dir, size: size6 = 32 } = {}) {
|
|
26912
26912
|
if (typeof hexOrBytes === "string")
|
|
26913
26913
|
return padHex(hexOrBytes, { dir, size: size6 });
|
|
@@ -26942,15 +26942,15 @@ function padBytes(bytes, { dir, size: size6 = 32 } = {}) {
|
|
|
26942
26942
|
return paddedBytes;
|
|
26943
26943
|
}
|
|
26944
26944
|
var init_pad = __esm({
|
|
26945
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
26945
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/data/pad.js"() {
|
|
26946
26946
|
init_data();
|
|
26947
26947
|
}
|
|
26948
26948
|
});
|
|
26949
26949
|
|
|
26950
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
26950
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/errors/encoding.js
|
|
26951
26951
|
var IntegerOutOfRangeError, SizeOverflowError;
|
|
26952
26952
|
var init_encoding = __esm({
|
|
26953
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
26953
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/errors/encoding.js"() {
|
|
26954
26954
|
init_base();
|
|
26955
26955
|
IntegerOutOfRangeError = class extends BaseError {
|
|
26956
26956
|
constructor({ max, min, signed, size: size6, value }) {
|
|
@@ -26965,7 +26965,7 @@ var init_encoding = __esm({
|
|
|
26965
26965
|
}
|
|
26966
26966
|
});
|
|
26967
26967
|
|
|
26968
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
26968
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/data/trim.js
|
|
26969
26969
|
function trim(hexOrBytes, { dir = "left" } = {}) {
|
|
26970
26970
|
let data = typeof hexOrBytes === "string" ? hexOrBytes.replace("0x", "") : hexOrBytes;
|
|
26971
26971
|
let sliceLength = 0;
|
|
@@ -26984,11 +26984,11 @@ function trim(hexOrBytes, { dir = "left" } = {}) {
|
|
|
26984
26984
|
return data;
|
|
26985
26985
|
}
|
|
26986
26986
|
var init_trim = __esm({
|
|
26987
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
26987
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/data/trim.js"() {
|
|
26988
26988
|
}
|
|
26989
26989
|
});
|
|
26990
26990
|
|
|
26991
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
26991
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/encoding/fromHex.js
|
|
26992
26992
|
function assertSize(hexOrBytes, { size: size6 }) {
|
|
26993
26993
|
if (size(hexOrBytes) > size6)
|
|
26994
26994
|
throw new SizeOverflowError({
|
|
@@ -27023,13 +27023,13 @@ function hexToNumber(hex, opts = {}) {
|
|
|
27023
27023
|
return number;
|
|
27024
27024
|
}
|
|
27025
27025
|
var init_fromHex = __esm({
|
|
27026
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
27026
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/encoding/fromHex.js"() {
|
|
27027
27027
|
init_encoding();
|
|
27028
27028
|
init_size();
|
|
27029
27029
|
}
|
|
27030
27030
|
});
|
|
27031
27031
|
|
|
27032
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
27032
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/encoding/toHex.js
|
|
27033
27033
|
function toHex(value, opts = {}) {
|
|
27034
27034
|
if (typeof value === "number" || typeof value === "bigint")
|
|
27035
27035
|
return numberToHex(value, opts);
|
|
@@ -27094,7 +27094,7 @@ function stringToHex(value_, opts = {}) {
|
|
|
27094
27094
|
}
|
|
27095
27095
|
var hexes, encoder;
|
|
27096
27096
|
var init_toHex = __esm({
|
|
27097
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
27097
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/encoding/toHex.js"() {
|
|
27098
27098
|
init_encoding();
|
|
27099
27099
|
init_pad();
|
|
27100
27100
|
init_fromHex();
|
|
@@ -27103,7 +27103,7 @@ var init_toHex = __esm({
|
|
|
27103
27103
|
}
|
|
27104
27104
|
});
|
|
27105
27105
|
|
|
27106
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
27106
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/encoding/toBytes.js
|
|
27107
27107
|
function toBytes(value, opts = {}) {
|
|
27108
27108
|
if (typeof value === "number" || typeof value === "bigint")
|
|
27109
27109
|
return numberToBytes(value, opts);
|
|
@@ -27166,7 +27166,7 @@ function stringToBytes(value, opts = {}) {
|
|
|
27166
27166
|
}
|
|
27167
27167
|
var encoder2, charCodeMap;
|
|
27168
27168
|
var init_toBytes = __esm({
|
|
27169
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
27169
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/encoding/toBytes.js"() {
|
|
27170
27170
|
init_base();
|
|
27171
27171
|
init_isHex();
|
|
27172
27172
|
init_pad();
|
|
@@ -27596,7 +27596,7 @@ var init_sha3 = __esm({
|
|
|
27596
27596
|
}
|
|
27597
27597
|
});
|
|
27598
27598
|
|
|
27599
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
27599
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/hash/keccak256.js
|
|
27600
27600
|
function keccak256(value, to_) {
|
|
27601
27601
|
const to = to_ || "hex";
|
|
27602
27602
|
const bytes = keccak_256(isHex(value, { strict: false }) ? toBytes(value) : value);
|
|
@@ -27605,7 +27605,7 @@ function keccak256(value, to_) {
|
|
|
27605
27605
|
return toHex(bytes);
|
|
27606
27606
|
}
|
|
27607
27607
|
var init_keccak256 = __esm({
|
|
27608
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
27608
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/hash/keccak256.js"() {
|
|
27609
27609
|
init_sha3();
|
|
27610
27610
|
init_isHex();
|
|
27611
27611
|
init_toBytes();
|
|
@@ -27613,20 +27613,20 @@ var init_keccak256 = __esm({
|
|
|
27613
27613
|
}
|
|
27614
27614
|
});
|
|
27615
27615
|
|
|
27616
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
27616
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/hash/hashSignature.js
|
|
27617
27617
|
function hashSignature(sig) {
|
|
27618
27618
|
return hash(sig);
|
|
27619
27619
|
}
|
|
27620
27620
|
var hash;
|
|
27621
27621
|
var init_hashSignature = __esm({
|
|
27622
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
27622
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/hash/hashSignature.js"() {
|
|
27623
27623
|
init_toBytes();
|
|
27624
27624
|
init_keccak256();
|
|
27625
27625
|
hash = (value) => keccak256(toBytes(value));
|
|
27626
27626
|
}
|
|
27627
27627
|
});
|
|
27628
27628
|
|
|
27629
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
27629
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/hash/normalizeSignature.js
|
|
27630
27630
|
function normalizeSignature(signature) {
|
|
27631
27631
|
let active = true;
|
|
27632
27632
|
let current = "";
|
|
@@ -27670,15 +27670,15 @@ function normalizeSignature(signature) {
|
|
|
27670
27670
|
return result;
|
|
27671
27671
|
}
|
|
27672
27672
|
var init_normalizeSignature = __esm({
|
|
27673
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
27673
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/hash/normalizeSignature.js"() {
|
|
27674
27674
|
init_base();
|
|
27675
27675
|
}
|
|
27676
27676
|
});
|
|
27677
27677
|
|
|
27678
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
27678
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/hash/toSignature.js
|
|
27679
27679
|
var toSignature;
|
|
27680
27680
|
var init_toSignature = __esm({
|
|
27681
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
27681
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/hash/toSignature.js"() {
|
|
27682
27682
|
init_exports();
|
|
27683
27683
|
init_normalizeSignature();
|
|
27684
27684
|
toSignature = (def) => {
|
|
@@ -27692,30 +27692,30 @@ var init_toSignature = __esm({
|
|
|
27692
27692
|
}
|
|
27693
27693
|
});
|
|
27694
27694
|
|
|
27695
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
27695
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/hash/toSignatureHash.js
|
|
27696
27696
|
function toSignatureHash(fn) {
|
|
27697
27697
|
return hashSignature(toSignature(fn));
|
|
27698
27698
|
}
|
|
27699
27699
|
var init_toSignatureHash = __esm({
|
|
27700
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
27700
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/hash/toSignatureHash.js"() {
|
|
27701
27701
|
init_hashSignature();
|
|
27702
27702
|
init_toSignature();
|
|
27703
27703
|
}
|
|
27704
27704
|
});
|
|
27705
27705
|
|
|
27706
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
27706
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/hash/toEventSelector.js
|
|
27707
27707
|
var toEventSelector;
|
|
27708
27708
|
var init_toEventSelector = __esm({
|
|
27709
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
27709
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/hash/toEventSelector.js"() {
|
|
27710
27710
|
init_toSignatureHash();
|
|
27711
27711
|
toEventSelector = toSignatureHash;
|
|
27712
27712
|
}
|
|
27713
27713
|
});
|
|
27714
27714
|
|
|
27715
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
27715
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/errors/address.js
|
|
27716
27716
|
var InvalidAddressError;
|
|
27717
27717
|
var init_address = __esm({
|
|
27718
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
27718
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/errors/address.js"() {
|
|
27719
27719
|
init_base();
|
|
27720
27720
|
InvalidAddressError = class extends BaseError {
|
|
27721
27721
|
constructor({ address }) {
|
|
@@ -27731,10 +27731,10 @@ var init_address = __esm({
|
|
|
27731
27731
|
}
|
|
27732
27732
|
});
|
|
27733
27733
|
|
|
27734
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
27734
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/lru.js
|
|
27735
27735
|
var LruMap;
|
|
27736
27736
|
var init_lru = __esm({
|
|
27737
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
27737
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/lru.js"() {
|
|
27738
27738
|
LruMap = class extends Map {
|
|
27739
27739
|
constructor(size6) {
|
|
27740
27740
|
super();
|
|
@@ -27769,7 +27769,7 @@ var init_lru = __esm({
|
|
|
27769
27769
|
}
|
|
27770
27770
|
});
|
|
27771
27771
|
|
|
27772
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
27772
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/address/getAddress.js
|
|
27773
27773
|
function checksumAddress(address_, chainId) {
|
|
27774
27774
|
if (checksumAddressCache.has(`${address_}.${chainId}`))
|
|
27775
27775
|
return checksumAddressCache.get(`${address_}.${chainId}`);
|
|
@@ -27790,7 +27790,7 @@ function checksumAddress(address_, chainId) {
|
|
|
27790
27790
|
}
|
|
27791
27791
|
var checksumAddressCache;
|
|
27792
27792
|
var init_getAddress = __esm({
|
|
27793
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
27793
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/address/getAddress.js"() {
|
|
27794
27794
|
init_toBytes();
|
|
27795
27795
|
init_keccak256();
|
|
27796
27796
|
init_lru();
|
|
@@ -27798,7 +27798,7 @@ var init_getAddress = __esm({
|
|
|
27798
27798
|
}
|
|
27799
27799
|
});
|
|
27800
27800
|
|
|
27801
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
27801
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/address/isAddress.js
|
|
27802
27802
|
function isAddress(address, options) {
|
|
27803
27803
|
const { strict = true } = options ?? {};
|
|
27804
27804
|
const cacheKey2 = `${address}.${strict}`;
|
|
@@ -27818,7 +27818,7 @@ function isAddress(address, options) {
|
|
|
27818
27818
|
}
|
|
27819
27819
|
var addressRegex, isAddressCache;
|
|
27820
27820
|
var init_isAddress = __esm({
|
|
27821
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
27821
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/address/isAddress.js"() {
|
|
27822
27822
|
init_lru();
|
|
27823
27823
|
init_getAddress();
|
|
27824
27824
|
addressRegex = /^0x[a-fA-F0-9]{40}$/;
|
|
@@ -27826,7 +27826,7 @@ var init_isAddress = __esm({
|
|
|
27826
27826
|
}
|
|
27827
27827
|
});
|
|
27828
27828
|
|
|
27829
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
27829
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/data/concat.js
|
|
27830
27830
|
function concat(values) {
|
|
27831
27831
|
if (typeof values[0] === "string")
|
|
27832
27832
|
return concatHex(values);
|
|
@@ -27849,11 +27849,11 @@ function concatHex(values) {
|
|
|
27849
27849
|
return `0x${values.reduce((acc, x) => acc + x.replace("0x", ""), "")}`;
|
|
27850
27850
|
}
|
|
27851
27851
|
var init_concat = __esm({
|
|
27852
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
27852
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/data/concat.js"() {
|
|
27853
27853
|
}
|
|
27854
27854
|
});
|
|
27855
27855
|
|
|
27856
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
27856
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/data/slice.js
|
|
27857
27857
|
function slice(value, start, end, { strict } = {}) {
|
|
27858
27858
|
if (isHex(value, { strict: false }))
|
|
27859
27859
|
return sliceHex(value, start, end, {
|
|
@@ -27895,23 +27895,23 @@ function sliceHex(value_, start, end, { strict } = {}) {
|
|
|
27895
27895
|
return value;
|
|
27896
27896
|
}
|
|
27897
27897
|
var init_slice = __esm({
|
|
27898
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
27898
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/data/slice.js"() {
|
|
27899
27899
|
init_data();
|
|
27900
27900
|
init_isHex();
|
|
27901
27901
|
init_size();
|
|
27902
27902
|
}
|
|
27903
27903
|
});
|
|
27904
27904
|
|
|
27905
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
27905
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/regex.js
|
|
27906
27906
|
var bytesRegex, integerRegex;
|
|
27907
27907
|
var init_regex2 = __esm({
|
|
27908
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
27908
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/regex.js"() {
|
|
27909
27909
|
bytesRegex = /^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/;
|
|
27910
27910
|
integerRegex = /^(u?int)(8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?$/;
|
|
27911
27911
|
}
|
|
27912
27912
|
});
|
|
27913
27913
|
|
|
27914
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
27914
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/abi/encodeAbiParameters.js
|
|
27915
27915
|
function encodeAbiParameters(params, values) {
|
|
27916
27916
|
if (params.length !== values.length)
|
|
27917
27917
|
throw new AbiEncodingLengthMismatchError({
|
|
@@ -28125,7 +28125,7 @@ function getArrayComponents(type) {
|
|
|
28125
28125
|
) : void 0;
|
|
28126
28126
|
}
|
|
28127
28127
|
var init_encodeAbiParameters = __esm({
|
|
28128
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
28128
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/abi/encodeAbiParameters.js"() {
|
|
28129
28129
|
init_abi();
|
|
28130
28130
|
init_address();
|
|
28131
28131
|
init_base();
|
|
@@ -28140,17 +28140,17 @@ var init_encodeAbiParameters = __esm({
|
|
|
28140
28140
|
}
|
|
28141
28141
|
});
|
|
28142
28142
|
|
|
28143
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
28143
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/hash/toFunctionSelector.js
|
|
28144
28144
|
var toFunctionSelector;
|
|
28145
28145
|
var init_toFunctionSelector = __esm({
|
|
28146
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
28146
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/hash/toFunctionSelector.js"() {
|
|
28147
28147
|
init_slice();
|
|
28148
28148
|
init_toSignatureHash();
|
|
28149
28149
|
toFunctionSelector = (fn) => slice(toSignatureHash(fn), 0, 4);
|
|
28150
28150
|
}
|
|
28151
28151
|
});
|
|
28152
28152
|
|
|
28153
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
28153
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/abi/getAbiItem.js
|
|
28154
28154
|
function getAbiItem(parameters) {
|
|
28155
28155
|
const { abi: abi2, args = [], name } = parameters;
|
|
28156
28156
|
const isSelector = isHex(name, { strict: false });
|
|
@@ -28262,7 +28262,7 @@ function getAmbiguousTypes(sourceParameters, targetParameters, args) {
|
|
|
28262
28262
|
return;
|
|
28263
28263
|
}
|
|
28264
28264
|
var init_getAbiItem = __esm({
|
|
28265
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
28265
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/abi/getAbiItem.js"() {
|
|
28266
28266
|
init_abi();
|
|
28267
28267
|
init_isHex();
|
|
28268
28268
|
init_isAddress();
|
|
@@ -28271,7 +28271,7 @@ var init_getAbiItem = __esm({
|
|
|
28271
28271
|
}
|
|
28272
28272
|
});
|
|
28273
28273
|
|
|
28274
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
28274
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/abi/prepareEncodeFunctionData.js
|
|
28275
28275
|
function prepareEncodeFunctionData(parameters) {
|
|
28276
28276
|
const { abi: abi2, args, functionName } = parameters;
|
|
28277
28277
|
let abiItem = abi2[0];
|
|
@@ -28294,7 +28294,7 @@ function prepareEncodeFunctionData(parameters) {
|
|
|
28294
28294
|
}
|
|
28295
28295
|
var docsPath;
|
|
28296
28296
|
var init_prepareEncodeFunctionData = __esm({
|
|
28297
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
28297
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/abi/prepareEncodeFunctionData.js"() {
|
|
28298
28298
|
init_abi();
|
|
28299
28299
|
init_toFunctionSelector();
|
|
28300
28300
|
init_formatAbiItem2();
|
|
@@ -28303,7 +28303,7 @@ var init_prepareEncodeFunctionData = __esm({
|
|
|
28303
28303
|
}
|
|
28304
28304
|
});
|
|
28305
28305
|
|
|
28306
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
28306
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/abi/encodeFunctionData.js
|
|
28307
28307
|
function encodeFunctionData(parameters) {
|
|
28308
28308
|
const { args } = parameters;
|
|
28309
28309
|
const { abi: abi2, functionName } = (() => {
|
|
@@ -28317,17 +28317,17 @@ function encodeFunctionData(parameters) {
|
|
|
28317
28317
|
return concatHex([signature, data ?? "0x"]);
|
|
28318
28318
|
}
|
|
28319
28319
|
var init_encodeFunctionData = __esm({
|
|
28320
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
28320
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/abi/encodeFunctionData.js"() {
|
|
28321
28321
|
init_concat();
|
|
28322
28322
|
init_encodeAbiParameters();
|
|
28323
28323
|
init_prepareEncodeFunctionData();
|
|
28324
28324
|
}
|
|
28325
28325
|
});
|
|
28326
28326
|
|
|
28327
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
28327
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/errors/cursor.js
|
|
28328
28328
|
var NegativeOffsetError, PositionOutOfBoundsError, RecursiveReadLimitExceededError;
|
|
28329
28329
|
var init_cursor = __esm({
|
|
28330
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
28330
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/errors/cursor.js"() {
|
|
28331
28331
|
init_base();
|
|
28332
28332
|
NegativeOffsetError = class extends BaseError {
|
|
28333
28333
|
constructor({ offset }) {
|
|
@@ -28349,7 +28349,7 @@ var init_cursor = __esm({
|
|
|
28349
28349
|
}
|
|
28350
28350
|
});
|
|
28351
28351
|
|
|
28352
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
28352
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/cursor.js
|
|
28353
28353
|
function createCursor(bytes, { recursiveReadLimit = 8192 } = {}) {
|
|
28354
28354
|
const cursor = Object.create(staticCursor);
|
|
28355
28355
|
cursor.bytes = bytes;
|
|
@@ -28360,7 +28360,7 @@ function createCursor(bytes, { recursiveReadLimit = 8192 } = {}) {
|
|
|
28360
28360
|
}
|
|
28361
28361
|
var staticCursor;
|
|
28362
28362
|
var init_cursor2 = __esm({
|
|
28363
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
28363
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/cursor.js"() {
|
|
28364
28364
|
init_cursor();
|
|
28365
28365
|
staticCursor = {
|
|
28366
28366
|
bytes: new Uint8Array(),
|
|
@@ -28524,10 +28524,10 @@ var init_cursor2 = __esm({
|
|
|
28524
28524
|
}
|
|
28525
28525
|
});
|
|
28526
28526
|
|
|
28527
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
28527
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/stringify.js
|
|
28528
28528
|
var stringify;
|
|
28529
28529
|
var init_stringify = __esm({
|
|
28530
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
28530
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/stringify.js"() {
|
|
28531
28531
|
stringify = (value, replacer, space) => JSON.stringify(value, (key, value_) => {
|
|
28532
28532
|
const value2 = typeof value_ === "bigint" ? value_.toString() : value_;
|
|
28533
28533
|
return typeof replacer === "function" ? replacer(key, value2) : value2;
|
|
@@ -28535,10 +28535,10 @@ var init_stringify = __esm({
|
|
|
28535
28535
|
}
|
|
28536
28536
|
});
|
|
28537
28537
|
|
|
28538
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
28538
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/constants/unit.js
|
|
28539
28539
|
var gweiUnits;
|
|
28540
28540
|
var init_unit = __esm({
|
|
28541
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
28541
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/constants/unit.js"() {
|
|
28542
28542
|
gweiUnits = {
|
|
28543
28543
|
ether: -9,
|
|
28544
28544
|
wei: 9
|
|
@@ -28546,7 +28546,7 @@ var init_unit = __esm({
|
|
|
28546
28546
|
}
|
|
28547
28547
|
});
|
|
28548
28548
|
|
|
28549
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
28549
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/unit/formatUnits.js
|
|
28550
28550
|
function formatUnits(value, decimals) {
|
|
28551
28551
|
let display = value.toString();
|
|
28552
28552
|
const negative = display.startsWith("-");
|
|
@@ -28561,22 +28561,22 @@ function formatUnits(value, decimals) {
|
|
|
28561
28561
|
return `${negative ? "-" : ""}${integer || "0"}${fraction ? `.${fraction}` : ""}`;
|
|
28562
28562
|
}
|
|
28563
28563
|
var init_formatUnits = __esm({
|
|
28564
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
28564
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/unit/formatUnits.js"() {
|
|
28565
28565
|
}
|
|
28566
28566
|
});
|
|
28567
28567
|
|
|
28568
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
28568
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/unit/formatGwei.js
|
|
28569
28569
|
function formatGwei(wei, unit = "wei") {
|
|
28570
28570
|
return formatUnits(wei, gweiUnits[unit]);
|
|
28571
28571
|
}
|
|
28572
28572
|
var init_formatGwei = __esm({
|
|
28573
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
28573
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/unit/formatGwei.js"() {
|
|
28574
28574
|
init_unit();
|
|
28575
28575
|
init_formatUnits();
|
|
28576
28576
|
}
|
|
28577
28577
|
});
|
|
28578
28578
|
|
|
28579
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
28579
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/errors/transaction.js
|
|
28580
28580
|
function prettyPrint(args) {
|
|
28581
28581
|
const entries = Object.entries(args).map(([key, value]) => {
|
|
28582
28582
|
if (value === void 0 || value === false)
|
|
@@ -28588,7 +28588,7 @@ function prettyPrint(args) {
|
|
|
28588
28588
|
}
|
|
28589
28589
|
var InvalidLegacyVError, InvalidSerializableTransactionError, InvalidStorageKeySizeError;
|
|
28590
28590
|
var init_transaction = __esm({
|
|
28591
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
28591
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/errors/transaction.js"() {
|
|
28592
28592
|
init_base();
|
|
28593
28593
|
InvalidLegacyVError = class extends BaseError {
|
|
28594
28594
|
constructor({ v }) {
|
|
@@ -28626,19 +28626,19 @@ var init_transaction = __esm({
|
|
|
28626
28626
|
}
|
|
28627
28627
|
});
|
|
28628
28628
|
|
|
28629
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
28629
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/accounts/utils/publicKeyToAddress.js
|
|
28630
28630
|
function publicKeyToAddress(publicKey) {
|
|
28631
28631
|
const address = keccak256(`0x${publicKey.substring(4)}`).substring(26);
|
|
28632
28632
|
return checksumAddress(`0x${address}`);
|
|
28633
28633
|
}
|
|
28634
28634
|
var init_publicKeyToAddress = __esm({
|
|
28635
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
28635
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/accounts/utils/publicKeyToAddress.js"() {
|
|
28636
28636
|
init_getAddress();
|
|
28637
28637
|
init_keccak256();
|
|
28638
28638
|
}
|
|
28639
28639
|
});
|
|
28640
28640
|
|
|
28641
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
28641
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/encoding/toRlp.js
|
|
28642
28642
|
function toRlp(bytes, to = "hex") {
|
|
28643
28643
|
const encodable = getEncodable(bytes);
|
|
28644
28644
|
const cursor = createCursor(new Uint8Array(encodable.length));
|
|
@@ -28727,7 +28727,7 @@ function getSizeOfLength(length) {
|
|
|
28727
28727
|
throw new BaseError("Length is too large.");
|
|
28728
28728
|
}
|
|
28729
28729
|
var init_toRlp = __esm({
|
|
28730
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
28730
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/encoding/toRlp.js"() {
|
|
28731
28731
|
init_base();
|
|
28732
28732
|
init_cursor2();
|
|
28733
28733
|
init_toBytes();
|
|
@@ -28735,7 +28735,7 @@ var init_toRlp = __esm({
|
|
|
28735
28735
|
}
|
|
28736
28736
|
});
|
|
28737
28737
|
|
|
28738
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
28738
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/authorization/hashAuthorization.js
|
|
28739
28739
|
function hashAuthorization(parameters) {
|
|
28740
28740
|
const { chainId, nonce, to } = parameters;
|
|
28741
28741
|
const address = parameters.contractAddress ?? parameters.address;
|
|
@@ -28752,7 +28752,7 @@ function hashAuthorization(parameters) {
|
|
|
28752
28752
|
return hash4;
|
|
28753
28753
|
}
|
|
28754
28754
|
var init_hashAuthorization = __esm({
|
|
28755
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
28755
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/authorization/hashAuthorization.js"() {
|
|
28756
28756
|
init_concat();
|
|
28757
28757
|
init_toBytes();
|
|
28758
28758
|
init_toHex();
|
|
@@ -28761,10 +28761,10 @@ var init_hashAuthorization = __esm({
|
|
|
28761
28761
|
}
|
|
28762
28762
|
});
|
|
28763
28763
|
|
|
28764
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
28764
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/errors/node.js
|
|
28765
28765
|
var ExecutionRevertedError, FeeCapTooHighError, FeeCapTooLowError, NonceTooHighError, NonceTooLowError, NonceMaxValueError, InsufficientFundsError, IntrinsicGasTooHighError, IntrinsicGasTooLowError, TransactionTypeNotSupportedError, TipAboveFeeCapError;
|
|
28766
28766
|
var init_node = __esm({
|
|
28767
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
28767
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/errors/node.js"() {
|
|
28768
28768
|
init_formatGwei();
|
|
28769
28769
|
init_base();
|
|
28770
28770
|
ExecutionRevertedError = class extends BaseError {
|
|
@@ -28939,10 +28939,10 @@ var init_node = __esm({
|
|
|
28939
28939
|
}
|
|
28940
28940
|
});
|
|
28941
28941
|
|
|
28942
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
28942
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/constants/number.js
|
|
28943
28943
|
var maxInt8, maxInt16, maxInt24, maxInt32, maxInt40, maxInt48, maxInt56, maxInt64, maxInt72, maxInt80, maxInt88, maxInt96, maxInt104, maxInt112, maxInt120, maxInt128, maxInt136, maxInt144, maxInt152, maxInt160, maxInt168, maxInt176, maxInt184, maxInt192, maxInt200, maxInt208, maxInt216, maxInt224, maxInt232, maxInt240, maxInt248, maxInt256, minInt8, minInt16, minInt24, minInt32, minInt40, minInt48, minInt56, minInt64, minInt72, minInt80, minInt88, minInt96, minInt104, minInt112, minInt120, minInt128, minInt136, minInt144, minInt152, minInt160, minInt168, minInt176, minInt184, minInt192, minInt200, minInt208, minInt216, minInt224, minInt232, minInt240, minInt248, minInt256, maxUint8, maxUint16, maxUint24, maxUint32, maxUint40, maxUint48, maxUint56, maxUint64, maxUint72, maxUint80, maxUint88, maxUint96, maxUint104, maxUint112, maxUint120, maxUint128, maxUint136, maxUint144, maxUint152, maxUint160, maxUint168, maxUint176, maxUint184, maxUint192, maxUint200, maxUint208, maxUint216, maxUint224, maxUint232, maxUint240, maxUint248, maxUint256;
|
|
28944
28944
|
var init_number = __esm({
|
|
28945
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
28945
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/constants/number.js"() {
|
|
28946
28946
|
maxInt8 = 2n ** (8n - 1n) - 1n;
|
|
28947
28947
|
maxInt16 = 2n ** (16n - 1n) - 1n;
|
|
28948
28948
|
maxInt24 = 2n ** (24n - 1n) - 1n;
|
|
@@ -29042,7 +29042,7 @@ var init_number = __esm({
|
|
|
29042
29042
|
}
|
|
29043
29043
|
});
|
|
29044
29044
|
|
|
29045
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
29045
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/blob/blobsToCommitments.js
|
|
29046
29046
|
function blobsToCommitments(parameters) {
|
|
29047
29047
|
const { kzg } = parameters;
|
|
29048
29048
|
const to = parameters.to ?? (typeof parameters.blobs[0] === "string" ? "hex" : "bytes");
|
|
@@ -29053,13 +29053,13 @@ function blobsToCommitments(parameters) {
|
|
|
29053
29053
|
return to === "bytes" ? commitments : commitments.map((x) => bytesToHex(x));
|
|
29054
29054
|
}
|
|
29055
29055
|
var init_blobsToCommitments = __esm({
|
|
29056
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
29056
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/blob/blobsToCommitments.js"() {
|
|
29057
29057
|
init_toBytes();
|
|
29058
29058
|
init_toHex();
|
|
29059
29059
|
}
|
|
29060
29060
|
});
|
|
29061
29061
|
|
|
29062
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
29062
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/blob/blobsToProofs.js
|
|
29063
29063
|
function blobsToProofs(parameters) {
|
|
29064
29064
|
const { kzg } = parameters;
|
|
29065
29065
|
const to = parameters.to ?? (typeof parameters.blobs[0] === "string" ? "hex" : "bytes");
|
|
@@ -29074,7 +29074,7 @@ function blobsToProofs(parameters) {
|
|
|
29074
29074
|
return to === "bytes" ? proofs : proofs.map((x) => bytesToHex(x));
|
|
29075
29075
|
}
|
|
29076
29076
|
var init_blobsToProofs = __esm({
|
|
29077
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
29077
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/blob/blobsToProofs.js"() {
|
|
29078
29078
|
init_toBytes();
|
|
29079
29079
|
init_toHex();
|
|
29080
29080
|
}
|
|
@@ -29579,7 +29579,7 @@ var init_sha256 = __esm({
|
|
|
29579
29579
|
}
|
|
29580
29580
|
});
|
|
29581
29581
|
|
|
29582
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
29582
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/hash/sha256.js
|
|
29583
29583
|
function sha2563(value, to_) {
|
|
29584
29584
|
const to = to_ || "hex";
|
|
29585
29585
|
const bytes = sha2562(isHex(value, { strict: false }) ? toBytes(value) : value);
|
|
@@ -29588,7 +29588,7 @@ function sha2563(value, to_) {
|
|
|
29588
29588
|
return toHex(bytes);
|
|
29589
29589
|
}
|
|
29590
29590
|
var init_sha2562 = __esm({
|
|
29591
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
29591
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/hash/sha256.js"() {
|
|
29592
29592
|
init_sha256();
|
|
29593
29593
|
init_isHex();
|
|
29594
29594
|
init_toBytes();
|
|
@@ -29596,7 +29596,7 @@ var init_sha2562 = __esm({
|
|
|
29596
29596
|
}
|
|
29597
29597
|
});
|
|
29598
29598
|
|
|
29599
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
29599
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/blob/commitmentToVersionedHash.js
|
|
29600
29600
|
function commitmentToVersionedHash(parameters) {
|
|
29601
29601
|
const { commitment, version: version5 = 1 } = parameters;
|
|
29602
29602
|
const to = parameters.to ?? (typeof commitment === "string" ? "hex" : "bytes");
|
|
@@ -29605,13 +29605,13 @@ function commitmentToVersionedHash(parameters) {
|
|
|
29605
29605
|
return to === "bytes" ? versionedHash : bytesToHex(versionedHash);
|
|
29606
29606
|
}
|
|
29607
29607
|
var init_commitmentToVersionedHash = __esm({
|
|
29608
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
29608
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/blob/commitmentToVersionedHash.js"() {
|
|
29609
29609
|
init_toHex();
|
|
29610
29610
|
init_sha2562();
|
|
29611
29611
|
}
|
|
29612
29612
|
});
|
|
29613
29613
|
|
|
29614
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
29614
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/blob/commitmentsToVersionedHashes.js
|
|
29615
29615
|
function commitmentsToVersionedHashes(parameters) {
|
|
29616
29616
|
const { commitments, version: version5 } = parameters;
|
|
29617
29617
|
const to = parameters.to ?? (typeof commitments[0] === "string" ? "hex" : "bytes");
|
|
@@ -29626,15 +29626,15 @@ function commitmentsToVersionedHashes(parameters) {
|
|
|
29626
29626
|
return hashes;
|
|
29627
29627
|
}
|
|
29628
29628
|
var init_commitmentsToVersionedHashes = __esm({
|
|
29629
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
29629
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/blob/commitmentsToVersionedHashes.js"() {
|
|
29630
29630
|
init_commitmentToVersionedHash();
|
|
29631
29631
|
}
|
|
29632
29632
|
});
|
|
29633
29633
|
|
|
29634
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
29634
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/constants/blob.js
|
|
29635
29635
|
var blobsPerTransaction, bytesPerFieldElement, fieldElementsPerBlob, bytesPerBlob, maxBytesPerTransaction;
|
|
29636
29636
|
var init_blob = __esm({
|
|
29637
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
29637
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/constants/blob.js"() {
|
|
29638
29638
|
blobsPerTransaction = 6;
|
|
29639
29639
|
bytesPerFieldElement = 32;
|
|
29640
29640
|
fieldElementsPerBlob = 4096;
|
|
@@ -29645,18 +29645,18 @@ var init_blob = __esm({
|
|
|
29645
29645
|
}
|
|
29646
29646
|
});
|
|
29647
29647
|
|
|
29648
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
29648
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/constants/kzg.js
|
|
29649
29649
|
var versionedHashVersionKzg;
|
|
29650
29650
|
var init_kzg = __esm({
|
|
29651
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
29651
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/constants/kzg.js"() {
|
|
29652
29652
|
versionedHashVersionKzg = 1;
|
|
29653
29653
|
}
|
|
29654
29654
|
});
|
|
29655
29655
|
|
|
29656
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
29656
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/errors/blob.js
|
|
29657
29657
|
var BlobSizeTooLargeError, EmptyBlobError, InvalidVersionedHashSizeError, InvalidVersionedHashVersionError;
|
|
29658
29658
|
var init_blob2 = __esm({
|
|
29659
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
29659
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/errors/blob.js"() {
|
|
29660
29660
|
init_kzg();
|
|
29661
29661
|
init_base();
|
|
29662
29662
|
BlobSizeTooLargeError = class extends BaseError {
|
|
@@ -29694,7 +29694,7 @@ var init_blob2 = __esm({
|
|
|
29694
29694
|
}
|
|
29695
29695
|
});
|
|
29696
29696
|
|
|
29697
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
29697
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/blob/toBlobs.js
|
|
29698
29698
|
function toBlobs(parameters) {
|
|
29699
29699
|
const to = parameters.to ?? (typeof parameters.data === "string" ? "hex" : "bytes");
|
|
29700
29700
|
const data = typeof parameters.data === "string" ? hexToBytes(parameters.data) : parameters.data;
|
|
@@ -29729,7 +29729,7 @@ function toBlobs(parameters) {
|
|
|
29729
29729
|
return to === "bytes" ? blobs.map((x) => x.bytes) : blobs.map((x) => bytesToHex(x.bytes));
|
|
29730
29730
|
}
|
|
29731
29731
|
var init_toBlobs = __esm({
|
|
29732
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
29732
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/blob/toBlobs.js"() {
|
|
29733
29733
|
init_blob();
|
|
29734
29734
|
init_blob2();
|
|
29735
29735
|
init_cursor2();
|
|
@@ -29739,7 +29739,7 @@ var init_toBlobs = __esm({
|
|
|
29739
29739
|
}
|
|
29740
29740
|
});
|
|
29741
29741
|
|
|
29742
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
29742
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/blob/toBlobSidecars.js
|
|
29743
29743
|
function toBlobSidecars(parameters) {
|
|
29744
29744
|
const { data, kzg, to } = parameters;
|
|
29745
29745
|
const blobs = parameters.blobs ?? toBlobs({ data, to });
|
|
@@ -29755,14 +29755,14 @@ function toBlobSidecars(parameters) {
|
|
|
29755
29755
|
return sidecars;
|
|
29756
29756
|
}
|
|
29757
29757
|
var init_toBlobSidecars = __esm({
|
|
29758
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
29758
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/blob/toBlobSidecars.js"() {
|
|
29759
29759
|
init_blobsToCommitments();
|
|
29760
29760
|
init_blobsToProofs();
|
|
29761
29761
|
init_toBlobs();
|
|
29762
29762
|
}
|
|
29763
29763
|
});
|
|
29764
29764
|
|
|
29765
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
29765
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/transaction/getTransactionType.js
|
|
29766
29766
|
function getTransactionType(transaction) {
|
|
29767
29767
|
if (transaction.type)
|
|
29768
29768
|
return transaction.type;
|
|
@@ -29781,7 +29781,7 @@ function getTransactionType(transaction) {
|
|
|
29781
29781
|
throw new InvalidSerializableTransactionError({ transaction });
|
|
29782
29782
|
}
|
|
29783
29783
|
var init_getTransactionType = __esm({
|
|
29784
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
29784
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/transaction/getTransactionType.js"() {
|
|
29785
29785
|
init_transaction();
|
|
29786
29786
|
}
|
|
29787
29787
|
});
|
|
@@ -30015,10 +30015,10 @@ var init_utils2 = __esm({
|
|
|
30015
30015
|
}
|
|
30016
30016
|
});
|
|
30017
30017
|
|
|
30018
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
30018
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/errors/chain.js
|
|
30019
30019
|
var InvalidChainIdError;
|
|
30020
30020
|
var init_chain = __esm({
|
|
30021
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
30021
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/errors/chain.js"() {
|
|
30022
30022
|
init_base();
|
|
30023
30023
|
InvalidChainIdError = class extends BaseError {
|
|
30024
30024
|
constructor({ chainId }) {
|
|
@@ -30028,7 +30028,7 @@ var init_chain = __esm({
|
|
|
30028
30028
|
}
|
|
30029
30029
|
});
|
|
30030
30030
|
|
|
30031
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
30031
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/transaction/assertTransaction.js
|
|
30032
30032
|
function assertTransactionEIP7702(transaction) {
|
|
30033
30033
|
const { authorizationList } = transaction;
|
|
30034
30034
|
if (authorizationList) {
|
|
@@ -30096,7 +30096,7 @@ function assertTransactionLegacy(transaction) {
|
|
|
30096
30096
|
throw new FeeCapTooHighError({ maxFeePerGas: gasPrice });
|
|
30097
30097
|
}
|
|
30098
30098
|
var init_assertTransaction = __esm({
|
|
30099
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
30099
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/transaction/assertTransaction.js"() {
|
|
30100
30100
|
init_kzg();
|
|
30101
30101
|
init_number();
|
|
30102
30102
|
init_address();
|
|
@@ -30111,7 +30111,7 @@ var init_assertTransaction = __esm({
|
|
|
30111
30111
|
}
|
|
30112
30112
|
});
|
|
30113
30113
|
|
|
30114
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
30114
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/transaction/serializeAccessList.js
|
|
30115
30115
|
function serializeAccessList(accessList) {
|
|
30116
30116
|
if (!accessList || accessList.length === 0)
|
|
30117
30117
|
return [];
|
|
@@ -30131,14 +30131,14 @@ function serializeAccessList(accessList) {
|
|
|
30131
30131
|
return serializedAccessList;
|
|
30132
30132
|
}
|
|
30133
30133
|
var init_serializeAccessList = __esm({
|
|
30134
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
30134
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/transaction/serializeAccessList.js"() {
|
|
30135
30135
|
init_address();
|
|
30136
30136
|
init_transaction();
|
|
30137
30137
|
init_isAddress();
|
|
30138
30138
|
}
|
|
30139
30139
|
});
|
|
30140
30140
|
|
|
30141
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
30141
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/transaction/serializeTransaction.js
|
|
30142
30142
|
function serializeTransaction(transaction, signature) {
|
|
30143
30143
|
const type = getTransactionType(transaction);
|
|
30144
30144
|
if (type === "eip1559")
|
|
@@ -30338,7 +30338,7 @@ function toYParitySignatureArray(transaction, signature_) {
|
|
|
30338
30338
|
return [yParity_, r === "0x00" ? "0x" : r, s === "0x00" ? "0x" : s];
|
|
30339
30339
|
}
|
|
30340
30340
|
var init_serializeTransaction = __esm({
|
|
30341
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
30341
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/transaction/serializeTransaction.js"() {
|
|
30342
30342
|
init_transaction();
|
|
30343
30343
|
init_serializeAuthorizationList();
|
|
30344
30344
|
init_blobsToCommitments();
|
|
@@ -30355,7 +30355,7 @@ var init_serializeTransaction = __esm({
|
|
|
30355
30355
|
}
|
|
30356
30356
|
});
|
|
30357
30357
|
|
|
30358
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
30358
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/authorization/serializeAuthorizationList.js
|
|
30359
30359
|
function serializeAuthorizationList(authorizationList) {
|
|
30360
30360
|
if (!authorizationList || authorizationList.length === 0)
|
|
30361
30361
|
return [];
|
|
@@ -30373,7 +30373,7 @@ function serializeAuthorizationList(authorizationList) {
|
|
|
30373
30373
|
return serializedAuthorizationList;
|
|
30374
30374
|
}
|
|
30375
30375
|
var init_serializeAuthorizationList = __esm({
|
|
30376
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
30376
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/authorization/serializeAuthorizationList.js"() {
|
|
30377
30377
|
init_toHex();
|
|
30378
30378
|
init_serializeTransaction();
|
|
30379
30379
|
}
|
|
@@ -30504,15 +30504,15 @@ var init_legacy = __esm({
|
|
|
30504
30504
|
}
|
|
30505
30505
|
});
|
|
30506
30506
|
|
|
30507
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
30507
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/constants/strings.js
|
|
30508
30508
|
var presignMessagePrefix;
|
|
30509
30509
|
var init_strings = __esm({
|
|
30510
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
30510
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/constants/strings.js"() {
|
|
30511
30511
|
presignMessagePrefix = "Ethereum Signed Message:\n";
|
|
30512
30512
|
}
|
|
30513
30513
|
});
|
|
30514
30514
|
|
|
30515
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
30515
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/signature/toPrefixedMessage.js
|
|
30516
30516
|
function toPrefixedMessage(message_) {
|
|
30517
30517
|
const message = (() => {
|
|
30518
30518
|
if (typeof message_ === "string")
|
|
@@ -30525,7 +30525,7 @@ function toPrefixedMessage(message_) {
|
|
|
30525
30525
|
return concat([prefix, message]);
|
|
30526
30526
|
}
|
|
30527
30527
|
var init_toPrefixedMessage = __esm({
|
|
30528
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
30528
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/signature/toPrefixedMessage.js"() {
|
|
30529
30529
|
init_strings();
|
|
30530
30530
|
init_concat();
|
|
30531
30531
|
init_size();
|
|
@@ -30533,21 +30533,21 @@ var init_toPrefixedMessage = __esm({
|
|
|
30533
30533
|
}
|
|
30534
30534
|
});
|
|
30535
30535
|
|
|
30536
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
30536
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/signature/hashMessage.js
|
|
30537
30537
|
function hashMessage(message, to_) {
|
|
30538
30538
|
return keccak256(toPrefixedMessage(message), to_);
|
|
30539
30539
|
}
|
|
30540
30540
|
var init_hashMessage = __esm({
|
|
30541
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
30541
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/signature/hashMessage.js"() {
|
|
30542
30542
|
init_keccak256();
|
|
30543
30543
|
init_toPrefixedMessage();
|
|
30544
30544
|
}
|
|
30545
30545
|
});
|
|
30546
30546
|
|
|
30547
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
30547
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/errors/typedData.js
|
|
30548
30548
|
var InvalidDomainError, InvalidPrimaryTypeError, InvalidStructTypeError;
|
|
30549
30549
|
var init_typedData = __esm({
|
|
30550
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
30550
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/errors/typedData.js"() {
|
|
30551
30551
|
init_stringify();
|
|
30552
30552
|
init_base();
|
|
30553
30553
|
InvalidDomainError = class extends BaseError {
|
|
@@ -30576,7 +30576,7 @@ var init_typedData = __esm({
|
|
|
30576
30576
|
}
|
|
30577
30577
|
});
|
|
30578
30578
|
|
|
30579
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
30579
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/typedData.js
|
|
30580
30580
|
function validateTypedData(parameters) {
|
|
30581
30581
|
const { domain, message, primaryType, types } = parameters;
|
|
30582
30582
|
const validateData = (struct, data) => {
|
|
@@ -30641,7 +30641,7 @@ function validateReference(type) {
|
|
|
30641
30641
|
throw new InvalidStructTypeError({ type });
|
|
30642
30642
|
}
|
|
30643
30643
|
var init_typedData2 = __esm({
|
|
30644
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
30644
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/typedData.js"() {
|
|
30645
30645
|
init_abi();
|
|
30646
30646
|
init_address();
|
|
30647
30647
|
init_typedData();
|
|
@@ -30652,7 +30652,7 @@ var init_typedData2 = __esm({
|
|
|
30652
30652
|
}
|
|
30653
30653
|
});
|
|
30654
30654
|
|
|
30655
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
30655
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/signature/hashTypedData.js
|
|
30656
30656
|
function hashTypedData(parameters) {
|
|
30657
30657
|
const { domain = {}, message, primaryType } = parameters;
|
|
30658
30658
|
const types = {
|
|
@@ -30762,7 +30762,7 @@ function encodeField({ types, name, type, value }) {
|
|
|
30762
30762
|
return [{ type }, value];
|
|
30763
30763
|
}
|
|
30764
30764
|
var init_hashTypedData = __esm({
|
|
30765
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
30765
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/signature/hashTypedData.js"() {
|
|
30766
30766
|
init_encodeAbiParameters();
|
|
30767
30767
|
init_concat();
|
|
30768
30768
|
init_toHex();
|
|
@@ -32767,15 +32767,15 @@ var init_secp256k1 = __esm({
|
|
|
32767
32767
|
}
|
|
32768
32768
|
});
|
|
32769
32769
|
|
|
32770
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
32770
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/constants/address.js
|
|
32771
32771
|
var zeroAddress;
|
|
32772
32772
|
var init_address2 = __esm({
|
|
32773
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
32773
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/constants/address.js"() {
|
|
32774
32774
|
zeroAddress = "0x0000000000000000000000000000000000000000";
|
|
32775
32775
|
}
|
|
32776
32776
|
});
|
|
32777
32777
|
|
|
32778
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
32778
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/signature/serializeSignature.js
|
|
32779
32779
|
function serializeSignature({ r, s, to = "hex", v, yParity }) {
|
|
32780
32780
|
const yParity_ = (() => {
|
|
32781
32781
|
if (yParity === 0 || yParity === 1)
|
|
@@ -32790,16 +32790,16 @@ function serializeSignature({ r, s, to = "hex", v, yParity }) {
|
|
|
32790
32790
|
return hexToBytes(signature);
|
|
32791
32791
|
}
|
|
32792
32792
|
var init_serializeSignature = __esm({
|
|
32793
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
32793
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/utils/signature/serializeSignature.js"() {
|
|
32794
32794
|
init_secp256k1();
|
|
32795
32795
|
init_fromHex();
|
|
32796
32796
|
init_toBytes();
|
|
32797
32797
|
}
|
|
32798
32798
|
});
|
|
32799
32799
|
|
|
32800
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
32800
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/index.js
|
|
32801
32801
|
var init_esm = __esm({
|
|
32802
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
32802
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/index.js"() {
|
|
32803
32803
|
init_address2();
|
|
32804
32804
|
init_encodeFunctionData();
|
|
32805
32805
|
init_keccak256();
|
|
@@ -33734,7 +33734,7 @@ var init_exports2 = __esm({
|
|
|
33734
33734
|
}
|
|
33735
33735
|
});
|
|
33736
33736
|
|
|
33737
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
33737
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/abi/formatAbiItem.js
|
|
33738
33738
|
function formatAbiItem4(abiItem, { includeName = false } = {}) {
|
|
33739
33739
|
if (abiItem.type !== "function" && abiItem.type !== "event" && abiItem.type !== "error")
|
|
33740
33740
|
throw new InvalidDefinitionTypeError2(abiItem.type);
|
|
@@ -33752,12 +33752,12 @@ function formatAbiParam2(param, { includeName }) {
|
|
|
33752
33752
|
return param.type + (includeName && param.name ? ` ${param.name}` : "");
|
|
33753
33753
|
}
|
|
33754
33754
|
var init_formatAbiItem4 = __esm({
|
|
33755
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
33755
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/abi/formatAbiItem.js"() {
|
|
33756
33756
|
init_abi2();
|
|
33757
33757
|
}
|
|
33758
33758
|
});
|
|
33759
33759
|
|
|
33760
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
33760
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/data/isHex.js
|
|
33761
33761
|
function isHex2(value, { strict = true } = {}) {
|
|
33762
33762
|
if (!value)
|
|
33763
33763
|
return false;
|
|
@@ -33766,31 +33766,31 @@ function isHex2(value, { strict = true } = {}) {
|
|
|
33766
33766
|
return strict ? /^0x[0-9a-fA-F]*$/.test(value) : value.startsWith("0x");
|
|
33767
33767
|
}
|
|
33768
33768
|
var init_isHex2 = __esm({
|
|
33769
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
33769
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/data/isHex.js"() {
|
|
33770
33770
|
}
|
|
33771
33771
|
});
|
|
33772
33772
|
|
|
33773
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
33773
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/data/size.js
|
|
33774
33774
|
function size2(value) {
|
|
33775
33775
|
if (isHex2(value, { strict: false }))
|
|
33776
33776
|
return Math.ceil((value.length - 2) / 2);
|
|
33777
33777
|
return value.length;
|
|
33778
33778
|
}
|
|
33779
33779
|
var init_size2 = __esm({
|
|
33780
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
33780
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/data/size.js"() {
|
|
33781
33781
|
init_isHex2();
|
|
33782
33782
|
}
|
|
33783
33783
|
});
|
|
33784
33784
|
|
|
33785
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
33785
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/version.js
|
|
33786
33786
|
var version3;
|
|
33787
33787
|
var init_version3 = __esm({
|
|
33788
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
33788
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/version.js"() {
|
|
33789
33789
|
version3 = "2.51.3";
|
|
33790
33790
|
}
|
|
33791
33791
|
});
|
|
33792
33792
|
|
|
33793
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
33793
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/base.js
|
|
33794
33794
|
function walk2(err, fn) {
|
|
33795
33795
|
if (fn?.(err))
|
|
33796
33796
|
return err;
|
|
@@ -33800,7 +33800,7 @@ function walk2(err, fn) {
|
|
|
33800
33800
|
}
|
|
33801
33801
|
var errorConfig2, BaseError3;
|
|
33802
33802
|
var init_base2 = __esm({
|
|
33803
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
33803
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/base.js"() {
|
|
33804
33804
|
init_version3();
|
|
33805
33805
|
errorConfig2 = {
|
|
33806
33806
|
getDocsUrl: ({ docsBaseUrl, docsPath: docsPath9 = "", docsSlug }) => docsPath9 ? `${docsBaseUrl ?? "https://viem.sh"}${docsPath9}${docsSlug ? `#${docsSlug}` : ""}` : void 0,
|
|
@@ -33880,10 +33880,10 @@ var init_base2 = __esm({
|
|
|
33880
33880
|
}
|
|
33881
33881
|
});
|
|
33882
33882
|
|
|
33883
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
33883
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/abi.js
|
|
33884
33884
|
var AbiConstructorNotFoundError, AbiConstructorParamsNotFoundError, AbiDecodingDataSizeTooSmallError, AbiDecodingZeroDataError, AbiEncodingArrayLengthMismatchError2, AbiEncodingBytesSizeMismatchError2, AbiEncodingLengthMismatchError2, AbiErrorInputsNotFoundError, AbiErrorNotFoundError, AbiErrorSignatureNotFoundError, AbiEventSignatureEmptyTopicsError, AbiEventSignatureNotFoundError, AbiEventNotFoundError, AbiFunctionNotFoundError2, AbiFunctionOutputsNotFoundError, AbiFunctionSignatureNotFoundError, AbiItemAmbiguityError2, BytesSizeMismatchError2, DecodeLogDataMismatch, DecodeLogTopicsMismatch, InvalidAbiEncodingTypeError2, InvalidAbiDecodingTypeError, InvalidArrayError2, InvalidDefinitionTypeError2;
|
|
33885
33885
|
var init_abi2 = __esm({
|
|
33886
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
33886
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/abi.js"() {
|
|
33887
33887
|
init_formatAbiItem4();
|
|
33888
33888
|
init_size2();
|
|
33889
33889
|
init_base2();
|
|
@@ -34191,10 +34191,10 @@ var init_abi2 = __esm({
|
|
|
34191
34191
|
}
|
|
34192
34192
|
});
|
|
34193
34193
|
|
|
34194
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
34194
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/data.js
|
|
34195
34195
|
var SliceOffsetOutOfBoundsError2, SizeExceedsPaddingSizeError2, InvalidBytesLengthError;
|
|
34196
34196
|
var init_data2 = __esm({
|
|
34197
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
34197
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/data.js"() {
|
|
34198
34198
|
init_base2();
|
|
34199
34199
|
SliceOffsetOutOfBoundsError2 = class extends BaseError3 {
|
|
34200
34200
|
constructor({ offset, position, size: size6 }) {
|
|
@@ -34214,7 +34214,7 @@ var init_data2 = __esm({
|
|
|
34214
34214
|
}
|
|
34215
34215
|
});
|
|
34216
34216
|
|
|
34217
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
34217
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/data/pad.js
|
|
34218
34218
|
function pad2(hexOrBytes, { dir, size: size6 = 32 } = {}) {
|
|
34219
34219
|
if (typeof hexOrBytes === "string")
|
|
34220
34220
|
return padHex2(hexOrBytes, { dir, size: size6 });
|
|
@@ -34249,15 +34249,15 @@ function padBytes2(bytes, { dir, size: size6 = 32 } = {}) {
|
|
|
34249
34249
|
return paddedBytes;
|
|
34250
34250
|
}
|
|
34251
34251
|
var init_pad2 = __esm({
|
|
34252
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
34252
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/data/pad.js"() {
|
|
34253
34253
|
init_data2();
|
|
34254
34254
|
}
|
|
34255
34255
|
});
|
|
34256
34256
|
|
|
34257
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
34257
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/encoding.js
|
|
34258
34258
|
var IntegerOutOfRangeError2, InvalidBytesBooleanError, InvalidHexBooleanError2, SizeOverflowError2;
|
|
34259
34259
|
var init_encoding2 = __esm({
|
|
34260
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
34260
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/encoding.js"() {
|
|
34261
34261
|
init_base2();
|
|
34262
34262
|
IntegerOutOfRangeError2 = class extends BaseError3 {
|
|
34263
34263
|
constructor({ max, min, signed, size: size6, value }) {
|
|
@@ -34284,7 +34284,7 @@ var init_encoding2 = __esm({
|
|
|
34284
34284
|
}
|
|
34285
34285
|
});
|
|
34286
34286
|
|
|
34287
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
34287
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/data/trim.js
|
|
34288
34288
|
function trim2(hexOrBytes, { dir = "left" } = {}) {
|
|
34289
34289
|
let data = typeof hexOrBytes === "string" ? hexOrBytes.replace("0x", "") : hexOrBytes;
|
|
34290
34290
|
let sliceLength = 0;
|
|
@@ -34303,11 +34303,11 @@ function trim2(hexOrBytes, { dir = "left" } = {}) {
|
|
|
34303
34303
|
return data;
|
|
34304
34304
|
}
|
|
34305
34305
|
var init_trim2 = __esm({
|
|
34306
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
34306
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/data/trim.js"() {
|
|
34307
34307
|
}
|
|
34308
34308
|
});
|
|
34309
34309
|
|
|
34310
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
34310
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/encoding/fromHex.js
|
|
34311
34311
|
function assertSize2(hexOrBytes, { size: size6 }) {
|
|
34312
34312
|
if (size2(hexOrBytes) > size6)
|
|
34313
34313
|
throw new SizeOverflowError2({
|
|
@@ -34354,14 +34354,14 @@ function hexToNumber3(hex, opts = {}) {
|
|
|
34354
34354
|
return number;
|
|
34355
34355
|
}
|
|
34356
34356
|
var init_fromHex2 = __esm({
|
|
34357
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
34357
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/encoding/fromHex.js"() {
|
|
34358
34358
|
init_encoding2();
|
|
34359
34359
|
init_size2();
|
|
34360
34360
|
init_trim2();
|
|
34361
34361
|
}
|
|
34362
34362
|
});
|
|
34363
34363
|
|
|
34364
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
34364
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/encoding/toHex.js
|
|
34365
34365
|
function toHex2(value, opts = {}) {
|
|
34366
34366
|
if (typeof value === "number" || typeof value === "bigint")
|
|
34367
34367
|
return numberToHex2(value, opts);
|
|
@@ -34426,7 +34426,7 @@ function stringToHex2(value_, opts = {}) {
|
|
|
34426
34426
|
}
|
|
34427
34427
|
var hexes4, encoder3;
|
|
34428
34428
|
var init_toHex2 = __esm({
|
|
34429
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
34429
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/encoding/toHex.js"() {
|
|
34430
34430
|
init_encoding2();
|
|
34431
34431
|
init_pad2();
|
|
34432
34432
|
init_fromHex2();
|
|
@@ -34435,7 +34435,7 @@ var init_toHex2 = __esm({
|
|
|
34435
34435
|
}
|
|
34436
34436
|
});
|
|
34437
34437
|
|
|
34438
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
34438
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/encoding/toBytes.js
|
|
34439
34439
|
function toBytes3(value, opts = {}) {
|
|
34440
34440
|
if (typeof value === "number" || typeof value === "bigint")
|
|
34441
34441
|
return numberToBytes3(value, opts);
|
|
@@ -34498,7 +34498,7 @@ function stringToBytes2(value, opts = {}) {
|
|
|
34498
34498
|
}
|
|
34499
34499
|
var encoder4, charCodeMap2;
|
|
34500
34500
|
var init_toBytes2 = __esm({
|
|
34501
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
34501
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/encoding/toBytes.js"() {
|
|
34502
34502
|
init_base2();
|
|
34503
34503
|
init_isHex2();
|
|
34504
34504
|
init_pad2();
|
|
@@ -34516,7 +34516,7 @@ var init_toBytes2 = __esm({
|
|
|
34516
34516
|
}
|
|
34517
34517
|
});
|
|
34518
34518
|
|
|
34519
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
34519
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/hash/keccak256.js
|
|
34520
34520
|
function keccak2562(value, to_) {
|
|
34521
34521
|
const to = to_ || "hex";
|
|
34522
34522
|
const bytes = keccak_256(isHex2(value, { strict: false }) ? toBytes3(value) : value);
|
|
@@ -34525,7 +34525,7 @@ function keccak2562(value, to_) {
|
|
|
34525
34525
|
return toHex2(bytes);
|
|
34526
34526
|
}
|
|
34527
34527
|
var init_keccak2562 = __esm({
|
|
34528
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
34528
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/hash/keccak256.js"() {
|
|
34529
34529
|
init_sha3();
|
|
34530
34530
|
init_isHex2();
|
|
34531
34531
|
init_toBytes2();
|
|
@@ -34533,20 +34533,20 @@ var init_keccak2562 = __esm({
|
|
|
34533
34533
|
}
|
|
34534
34534
|
});
|
|
34535
34535
|
|
|
34536
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
34536
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/hash/hashSignature.js
|
|
34537
34537
|
function hashSignature2(sig) {
|
|
34538
34538
|
return hash2(sig);
|
|
34539
34539
|
}
|
|
34540
34540
|
var hash2;
|
|
34541
34541
|
var init_hashSignature2 = __esm({
|
|
34542
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
34542
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/hash/hashSignature.js"() {
|
|
34543
34543
|
init_toBytes2();
|
|
34544
34544
|
init_keccak2562();
|
|
34545
34545
|
hash2 = (value) => keccak2562(toBytes3(value));
|
|
34546
34546
|
}
|
|
34547
34547
|
});
|
|
34548
34548
|
|
|
34549
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
34549
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/hash/normalizeSignature.js
|
|
34550
34550
|
function normalizeSignature2(signature) {
|
|
34551
34551
|
let active = true;
|
|
34552
34552
|
let current = "";
|
|
@@ -34590,15 +34590,15 @@ function normalizeSignature2(signature) {
|
|
|
34590
34590
|
return result;
|
|
34591
34591
|
}
|
|
34592
34592
|
var init_normalizeSignature2 = __esm({
|
|
34593
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
34593
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/hash/normalizeSignature.js"() {
|
|
34594
34594
|
init_base2();
|
|
34595
34595
|
}
|
|
34596
34596
|
});
|
|
34597
34597
|
|
|
34598
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
34598
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/hash/toSignature.js
|
|
34599
34599
|
var toSignature2;
|
|
34600
34600
|
var init_toSignature2 = __esm({
|
|
34601
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
34601
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/hash/toSignature.js"() {
|
|
34602
34602
|
init_exports2();
|
|
34603
34603
|
init_normalizeSignature2();
|
|
34604
34604
|
toSignature2 = (def) => {
|
|
@@ -34612,30 +34612,30 @@ var init_toSignature2 = __esm({
|
|
|
34612
34612
|
}
|
|
34613
34613
|
});
|
|
34614
34614
|
|
|
34615
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
34615
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/hash/toSignatureHash.js
|
|
34616
34616
|
function toSignatureHash2(fn) {
|
|
34617
34617
|
return hashSignature2(toSignature2(fn));
|
|
34618
34618
|
}
|
|
34619
34619
|
var init_toSignatureHash2 = __esm({
|
|
34620
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
34620
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/hash/toSignatureHash.js"() {
|
|
34621
34621
|
init_hashSignature2();
|
|
34622
34622
|
init_toSignature2();
|
|
34623
34623
|
}
|
|
34624
34624
|
});
|
|
34625
34625
|
|
|
34626
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
34626
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/hash/toEventSelector.js
|
|
34627
34627
|
var toEventSelector2;
|
|
34628
34628
|
var init_toEventSelector2 = __esm({
|
|
34629
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
34629
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/hash/toEventSelector.js"() {
|
|
34630
34630
|
init_toSignatureHash2();
|
|
34631
34631
|
toEventSelector2 = toSignatureHash2;
|
|
34632
34632
|
}
|
|
34633
34633
|
});
|
|
34634
34634
|
|
|
34635
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
34635
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/address.js
|
|
34636
34636
|
var InvalidAddressError2;
|
|
34637
34637
|
var init_address3 = __esm({
|
|
34638
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
34638
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/address.js"() {
|
|
34639
34639
|
init_base2();
|
|
34640
34640
|
InvalidAddressError2 = class extends BaseError3 {
|
|
34641
34641
|
constructor({ address }) {
|
|
@@ -34651,10 +34651,10 @@ var init_address3 = __esm({
|
|
|
34651
34651
|
}
|
|
34652
34652
|
});
|
|
34653
34653
|
|
|
34654
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
34654
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/lru.js
|
|
34655
34655
|
var LruMap2;
|
|
34656
34656
|
var init_lru2 = __esm({
|
|
34657
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
34657
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/lru.js"() {
|
|
34658
34658
|
LruMap2 = class extends Map {
|
|
34659
34659
|
constructor(size6) {
|
|
34660
34660
|
super();
|
|
@@ -34689,7 +34689,7 @@ var init_lru2 = __esm({
|
|
|
34689
34689
|
}
|
|
34690
34690
|
});
|
|
34691
34691
|
|
|
34692
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
34692
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/address/getAddress.js
|
|
34693
34693
|
function checksumAddress2(address_, chainId) {
|
|
34694
34694
|
if (checksumAddressCache2.has(`${address_}.${chainId}`))
|
|
34695
34695
|
return checksumAddressCache2.get(`${address_}.${chainId}`);
|
|
@@ -34715,7 +34715,7 @@ function getAddress(address, chainId) {
|
|
|
34715
34715
|
}
|
|
34716
34716
|
var checksumAddressCache2;
|
|
34717
34717
|
var init_getAddress2 = __esm({
|
|
34718
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
34718
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/address/getAddress.js"() {
|
|
34719
34719
|
init_address3();
|
|
34720
34720
|
init_toBytes2();
|
|
34721
34721
|
init_keccak2562();
|
|
@@ -34725,7 +34725,7 @@ var init_getAddress2 = __esm({
|
|
|
34725
34725
|
}
|
|
34726
34726
|
});
|
|
34727
34727
|
|
|
34728
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
34728
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/address/isAddress.js
|
|
34729
34729
|
function isAddress2(address, options) {
|
|
34730
34730
|
const { strict = true } = options ?? {};
|
|
34731
34731
|
const cacheKey2 = `${address}.${strict}`;
|
|
@@ -34745,7 +34745,7 @@ function isAddress2(address, options) {
|
|
|
34745
34745
|
}
|
|
34746
34746
|
var addressRegex2, isAddressCache2;
|
|
34747
34747
|
var init_isAddress2 = __esm({
|
|
34748
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
34748
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/address/isAddress.js"() {
|
|
34749
34749
|
init_lru2();
|
|
34750
34750
|
init_getAddress2();
|
|
34751
34751
|
addressRegex2 = /^0x[a-fA-F0-9]{40}$/;
|
|
@@ -34753,7 +34753,7 @@ var init_isAddress2 = __esm({
|
|
|
34753
34753
|
}
|
|
34754
34754
|
});
|
|
34755
34755
|
|
|
34756
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
34756
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/data/concat.js
|
|
34757
34757
|
function concat2(values) {
|
|
34758
34758
|
if (typeof values[0] === "string")
|
|
34759
34759
|
return concatHex2(values);
|
|
@@ -34776,11 +34776,11 @@ function concatHex2(values) {
|
|
|
34776
34776
|
return `0x${values.reduce((acc, x) => acc + x.replace("0x", ""), "")}`;
|
|
34777
34777
|
}
|
|
34778
34778
|
var init_concat2 = __esm({
|
|
34779
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
34779
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/data/concat.js"() {
|
|
34780
34780
|
}
|
|
34781
34781
|
});
|
|
34782
34782
|
|
|
34783
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
34783
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/data/slice.js
|
|
34784
34784
|
function slice2(value, start, end, { strict } = {}) {
|
|
34785
34785
|
if (isHex2(value, { strict: false }))
|
|
34786
34786
|
return sliceHex2(value, start, end, {
|
|
@@ -34822,23 +34822,23 @@ function sliceHex2(value_, start, end, { strict } = {}) {
|
|
|
34822
34822
|
return value;
|
|
34823
34823
|
}
|
|
34824
34824
|
var init_slice2 = __esm({
|
|
34825
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
34825
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/data/slice.js"() {
|
|
34826
34826
|
init_data2();
|
|
34827
34827
|
init_isHex2();
|
|
34828
34828
|
init_size2();
|
|
34829
34829
|
}
|
|
34830
34830
|
});
|
|
34831
34831
|
|
|
34832
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
34832
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/regex.js
|
|
34833
34833
|
var bytesRegex3, integerRegex3;
|
|
34834
34834
|
var init_regex4 = __esm({
|
|
34835
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
34835
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/regex.js"() {
|
|
34836
34836
|
bytesRegex3 = /^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/;
|
|
34837
34837
|
integerRegex3 = /^(u?int)(8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?$/;
|
|
34838
34838
|
}
|
|
34839
34839
|
});
|
|
34840
34840
|
|
|
34841
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
34841
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/abi/encodeAbiParameters.js
|
|
34842
34842
|
function encodeAbiParameters2(params, values) {
|
|
34843
34843
|
if (params.length !== values.length)
|
|
34844
34844
|
throw new AbiEncodingLengthMismatchError2({
|
|
@@ -35052,7 +35052,7 @@ function getArrayComponents2(type) {
|
|
|
35052
35052
|
) : void 0;
|
|
35053
35053
|
}
|
|
35054
35054
|
var init_encodeAbiParameters2 = __esm({
|
|
35055
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
35055
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/abi/encodeAbiParameters.js"() {
|
|
35056
35056
|
init_abi2();
|
|
35057
35057
|
init_address3();
|
|
35058
35058
|
init_base2();
|
|
@@ -35067,17 +35067,17 @@ var init_encodeAbiParameters2 = __esm({
|
|
|
35067
35067
|
}
|
|
35068
35068
|
});
|
|
35069
35069
|
|
|
35070
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
35070
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/hash/toFunctionSelector.js
|
|
35071
35071
|
var toFunctionSelector2;
|
|
35072
35072
|
var init_toFunctionSelector2 = __esm({
|
|
35073
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
35073
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/hash/toFunctionSelector.js"() {
|
|
35074
35074
|
init_slice2();
|
|
35075
35075
|
init_toSignatureHash2();
|
|
35076
35076
|
toFunctionSelector2 = (fn) => slice2(toSignatureHash2(fn), 0, 4);
|
|
35077
35077
|
}
|
|
35078
35078
|
});
|
|
35079
35079
|
|
|
35080
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
35080
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/abi/getAbiItem.js
|
|
35081
35081
|
function getAbiItem2(parameters) {
|
|
35082
35082
|
const { abi: abi2, args = [], name } = parameters;
|
|
35083
35083
|
const isSelector = isHex2(name, { strict: false });
|
|
@@ -35189,7 +35189,7 @@ function getAmbiguousTypes2(sourceParameters, targetParameters, args) {
|
|
|
35189
35189
|
return;
|
|
35190
35190
|
}
|
|
35191
35191
|
var init_getAbiItem2 = __esm({
|
|
35192
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
35192
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/abi/getAbiItem.js"() {
|
|
35193
35193
|
init_abi2();
|
|
35194
35194
|
init_isHex2();
|
|
35195
35195
|
init_isAddress2();
|
|
@@ -35198,18 +35198,18 @@ var init_getAbiItem2 = __esm({
|
|
|
35198
35198
|
}
|
|
35199
35199
|
});
|
|
35200
35200
|
|
|
35201
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
35201
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/accounts/utils/parseAccount.js
|
|
35202
35202
|
function parseAccount(account) {
|
|
35203
35203
|
if (typeof account === "string")
|
|
35204
35204
|
return { address: account, type: "json-rpc" };
|
|
35205
35205
|
return account;
|
|
35206
35206
|
}
|
|
35207
35207
|
var init_parseAccount = __esm({
|
|
35208
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
35208
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/accounts/utils/parseAccount.js"() {
|
|
35209
35209
|
}
|
|
35210
35210
|
});
|
|
35211
35211
|
|
|
35212
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
35212
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/abi/prepareEncodeFunctionData.js
|
|
35213
35213
|
function prepareEncodeFunctionData2(parameters) {
|
|
35214
35214
|
const { abi: abi2, args, functionName } = parameters;
|
|
35215
35215
|
let abiItem = abi2[0];
|
|
@@ -35232,7 +35232,7 @@ function prepareEncodeFunctionData2(parameters) {
|
|
|
35232
35232
|
}
|
|
35233
35233
|
var docsPath3;
|
|
35234
35234
|
var init_prepareEncodeFunctionData2 = __esm({
|
|
35235
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
35235
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/abi/prepareEncodeFunctionData.js"() {
|
|
35236
35236
|
init_abi2();
|
|
35237
35237
|
init_toFunctionSelector2();
|
|
35238
35238
|
init_formatAbiItem4();
|
|
@@ -35241,7 +35241,7 @@ var init_prepareEncodeFunctionData2 = __esm({
|
|
|
35241
35241
|
}
|
|
35242
35242
|
});
|
|
35243
35243
|
|
|
35244
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
35244
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/abi/encodeFunctionData.js
|
|
35245
35245
|
function encodeFunctionData2(parameters) {
|
|
35246
35246
|
const { args } = parameters;
|
|
35247
35247
|
const { abi: abi2, functionName } = (() => {
|
|
@@ -35255,17 +35255,17 @@ function encodeFunctionData2(parameters) {
|
|
|
35255
35255
|
return concatHex2([signature, data ?? "0x"]);
|
|
35256
35256
|
}
|
|
35257
35257
|
var init_encodeFunctionData2 = __esm({
|
|
35258
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
35258
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/abi/encodeFunctionData.js"() {
|
|
35259
35259
|
init_concat2();
|
|
35260
35260
|
init_encodeAbiParameters2();
|
|
35261
35261
|
init_prepareEncodeFunctionData2();
|
|
35262
35262
|
}
|
|
35263
35263
|
});
|
|
35264
35264
|
|
|
35265
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
35265
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/constants/solidity.js
|
|
35266
35266
|
var panicReasons, solidityError, solidityPanic;
|
|
35267
35267
|
var init_solidity = __esm({
|
|
35268
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
35268
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/constants/solidity.js"() {
|
|
35269
35269
|
panicReasons = {
|
|
35270
35270
|
1: "An `assert` condition failed.",
|
|
35271
35271
|
17: "Arithmetic operation resulted in underflow or overflow.",
|
|
@@ -35300,10 +35300,10 @@ var init_solidity = __esm({
|
|
|
35300
35300
|
}
|
|
35301
35301
|
});
|
|
35302
35302
|
|
|
35303
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
35303
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/cursor.js
|
|
35304
35304
|
var NegativeOffsetError2, PositionOutOfBoundsError2, RecursiveReadLimitExceededError2;
|
|
35305
35305
|
var init_cursor3 = __esm({
|
|
35306
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
35306
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/cursor.js"() {
|
|
35307
35307
|
init_base2();
|
|
35308
35308
|
NegativeOffsetError2 = class extends BaseError3 {
|
|
35309
35309
|
constructor({ offset }) {
|
|
@@ -35325,7 +35325,7 @@ var init_cursor3 = __esm({
|
|
|
35325
35325
|
}
|
|
35326
35326
|
});
|
|
35327
35327
|
|
|
35328
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
35328
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/cursor.js
|
|
35329
35329
|
function createCursor2(bytes, { recursiveReadLimit = 8192 } = {}) {
|
|
35330
35330
|
const cursor = Object.create(staticCursor2);
|
|
35331
35331
|
cursor.bytes = bytes;
|
|
@@ -35336,7 +35336,7 @@ function createCursor2(bytes, { recursiveReadLimit = 8192 } = {}) {
|
|
|
35336
35336
|
}
|
|
35337
35337
|
var staticCursor2;
|
|
35338
35338
|
var init_cursor4 = __esm({
|
|
35339
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
35339
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/cursor.js"() {
|
|
35340
35340
|
init_cursor3();
|
|
35341
35341
|
staticCursor2 = {
|
|
35342
35342
|
bytes: new Uint8Array(),
|
|
@@ -35500,7 +35500,7 @@ var init_cursor4 = __esm({
|
|
|
35500
35500
|
}
|
|
35501
35501
|
});
|
|
35502
35502
|
|
|
35503
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
35503
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/encoding/fromBytes.js
|
|
35504
35504
|
function bytesToBigInt(bytes, opts = {}) {
|
|
35505
35505
|
if (typeof opts.size !== "undefined")
|
|
35506
35506
|
assertSize2(bytes, { size: opts.size });
|
|
@@ -35532,7 +35532,7 @@ function bytesToString(bytes_, opts = {}) {
|
|
|
35532
35532
|
return new TextDecoder().decode(bytes);
|
|
35533
35533
|
}
|
|
35534
35534
|
var init_fromBytes = __esm({
|
|
35535
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
35535
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/encoding/fromBytes.js"() {
|
|
35536
35536
|
init_encoding2();
|
|
35537
35537
|
init_trim2();
|
|
35538
35538
|
init_fromHex2();
|
|
@@ -35540,7 +35540,7 @@ var init_fromBytes = __esm({
|
|
|
35540
35540
|
}
|
|
35541
35541
|
});
|
|
35542
35542
|
|
|
35543
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
35543
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/abi/decodeAbiParameters.js
|
|
35544
35544
|
function decodeAbiParameters(params, data) {
|
|
35545
35545
|
const bytes = typeof data === "string" ? hexToBytes4(data) : data;
|
|
35546
35546
|
const cursor = createCursor2(bytes);
|
|
@@ -35726,7 +35726,7 @@ function hasDynamicChild(param) {
|
|
|
35726
35726
|
}
|
|
35727
35727
|
var sizeOfLength, sizeOfOffset;
|
|
35728
35728
|
var init_decodeAbiParameters = __esm({
|
|
35729
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
35729
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/abi/decodeAbiParameters.js"() {
|
|
35730
35730
|
init_abi2();
|
|
35731
35731
|
init_getAddress2();
|
|
35732
35732
|
init_cursor4();
|
|
@@ -35742,7 +35742,7 @@ var init_decodeAbiParameters = __esm({
|
|
|
35742
35742
|
}
|
|
35743
35743
|
});
|
|
35744
35744
|
|
|
35745
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
35745
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/abi/decodeErrorResult.js
|
|
35746
35746
|
function decodeErrorResult(parameters) {
|
|
35747
35747
|
const { abi: abi2, data, cause } = parameters;
|
|
35748
35748
|
const signature = slice2(data, 0, 4);
|
|
@@ -35762,7 +35762,7 @@ function decodeErrorResult(parameters) {
|
|
|
35762
35762
|
};
|
|
35763
35763
|
}
|
|
35764
35764
|
var init_decodeErrorResult = __esm({
|
|
35765
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
35765
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/abi/decodeErrorResult.js"() {
|
|
35766
35766
|
init_solidity();
|
|
35767
35767
|
init_abi2();
|
|
35768
35768
|
init_slice2();
|
|
@@ -35772,10 +35772,10 @@ var init_decodeErrorResult = __esm({
|
|
|
35772
35772
|
}
|
|
35773
35773
|
});
|
|
35774
35774
|
|
|
35775
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
35775
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/stringify.js
|
|
35776
35776
|
var stringify2;
|
|
35777
35777
|
var init_stringify2 = __esm({
|
|
35778
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
35778
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/stringify.js"() {
|
|
35779
35779
|
stringify2 = (value, replacer, space) => JSON.stringify(value, (key, value_) => {
|
|
35780
35780
|
const value2 = typeof value_ === "bigint" ? value_.toString() : value_;
|
|
35781
35781
|
return typeof replacer === "function" ? replacer(key, value2) : value2;
|
|
@@ -35783,7 +35783,7 @@ var init_stringify2 = __esm({
|
|
|
35783
35783
|
}
|
|
35784
35784
|
});
|
|
35785
35785
|
|
|
35786
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
35786
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/abi/formatAbiItemWithArgs.js
|
|
35787
35787
|
function formatAbiItemWithArgs({ abiItem, args, includeFunctionName = true, includeName = false }) {
|
|
35788
35788
|
if (!("name" in abiItem))
|
|
35789
35789
|
return;
|
|
@@ -35794,15 +35794,15 @@ function formatAbiItemWithArgs({ abiItem, args, includeFunctionName = true, incl
|
|
|
35794
35794
|
return `${includeFunctionName ? abiItem.name : ""}(${abiItem.inputs.map((input, i) => `${includeName && input.name ? `${input.name}: ` : ""}${typeof args[i] === "object" ? stringify2(args[i]) : args[i]}`).join(", ")})`;
|
|
35795
35795
|
}
|
|
35796
35796
|
var init_formatAbiItemWithArgs = __esm({
|
|
35797
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
35797
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/abi/formatAbiItemWithArgs.js"() {
|
|
35798
35798
|
init_stringify2();
|
|
35799
35799
|
}
|
|
35800
35800
|
});
|
|
35801
35801
|
|
|
35802
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
35802
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/constants/unit.js
|
|
35803
35803
|
var etherUnits, gweiUnits2;
|
|
35804
35804
|
var init_unit2 = __esm({
|
|
35805
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
35805
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/constants/unit.js"() {
|
|
35806
35806
|
etherUnits = {
|
|
35807
35807
|
gwei: 9,
|
|
35808
35808
|
wei: 18
|
|
@@ -35814,7 +35814,7 @@ var init_unit2 = __esm({
|
|
|
35814
35814
|
}
|
|
35815
35815
|
});
|
|
35816
35816
|
|
|
35817
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
35817
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/unit/formatUnits.js
|
|
35818
35818
|
function formatUnits2(value, decimals) {
|
|
35819
35819
|
let display = value.toString();
|
|
35820
35820
|
const negative = display.startsWith("-");
|
|
@@ -35829,33 +35829,33 @@ function formatUnits2(value, decimals) {
|
|
|
35829
35829
|
return `${negative ? "-" : ""}${integer || "0"}${fraction ? `.${fraction}` : ""}`;
|
|
35830
35830
|
}
|
|
35831
35831
|
var init_formatUnits2 = __esm({
|
|
35832
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
35832
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/unit/formatUnits.js"() {
|
|
35833
35833
|
}
|
|
35834
35834
|
});
|
|
35835
35835
|
|
|
35836
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
35836
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/unit/formatEther.js
|
|
35837
35837
|
function formatEther(wei, unit = "wei") {
|
|
35838
35838
|
return formatUnits2(wei, etherUnits[unit]);
|
|
35839
35839
|
}
|
|
35840
35840
|
var init_formatEther = __esm({
|
|
35841
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
35841
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/unit/formatEther.js"() {
|
|
35842
35842
|
init_unit2();
|
|
35843
35843
|
init_formatUnits2();
|
|
35844
35844
|
}
|
|
35845
35845
|
});
|
|
35846
35846
|
|
|
35847
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
35847
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/unit/formatGwei.js
|
|
35848
35848
|
function formatGwei2(wei, unit = "wei") {
|
|
35849
35849
|
return formatUnits2(wei, gweiUnits2[unit]);
|
|
35850
35850
|
}
|
|
35851
35851
|
var init_formatGwei2 = __esm({
|
|
35852
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
35852
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/unit/formatGwei.js"() {
|
|
35853
35853
|
init_unit2();
|
|
35854
35854
|
init_formatUnits2();
|
|
35855
35855
|
}
|
|
35856
35856
|
});
|
|
35857
35857
|
|
|
35858
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
35858
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/stateOverride.js
|
|
35859
35859
|
function prettyStateMapping(stateMapping) {
|
|
35860
35860
|
return stateMapping.reduce((pretty, { slot, value }) => {
|
|
35861
35861
|
return `${pretty} ${slot}: ${value}
|
|
@@ -35888,7 +35888,7 @@ function prettyStateOverride(stateOverride) {
|
|
|
35888
35888
|
}
|
|
35889
35889
|
var AccountStateConflictError, StateAssignmentConflictError;
|
|
35890
35890
|
var init_stateOverride = __esm({
|
|
35891
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
35891
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/stateOverride.js"() {
|
|
35892
35892
|
init_base2();
|
|
35893
35893
|
AccountStateConflictError = class extends BaseError3 {
|
|
35894
35894
|
constructor({ address }) {
|
|
@@ -35907,7 +35907,7 @@ var init_stateOverride = __esm({
|
|
|
35907
35907
|
}
|
|
35908
35908
|
});
|
|
35909
35909
|
|
|
35910
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
35910
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/transaction.js
|
|
35911
35911
|
function prettyPrint2(args) {
|
|
35912
35912
|
const entries = Object.entries(args).map(([key, value]) => {
|
|
35913
35913
|
if (value === void 0 || value === false)
|
|
@@ -35919,7 +35919,7 @@ function prettyPrint2(args) {
|
|
|
35919
35919
|
}
|
|
35920
35920
|
var InvalidLegacyVError2, InvalidSerializableTransactionError2, InvalidStorageKeySizeError2, TransactionExecutionError, TransactionNotFoundError, TransactionReceiptNotFoundError, TransactionReceiptRevertedError, WaitForTransactionReceiptTimeoutError;
|
|
35921
35921
|
var init_transaction2 = __esm({
|
|
35922
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
35922
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/transaction.js"() {
|
|
35923
35923
|
init_formatEther();
|
|
35924
35924
|
init_formatGwei2();
|
|
35925
35925
|
init_base2();
|
|
@@ -36041,7 +36041,7 @@ var init_transaction2 = __esm({
|
|
|
36041
36041
|
}
|
|
36042
36042
|
});
|
|
36043
36043
|
|
|
36044
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
36044
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/utils.js
|
|
36045
36045
|
function getAbortError(signal) {
|
|
36046
36046
|
if (signal?.reason)
|
|
36047
36047
|
return signal.reason;
|
|
@@ -36056,7 +36056,7 @@ function isAbortError(error) {
|
|
|
36056
36056
|
}
|
|
36057
36057
|
var getContractAddress, getUrl;
|
|
36058
36058
|
var init_utils4 = __esm({
|
|
36059
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
36059
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/utils.js"() {
|
|
36060
36060
|
getContractAddress = (address) => address;
|
|
36061
36061
|
getUrl = (url) => {
|
|
36062
36062
|
try {
|
|
@@ -36073,10 +36073,10 @@ var init_utils4 = __esm({
|
|
|
36073
36073
|
}
|
|
36074
36074
|
});
|
|
36075
36075
|
|
|
36076
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
36076
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/contract.js
|
|
36077
36077
|
var CallExecutionError, ContractFunctionExecutionError, ContractFunctionRevertedError, ContractFunctionZeroDataError, CounterfactualDeploymentFailedError, RawContractError;
|
|
36078
36078
|
var init_contract = __esm({
|
|
36079
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
36079
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/contract.js"() {
|
|
36080
36080
|
init_parseAccount();
|
|
36081
36081
|
init_solidity();
|
|
36082
36082
|
init_decodeErrorResult();
|
|
@@ -36330,10 +36330,10 @@ ${prettyStateOverride(stateOverride)}`;
|
|
|
36330
36330
|
}
|
|
36331
36331
|
});
|
|
36332
36332
|
|
|
36333
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
36333
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/request.js
|
|
36334
36334
|
var HttpRequestError, RpcRequestError, TimeoutError;
|
|
36335
36335
|
var init_request = __esm({
|
|
36336
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
36336
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/request.js"() {
|
|
36337
36337
|
init_stringify2();
|
|
36338
36338
|
init_base2();
|
|
36339
36339
|
init_utils4();
|
|
@@ -36429,10 +36429,10 @@ var init_request = __esm({
|
|
|
36429
36429
|
}
|
|
36430
36430
|
});
|
|
36431
36431
|
|
|
36432
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
36432
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/rpc.js
|
|
36433
36433
|
var unknownErrorCode, RpcError, ProviderRpcError, ParseRpcError, InvalidRequestRpcError, MethodNotFoundRpcError, InvalidParamsRpcError, InternalRpcError, InvalidInputRpcError, ResourceNotFoundRpcError, ResourceUnavailableRpcError, TransactionRejectedRpcError, MethodNotSupportedRpcError, LimitExceededRpcError, JsonRpcVersionUnsupportedError, UserRejectedRequestError, UnauthorizedProviderError, UnsupportedProviderMethodError, ProviderDisconnectedError, ChainDisconnectedError, SwitchChainError, UnsupportedNonOptionalCapabilityError, UnsupportedChainIdError, DuplicateIdError, UnknownBundleIdError, BundleTooLargeError, AtomicReadyWalletRejectedUpgradeError, AtomicityNotSupportedError, WalletConnectSessionSettlementError, UnknownRpcError;
|
|
36434
36434
|
var init_rpc = __esm({
|
|
36435
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
36435
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/rpc.js"() {
|
|
36436
36436
|
init_base2();
|
|
36437
36437
|
init_request();
|
|
36438
36438
|
unknownErrorCode = -1;
|
|
@@ -36879,10 +36879,10 @@ var init_rpc = __esm({
|
|
|
36879
36879
|
}
|
|
36880
36880
|
});
|
|
36881
36881
|
|
|
36882
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
36882
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/node.js
|
|
36883
36883
|
var ExecutionRevertedError2, FeeCapTooHighError2, FeeCapTooLowError2, NonceTooHighError2, NonceTooLowError2, NonceMaxValueError2, InsufficientFundsError2, IntrinsicGasTooHighError2, IntrinsicGasTooLowError2, TransactionTypeNotSupportedError2, TipAboveFeeCapError2, UnknownNodeError;
|
|
36884
36884
|
var init_node2 = __esm({
|
|
36885
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
36885
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/node.js"() {
|
|
36886
36886
|
init_formatGwei2();
|
|
36887
36887
|
init_base2();
|
|
36888
36888
|
ExecutionRevertedError2 = class extends BaseError3 {
|
|
@@ -37065,7 +37065,7 @@ var init_node2 = __esm({
|
|
|
37065
37065
|
}
|
|
37066
37066
|
});
|
|
37067
37067
|
|
|
37068
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
37068
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/errors/getNodeError.js
|
|
37069
37069
|
function getNodeError(err, args) {
|
|
37070
37070
|
const message = (err.details || "").toLowerCase();
|
|
37071
37071
|
const executionRevertedError = err instanceof BaseError3 ? err.walk((e) => e?.code === ExecutionRevertedError2.code) : err;
|
|
@@ -37114,13 +37114,13 @@ function getNodeError(err, args) {
|
|
|
37114
37114
|
});
|
|
37115
37115
|
}
|
|
37116
37116
|
var init_getNodeError = __esm({
|
|
37117
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
37117
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/errors/getNodeError.js"() {
|
|
37118
37118
|
init_base2();
|
|
37119
37119
|
init_node2();
|
|
37120
37120
|
}
|
|
37121
37121
|
});
|
|
37122
37122
|
|
|
37123
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
37123
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/formatters/extract.js
|
|
37124
37124
|
function extract(value_, { format }) {
|
|
37125
37125
|
if (!format)
|
|
37126
37126
|
return {};
|
|
@@ -37139,11 +37139,11 @@ function extract(value_, { format }) {
|
|
|
37139
37139
|
return value;
|
|
37140
37140
|
}
|
|
37141
37141
|
var init_extract = __esm({
|
|
37142
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
37142
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/formatters/extract.js"() {
|
|
37143
37143
|
}
|
|
37144
37144
|
});
|
|
37145
37145
|
|
|
37146
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
37146
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/formatters/transactionRequest.js
|
|
37147
37147
|
function formatTransactionRequest(request, _) {
|
|
37148
37148
|
const rpcRequest = {};
|
|
37149
37149
|
if (typeof request.authorizationList !== "undefined")
|
|
@@ -37197,7 +37197,7 @@ function formatAuthorizationList(authorizationList) {
|
|
|
37197
37197
|
}
|
|
37198
37198
|
var rpcTransactionType;
|
|
37199
37199
|
var init_transactionRequest = __esm({
|
|
37200
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
37200
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/formatters/transactionRequest.js"() {
|
|
37201
37201
|
init_toHex2();
|
|
37202
37202
|
rpcTransactionType = {
|
|
37203
37203
|
legacy: "0x0",
|
|
@@ -37209,7 +37209,7 @@ var init_transactionRequest = __esm({
|
|
|
37209
37209
|
}
|
|
37210
37210
|
});
|
|
37211
37211
|
|
|
37212
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
37212
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/stateOverride.js
|
|
37213
37213
|
function serializeStateMapping(stateMapping) {
|
|
37214
37214
|
if (!stateMapping || stateMapping.length === 0)
|
|
37215
37215
|
return void 0;
|
|
@@ -37262,7 +37262,7 @@ function serializeStateOverride(parameters) {
|
|
|
37262
37262
|
return rpcStateOverride;
|
|
37263
37263
|
}
|
|
37264
37264
|
var init_stateOverride2 = __esm({
|
|
37265
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
37265
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/stateOverride.js"() {
|
|
37266
37266
|
init_address3();
|
|
37267
37267
|
init_data2();
|
|
37268
37268
|
init_stateOverride();
|
|
@@ -37271,10 +37271,10 @@ var init_stateOverride2 = __esm({
|
|
|
37271
37271
|
}
|
|
37272
37272
|
});
|
|
37273
37273
|
|
|
37274
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
37274
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/constants/number.js
|
|
37275
37275
|
var maxInt82, maxInt162, maxInt242, maxInt322, maxInt402, maxInt482, maxInt562, maxInt642, maxInt722, maxInt802, maxInt882, maxInt962, maxInt1042, maxInt1122, maxInt1202, maxInt1282, maxInt1362, maxInt1442, maxInt1522, maxInt1602, maxInt1682, maxInt1762, maxInt1842, maxInt1922, maxInt2002, maxInt2082, maxInt2162, maxInt2242, maxInt2322, maxInt2402, maxInt2482, maxInt2562, minInt82, minInt162, minInt242, minInt322, minInt402, minInt482, minInt562, minInt642, minInt722, minInt802, minInt882, minInt962, minInt1042, minInt1122, minInt1202, minInt1282, minInt1362, minInt1442, minInt1522, minInt1602, minInt1682, minInt1762, minInt1842, minInt1922, minInt2002, minInt2082, minInt2162, minInt2242, minInt2322, minInt2402, minInt2482, minInt2562, maxUint82, maxUint162, maxUint242, maxUint322, maxUint402, maxUint482, maxUint562, maxUint642, maxUint722, maxUint802, maxUint882, maxUint962, maxUint1042, maxUint1122, maxUint1202, maxUint1282, maxUint1362, maxUint1442, maxUint1522, maxUint1602, maxUint1682, maxUint1762, maxUint1842, maxUint1922, maxUint2002, maxUint2082, maxUint2162, maxUint2242, maxUint2322, maxUint2402, maxUint2482, maxUint2562;
|
|
37276
37276
|
var init_number2 = __esm({
|
|
37277
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
37277
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/constants/number.js"() {
|
|
37278
37278
|
maxInt82 = 2n ** (8n - 1n) - 1n;
|
|
37279
37279
|
maxInt162 = 2n ** (16n - 1n) - 1n;
|
|
37280
37280
|
maxInt242 = 2n ** (24n - 1n) - 1n;
|
|
@@ -37374,7 +37374,7 @@ var init_number2 = __esm({
|
|
|
37374
37374
|
}
|
|
37375
37375
|
});
|
|
37376
37376
|
|
|
37377
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
37377
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/transaction/assertRequest.js
|
|
37378
37378
|
function assertRequest(args) {
|
|
37379
37379
|
const { account: account_, maxFeePerGas, maxPriorityFeePerGas, to } = args;
|
|
37380
37380
|
const account = account_ ? parseAccount(account_) : void 0;
|
|
@@ -37388,7 +37388,7 @@ function assertRequest(args) {
|
|
|
37388
37388
|
throw new TipAboveFeeCapError2({ maxFeePerGas, maxPriorityFeePerGas });
|
|
37389
37389
|
}
|
|
37390
37390
|
var init_assertRequest = __esm({
|
|
37391
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
37391
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/transaction/assertRequest.js"() {
|
|
37392
37392
|
init_parseAccount();
|
|
37393
37393
|
init_number2();
|
|
37394
37394
|
init_address3();
|
|
@@ -37397,7 +37397,7 @@ var init_assertRequest = __esm({
|
|
|
37397
37397
|
}
|
|
37398
37398
|
});
|
|
37399
37399
|
|
|
37400
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
37400
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/block/formatBlockParameter.js
|
|
37401
37401
|
function formatBlockParameter(parameters) {
|
|
37402
37402
|
const { blockHash, blockNumber, blockTag, requireCanonical } = parameters;
|
|
37403
37403
|
if (requireCanonical !== void 0 && !blockHash)
|
|
@@ -37409,13 +37409,13 @@ function formatBlockParameter(parameters) {
|
|
|
37409
37409
|
return blockTag ?? "latest";
|
|
37410
37410
|
}
|
|
37411
37411
|
var init_formatBlockParameter = __esm({
|
|
37412
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
37412
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/block/formatBlockParameter.js"() {
|
|
37413
37413
|
init_base2();
|
|
37414
37414
|
init_toHex2();
|
|
37415
37415
|
}
|
|
37416
37416
|
});
|
|
37417
37417
|
|
|
37418
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
37418
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/address/isAddressEqual.js
|
|
37419
37419
|
function isAddressEqual(a, b) {
|
|
37420
37420
|
if (!isAddress2(a, { strict: false }))
|
|
37421
37421
|
throw new InvalidAddressError2({ address: a });
|
|
@@ -37424,13 +37424,13 @@ function isAddressEqual(a, b) {
|
|
|
37424
37424
|
return a.toLowerCase() === b.toLowerCase();
|
|
37425
37425
|
}
|
|
37426
37426
|
var init_isAddressEqual = __esm({
|
|
37427
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
37427
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/address/isAddressEqual.js"() {
|
|
37428
37428
|
init_address3();
|
|
37429
37429
|
init_isAddress2();
|
|
37430
37430
|
}
|
|
37431
37431
|
});
|
|
37432
37432
|
|
|
37433
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
37433
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/abi/decodeFunctionResult.js
|
|
37434
37434
|
function decodeFunctionResult(parameters) {
|
|
37435
37435
|
const { abi: abi2, args, functionName, data } = parameters;
|
|
37436
37436
|
let abiItem = abi2[0];
|
|
@@ -37453,7 +37453,7 @@ function decodeFunctionResult(parameters) {
|
|
|
37453
37453
|
}
|
|
37454
37454
|
var docsPath5;
|
|
37455
37455
|
var init_decodeFunctionResult = __esm({
|
|
37456
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
37456
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/abi/decodeFunctionResult.js"() {
|
|
37457
37457
|
init_abi2();
|
|
37458
37458
|
init_decodeAbiParameters();
|
|
37459
37459
|
init_getAbiItem2();
|
|
@@ -38219,10 +38219,10 @@ var init_BlockOverrides = __esm({
|
|
|
38219
38219
|
}
|
|
38220
38220
|
});
|
|
38221
38221
|
|
|
38222
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
38222
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/constants/abis.js
|
|
38223
38223
|
var multicall3Abi, batchGatewayAbi, universalResolverErrors, universalResolverResolveAbi, universalResolverReverseAbi, textResolverAbi, addressResolverAbi, erc1271Abi, erc6492SignatureValidatorAbi;
|
|
38224
38224
|
var init_abis = __esm({
|
|
38225
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
38225
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/constants/abis.js"() {
|
|
38226
38226
|
multicall3Abi = [
|
|
38227
38227
|
{
|
|
38228
38228
|
inputs: [
|
|
@@ -38577,18 +38577,18 @@ var init_abis = __esm({
|
|
|
38577
38577
|
}
|
|
38578
38578
|
});
|
|
38579
38579
|
|
|
38580
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
38580
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/constants/contract.js
|
|
38581
38581
|
var aggregate3Signature;
|
|
38582
38582
|
var init_contract2 = __esm({
|
|
38583
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
38583
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/constants/contract.js"() {
|
|
38584
38584
|
aggregate3Signature = "0x82ad56cb";
|
|
38585
38585
|
}
|
|
38586
38586
|
});
|
|
38587
38587
|
|
|
38588
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
38588
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/constants/contracts.js
|
|
38589
38589
|
var deploylessCallViaBytecodeBytecode, deploylessCallViaFactoryBytecode, erc6492SignatureValidatorByteCode, multicall3Bytecode;
|
|
38590
38590
|
var init_contracts = __esm({
|
|
38591
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
38591
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/constants/contracts.js"() {
|
|
38592
38592
|
deploylessCallViaBytecodeBytecode = "0x608060405234801561001057600080fd5b5060405161018e38038061018e83398101604081905261002f91610124565b6000808351602085016000f59050803b61004857600080fd5b6000808351602085016000855af16040513d6000823e81610067573d81fd5b3d81f35b634e487b7160e01b600052604160045260246000fd5b600082601f83011261009257600080fd5b81516001600160401b038111156100ab576100ab61006b565b604051601f8201601f19908116603f011681016001600160401b03811182821017156100d9576100d961006b565b6040528181528382016020018510156100f157600080fd5b60005b82811015610110576020818601810151838301820152016100f4565b506000918101602001919091529392505050565b6000806040838503121561013757600080fd5b82516001600160401b0381111561014d57600080fd5b61015985828601610081565b602085015190935090506001600160401b0381111561017757600080fd5b61018385828601610081565b915050925092905056fe";
|
|
38593
38593
|
deploylessCallViaFactoryBytecode = "0x608060405234801561001057600080fd5b506040516102c03803806102c083398101604081905261002f916101e6565b836001600160a01b03163b6000036100e457600080836001600160a01b03168360405161005c9190610270565b6000604051808303816000865af19150503d8060008114610099576040519150601f19603f3d011682016040523d82523d6000602084013e61009e565b606091505b50915091508115806100b857506001600160a01b0386163b155b156100e1578060405163101bb98d60e01b81526004016100d8919061028c565b60405180910390fd5b50505b6000808451602086016000885af16040513d6000823e81610103573d81fd5b3d81f35b80516001600160a01b038116811461011e57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b8381101561015457818101518382015260200161013c565b50506000910152565b600082601f83011261016e57600080fd5b81516001600160401b0381111561018757610187610123565b604051601f8201601f19908116603f011681016001600160401b03811182821017156101b5576101b5610123565b6040528181528382016020018510156101cd57600080fd5b6101de826020830160208701610139565b949350505050565b600080600080608085870312156101fc57600080fd5b61020585610107565b60208601519094506001600160401b0381111561022157600080fd5b61022d8782880161015d565b93505061023c60408601610107565b60608601519092506001600160401b0381111561025857600080fd5b6102648782880161015d565b91505092959194509250565b60008251610282818460208701610139565b9190910192915050565b60208152600082518060208401526102ab816040850160208701610139565b601f01601f1916919091016040019291505056fe";
|
|
38594
38594
|
erc6492SignatureValidatorByteCode = "0x608060405234801561001057600080fd5b5060405161069438038061069483398101604081905261002f9161051e565b600061003c848484610048565b9050806000526001601ff35b60007f64926492649264926492649264926492649264926492649264926492649264926100748361040c565b036101e7576000606080848060200190518101906100929190610577565b60405192955090935091506000906001600160a01b038516906100b69085906105dd565b6000604051808303816000865af19150503d80600081146100f3576040519150601f19603f3d011682016040523d82523d6000602084013e6100f8565b606091505b50509050876001600160a01b03163b60000361016057806101605760405162461bcd60e51b815260206004820152601e60248201527f5369676e617475726556616c696461746f723a206465706c6f796d656e74000060448201526064015b60405180910390fd5b604051630b135d3f60e11b808252906001600160a01b038a1690631626ba7e90610190908b9087906004016105f9565b602060405180830381865afa1580156101ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101d19190610633565b6001600160e01b03191614945050505050610405565b6001600160a01b0384163b1561027a57604051630b135d3f60e11b808252906001600160a01b03861690631626ba7e9061022790879087906004016105f9565b602060405180830381865afa158015610244573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102689190610633565b6001600160e01b031916149050610405565b81516041146102df5760405162461bcd60e51b815260206004820152603a602482015260008051602061067483398151915260448201527f3a20696e76616c6964207369676e6174757265206c656e6774680000000000006064820152608401610157565b6102e7610425565b5060208201516040808401518451859392600091859190811061030c5761030c61065d565b016020015160f81c9050601b811480159061032b57508060ff16601c14155b1561038c5760405162461bcd60e51b815260206004820152603b602482015260008051602061067483398151915260448201527f3a20696e76616c6964207369676e617475726520762076616c756500000000006064820152608401610157565b60408051600081526020810180835289905260ff83169181019190915260608101849052608081018390526001600160a01b0389169060019060a0016020604051602081039080840390855afa1580156103ea573d6000803e3d6000fd5b505050602060405103516001600160a01b0316149450505050505b9392505050565b600060208251101561041d57600080fd5b508051015190565b60405180606001604052806003906020820280368337509192915050565b6001600160a01b038116811461045857600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b60005b8381101561048c578181015183820152602001610474565b50506000910152565b600082601f8301126104a657600080fd5b81516001600160401b038111156104bf576104bf61045b565b604051601f8201601f19908116603f011681016001600160401b03811182821017156104ed576104ed61045b565b60405281815283820160200185101561050557600080fd5b610516826020830160208701610471565b949350505050565b60008060006060848603121561053357600080fd5b835161053e81610443565b6020850151604086015191945092506001600160401b0381111561056157600080fd5b61056d86828701610495565b9150509250925092565b60008060006060848603121561058c57600080fd5b835161059781610443565b60208501519093506001600160401b038111156105b357600080fd5b6105bf86828701610495565b604086015190935090506001600160401b0381111561056157600080fd5b600082516105ef818460208701610471565b9190910192915050565b828152604060208201526000825180604084015261061e816060850160208701610471565b601f01601f1916919091016060019392505050565b60006020828403121561064557600080fd5b81516001600160e01b03198116811461040557600080fd5b634e487b7160e01b600052603260045260246000fdfe5369676e617475726556616c696461746f72237265636f7665725369676e6572";
|
|
@@ -38596,10 +38596,10 @@ var init_contracts = __esm({
|
|
|
38596
38596
|
}
|
|
38597
38597
|
});
|
|
38598
38598
|
|
|
38599
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
38599
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/chain.js
|
|
38600
38600
|
var ChainDoesNotSupportContract, ClientChainNotConfiguredError, InvalidChainIdError2;
|
|
38601
38601
|
var init_chain2 = __esm({
|
|
38602
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
38602
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/chain.js"() {
|
|
38603
38603
|
init_base2();
|
|
38604
38604
|
ChainDoesNotSupportContract = class extends BaseError3 {
|
|
38605
38605
|
constructor({ blockNumber, chain: chain2, contract }) {
|
|
@@ -38631,7 +38631,7 @@ var init_chain2 = __esm({
|
|
|
38631
38631
|
}
|
|
38632
38632
|
});
|
|
38633
38633
|
|
|
38634
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
38634
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/abi/encodeDeployData.js
|
|
38635
38635
|
function encodeDeployData(parameters) {
|
|
38636
38636
|
const { abi: abi2, args, bytecode } = parameters;
|
|
38637
38637
|
if (!args || args.length === 0)
|
|
@@ -38648,7 +38648,7 @@ function encodeDeployData(parameters) {
|
|
|
38648
38648
|
}
|
|
38649
38649
|
var docsPath6;
|
|
38650
38650
|
var init_encodeDeployData = __esm({
|
|
38651
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
38651
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/abi/encodeDeployData.js"() {
|
|
38652
38652
|
init_abi2();
|
|
38653
38653
|
init_concat2();
|
|
38654
38654
|
init_encodeAbiParameters2();
|
|
@@ -38656,7 +38656,7 @@ var init_encodeDeployData = __esm({
|
|
|
38656
38656
|
}
|
|
38657
38657
|
});
|
|
38658
38658
|
|
|
38659
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
38659
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/chain/getChainContractAddress.js
|
|
38660
38660
|
function getChainContractAddress({ blockNumber, chain: chain2, contract: name }) {
|
|
38661
38661
|
const contract = chain2?.contracts?.[name];
|
|
38662
38662
|
if (!contract)
|
|
@@ -38676,12 +38676,12 @@ function getChainContractAddress({ blockNumber, chain: chain2, contract: name })
|
|
|
38676
38676
|
return contract.address;
|
|
38677
38677
|
}
|
|
38678
38678
|
var init_getChainContractAddress = __esm({
|
|
38679
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
38679
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/chain/getChainContractAddress.js"() {
|
|
38680
38680
|
init_chain2();
|
|
38681
38681
|
}
|
|
38682
38682
|
});
|
|
38683
38683
|
|
|
38684
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
38684
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/errors/getCallError.js
|
|
38685
38685
|
function getCallError(err, { docsPath: docsPath9, ...args }) {
|
|
38686
38686
|
const cause = (() => {
|
|
38687
38687
|
const cause2 = getNodeError(err, args);
|
|
@@ -38695,14 +38695,14 @@ function getCallError(err, { docsPath: docsPath9, ...args }) {
|
|
|
38695
38695
|
});
|
|
38696
38696
|
}
|
|
38697
38697
|
var init_getCallError = __esm({
|
|
38698
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
38698
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/errors/getCallError.js"() {
|
|
38699
38699
|
init_contract();
|
|
38700
38700
|
init_node2();
|
|
38701
38701
|
init_getNodeError();
|
|
38702
38702
|
}
|
|
38703
38703
|
});
|
|
38704
38704
|
|
|
38705
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
38705
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/promise/withResolvers.js
|
|
38706
38706
|
function withResolvers() {
|
|
38707
38707
|
let resolve = () => void 0;
|
|
38708
38708
|
let reject = () => void 0;
|
|
@@ -38713,11 +38713,11 @@ function withResolvers() {
|
|
|
38713
38713
|
return { promise, resolve, reject };
|
|
38714
38714
|
}
|
|
38715
38715
|
var init_withResolvers = __esm({
|
|
38716
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
38716
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/promise/withResolvers.js"() {
|
|
38717
38717
|
}
|
|
38718
38718
|
});
|
|
38719
38719
|
|
|
38720
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
38720
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/promise/createBatchScheduler.js
|
|
38721
38721
|
function createBatchScheduler({ fn, id, shouldSplitBatch, wait: wait2 = 0, sort }) {
|
|
38722
38722
|
const exec = async () => {
|
|
38723
38723
|
const scheduler = getScheduler();
|
|
@@ -38763,16 +38763,16 @@ function createBatchScheduler({ fn, id, shouldSplitBatch, wait: wait2 = 0, sort
|
|
|
38763
38763
|
}
|
|
38764
38764
|
var schedulerCache;
|
|
38765
38765
|
var init_createBatchScheduler = __esm({
|
|
38766
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
38766
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/promise/createBatchScheduler.js"() {
|
|
38767
38767
|
init_withResolvers();
|
|
38768
38768
|
schedulerCache = /* @__PURE__ */ new Map();
|
|
38769
38769
|
}
|
|
38770
38770
|
});
|
|
38771
38771
|
|
|
38772
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
38772
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/ccip.js
|
|
38773
38773
|
var OffchainLookupError, OffchainLookupResponseMalformedError, OffchainLookupSenderMismatchError;
|
|
38774
38774
|
var init_ccip = __esm({
|
|
38775
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
38775
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/ccip.js"() {
|
|
38776
38776
|
init_stringify2();
|
|
38777
38777
|
init_base2();
|
|
38778
38778
|
init_utils4();
|
|
@@ -38822,7 +38822,7 @@ var init_ccip = __esm({
|
|
|
38822
38822
|
}
|
|
38823
38823
|
});
|
|
38824
38824
|
|
|
38825
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
38825
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/abi/decodeFunctionData.js
|
|
38826
38826
|
function decodeFunctionData(parameters) {
|
|
38827
38827
|
const { abi: abi2, data } = parameters;
|
|
38828
38828
|
const signature = slice2(data, 0, 4);
|
|
@@ -38837,7 +38837,7 @@ function decodeFunctionData(parameters) {
|
|
|
38837
38837
|
};
|
|
38838
38838
|
}
|
|
38839
38839
|
var init_decodeFunctionData = __esm({
|
|
38840
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
38840
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/abi/decodeFunctionData.js"() {
|
|
38841
38841
|
init_abi2();
|
|
38842
38842
|
init_slice2();
|
|
38843
38843
|
init_toFunctionSelector2();
|
|
@@ -38846,7 +38846,7 @@ var init_decodeFunctionData = __esm({
|
|
|
38846
38846
|
}
|
|
38847
38847
|
});
|
|
38848
38848
|
|
|
38849
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
38849
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/abi/encodeErrorResult.js
|
|
38850
38850
|
function encodeErrorResult(parameters) {
|
|
38851
38851
|
const { abi: abi2, errorName, args } = parameters;
|
|
38852
38852
|
let abiItem = abi2[0];
|
|
@@ -38870,7 +38870,7 @@ function encodeErrorResult(parameters) {
|
|
|
38870
38870
|
}
|
|
38871
38871
|
var docsPath7;
|
|
38872
38872
|
var init_encodeErrorResult = __esm({
|
|
38873
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
38873
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/abi/encodeErrorResult.js"() {
|
|
38874
38874
|
init_abi2();
|
|
38875
38875
|
init_concat2();
|
|
38876
38876
|
init_toFunctionSelector2();
|
|
@@ -38881,7 +38881,7 @@ var init_encodeErrorResult = __esm({
|
|
|
38881
38881
|
}
|
|
38882
38882
|
});
|
|
38883
38883
|
|
|
38884
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
38884
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/abi/encodeFunctionResult.js
|
|
38885
38885
|
function encodeFunctionResult(parameters) {
|
|
38886
38886
|
const { abi: abi2, functionName, result } = parameters;
|
|
38887
38887
|
let abiItem = abi2[0];
|
|
@@ -38908,7 +38908,7 @@ function encodeFunctionResult(parameters) {
|
|
|
38908
38908
|
}
|
|
38909
38909
|
var docsPath8;
|
|
38910
38910
|
var init_encodeFunctionResult = __esm({
|
|
38911
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
38911
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/abi/encodeFunctionResult.js"() {
|
|
38912
38912
|
init_abi2();
|
|
38913
38913
|
init_encodeAbiParameters2();
|
|
38914
38914
|
init_getAbiItem2();
|
|
@@ -38916,7 +38916,7 @@ var init_encodeFunctionResult = __esm({
|
|
|
38916
38916
|
}
|
|
38917
38917
|
});
|
|
38918
38918
|
|
|
38919
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
38919
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/ens/localBatchGatewayRequest.js
|
|
38920
38920
|
async function localBatchGatewayRequest(parameters) {
|
|
38921
38921
|
const { data, ccipRequest: ccipRequest2 } = parameters;
|
|
38922
38922
|
const { args: [queries] } = decodeFunctionData({ abi: batchGatewayAbi, data });
|
|
@@ -38952,7 +38952,7 @@ function encodeError(error) {
|
|
|
38952
38952
|
}
|
|
38953
38953
|
var localBatchGatewayUrl;
|
|
38954
38954
|
var init_localBatchGatewayRequest = __esm({
|
|
38955
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
38955
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/ens/localBatchGatewayRequest.js"() {
|
|
38956
38956
|
init_abis();
|
|
38957
38957
|
init_solidity();
|
|
38958
38958
|
init_decodeFunctionData();
|
|
@@ -38962,7 +38962,7 @@ var init_localBatchGatewayRequest = __esm({
|
|
|
38962
38962
|
}
|
|
38963
38963
|
});
|
|
38964
38964
|
|
|
38965
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
38965
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/ccip.js
|
|
38966
38966
|
var ccip_exports = {};
|
|
38967
38967
|
__export(ccip_exports, {
|
|
38968
38968
|
ccipRequest: () => ccipRequest,
|
|
@@ -39067,7 +39067,7 @@ async function ccipRequest({ data, requestOptions, sender, urls }) {
|
|
|
39067
39067
|
}
|
|
39068
39068
|
var offchainLookupSignature, offchainLookupAbiItem;
|
|
39069
39069
|
var init_ccip2 = __esm({
|
|
39070
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
39070
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/ccip.js"() {
|
|
39071
39071
|
init_call();
|
|
39072
39072
|
init_ccip();
|
|
39073
39073
|
init_request();
|
|
@@ -39109,7 +39109,7 @@ var init_ccip2 = __esm({
|
|
|
39109
39109
|
}
|
|
39110
39110
|
});
|
|
39111
39111
|
|
|
39112
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
39112
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/actions/public/call.js
|
|
39113
39113
|
async function call(client, args) {
|
|
39114
39114
|
const { account: account_ = client.account, authorizationList, batch = Boolean(client.batch?.multicall), blockHash, blockNumber, blockTag = client.experimental_blockTag ?? "latest", requireCanonical, accessList, blobs, blockOverrides, code, data: data_, factory, factoryData, gas, gasPrice, maxFeePerBlobGas, maxFeePerGas, maxPriorityFeePerGas, nonce, requestOptions, to, value, stateOverride, ...rest } = args;
|
|
39115
39115
|
const account = account_ ? parseAccount(account_) : void 0;
|
|
@@ -39350,7 +39350,7 @@ function getRevertErrorData(err) {
|
|
|
39350
39350
|
}
|
|
39351
39351
|
var requestOptionsId, requestOptionsIds;
|
|
39352
39352
|
var init_call = __esm({
|
|
39353
|
-
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
39353
|
+
"../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/actions/public/call.js"() {
|
|
39354
39354
|
init_exports2();
|
|
39355
39355
|
init_BlockOverrides();
|
|
39356
39356
|
init_parseAccount();
|
|
@@ -40366,21 +40366,21 @@ function mnemonicToSeedSync(mnemonic, passphrase = "") {
|
|
|
40366
40366
|
return pbkdf2(sha512, normalize(mnemonic).nfkd, psalt(passphrase), { c: 2048, dkLen: 64 });
|
|
40367
40367
|
}
|
|
40368
40368
|
|
|
40369
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
40369
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/accounts/generatePrivateKey.js
|
|
40370
40370
|
init_secp256k1();
|
|
40371
40371
|
init_toHex();
|
|
40372
40372
|
function generatePrivateKey() {
|
|
40373
40373
|
return toHex(secp256k1.utils.randomPrivateKey());
|
|
40374
40374
|
}
|
|
40375
40375
|
|
|
40376
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
40376
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/accounts/hdKeyToAccount.js
|
|
40377
40377
|
init_toHex();
|
|
40378
40378
|
|
|
40379
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
40379
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/accounts/privateKeyToAccount.js
|
|
40380
40380
|
init_secp256k1();
|
|
40381
40381
|
init_toHex();
|
|
40382
40382
|
|
|
40383
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
40383
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/accounts/toAccount.js
|
|
40384
40384
|
init_address();
|
|
40385
40385
|
init_isAddress();
|
|
40386
40386
|
function toAccount(source) {
|
|
@@ -40407,10 +40407,10 @@ function toAccount(source) {
|
|
|
40407
40407
|
};
|
|
40408
40408
|
}
|
|
40409
40409
|
|
|
40410
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
40410
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/accounts/privateKeyToAccount.js
|
|
40411
40411
|
init_publicKeyToAddress();
|
|
40412
40412
|
|
|
40413
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
40413
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/accounts/utils/sign.js
|
|
40414
40414
|
init_secp256k1();
|
|
40415
40415
|
init_isHex();
|
|
40416
40416
|
init_toBytes();
|
|
@@ -40435,7 +40435,7 @@ async function sign({ hash: hash4, privateKey, to = "object" }) {
|
|
|
40435
40435
|
})();
|
|
40436
40436
|
}
|
|
40437
40437
|
|
|
40438
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
40438
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/accounts/utils/signAuthorization.js
|
|
40439
40439
|
init_hashAuthorization();
|
|
40440
40440
|
async function signAuthorization(parameters) {
|
|
40441
40441
|
const { chainId, nonce, privateKey, to = "object" } = parameters;
|
|
@@ -40455,13 +40455,13 @@ async function signAuthorization(parameters) {
|
|
|
40455
40455
|
return signature;
|
|
40456
40456
|
}
|
|
40457
40457
|
|
|
40458
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
40458
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/accounts/utils/signMessage.js
|
|
40459
40459
|
init_hashMessage();
|
|
40460
40460
|
async function signMessage({ message, privateKey }) {
|
|
40461
40461
|
return await sign({ hash: hashMessage(message), privateKey, to: "hex" });
|
|
40462
40462
|
}
|
|
40463
40463
|
|
|
40464
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
40464
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/accounts/utils/signTransaction.js
|
|
40465
40465
|
init_keccak256();
|
|
40466
40466
|
init_serializeTransaction();
|
|
40467
40467
|
async function signTransaction(parameters) {
|
|
@@ -40481,7 +40481,7 @@ async function signTransaction(parameters) {
|
|
|
40481
40481
|
return await serializer(transaction, signature);
|
|
40482
40482
|
}
|
|
40483
40483
|
|
|
40484
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
40484
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/accounts/utils/signTypedData.js
|
|
40485
40485
|
init_hashTypedData();
|
|
40486
40486
|
async function signTypedData(parameters) {
|
|
40487
40487
|
const { privateKey, ...typedData } = parameters;
|
|
@@ -40492,7 +40492,7 @@ async function signTypedData(parameters) {
|
|
|
40492
40492
|
});
|
|
40493
40493
|
}
|
|
40494
40494
|
|
|
40495
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
40495
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/accounts/privateKeyToAccount.js
|
|
40496
40496
|
function privateKeyToAccount(privateKey, options = {}) {
|
|
40497
40497
|
const { nonceManager } = options;
|
|
40498
40498
|
const publicKey = toHex(secp256k1.getPublicKey(privateKey.slice(2), false));
|
|
@@ -40523,7 +40523,7 @@ function privateKeyToAccount(privateKey, options = {}) {
|
|
|
40523
40523
|
};
|
|
40524
40524
|
}
|
|
40525
40525
|
|
|
40526
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
40526
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/accounts/hdKeyToAccount.js
|
|
40527
40527
|
function hdKeyToAccount(hdKey_, { accountIndex = 0, addressIndex = 0, changeIndex = 0, path: path2, ...options } = {}) {
|
|
40528
40528
|
const hdKey = hdKey_.derive(path2 || `m/44'/60'/${accountIndex}'/${changeIndex}/${addressIndex}`);
|
|
40529
40529
|
const account = privateKeyToAccount(toHex(hdKey.privateKey), options);
|
|
@@ -40534,7 +40534,7 @@ function hdKeyToAccount(hdKey_, { accountIndex = 0, addressIndex = 0, changeInde
|
|
|
40534
40534
|
};
|
|
40535
40535
|
}
|
|
40536
40536
|
|
|
40537
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
40537
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.4.3/node_modules/viem/_esm/accounts/mnemonicToAccount.js
|
|
40538
40538
|
function mnemonicToAccount(mnemonic, { passphrase, ...hdKeyOpts } = {}) {
|
|
40539
40539
|
const seed = mnemonicToSeedSync(mnemonic, passphrase);
|
|
40540
40540
|
return hdKeyToAccount(HDKey.fromMasterSeed(seed), hdKeyOpts);
|
|
@@ -40746,7 +40746,7 @@ function buildSafeSetupInitializer(params) {
|
|
|
40746
40746
|
});
|
|
40747
40747
|
}
|
|
40748
40748
|
|
|
40749
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
40749
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/getAction.js
|
|
40750
40750
|
function getAction(client, actionFn, name) {
|
|
40751
40751
|
const action_implicit = client[actionFn.name];
|
|
40752
40752
|
if (typeof action_implicit === "function")
|
|
@@ -40757,10 +40757,10 @@ function getAction(client, actionFn, name) {
|
|
|
40757
40757
|
return (params) => actionFn(client, params);
|
|
40758
40758
|
}
|
|
40759
40759
|
|
|
40760
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
40760
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/abi/encodeEventTopics.js
|
|
40761
40761
|
init_abi2();
|
|
40762
40762
|
|
|
40763
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
40763
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/log.js
|
|
40764
40764
|
init_base2();
|
|
40765
40765
|
var FilterTypeNotSupportedError = class extends BaseError3 {
|
|
40766
40766
|
constructor(type) {
|
|
@@ -40770,7 +40770,7 @@ var FilterTypeNotSupportedError = class extends BaseError3 {
|
|
|
40770
40770
|
}
|
|
40771
40771
|
};
|
|
40772
40772
|
|
|
40773
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
40773
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/abi/encodeEventTopics.js
|
|
40774
40774
|
init_toBytes2();
|
|
40775
40775
|
init_keccak2562();
|
|
40776
40776
|
init_toEventSelector2();
|
|
@@ -40815,10 +40815,10 @@ function encodeArg({ param, value }) {
|
|
|
40815
40815
|
return encodeAbiParameters2([param], [value]);
|
|
40816
40816
|
}
|
|
40817
40817
|
|
|
40818
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
40818
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/actions/public/createContractEventFilter.js
|
|
40819
40819
|
init_toHex2();
|
|
40820
40820
|
|
|
40821
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
40821
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/filters/createFilterRequestScope.js
|
|
40822
40822
|
function createFilterRequestScope(client, { method }) {
|
|
40823
40823
|
const requestMap = {};
|
|
40824
40824
|
if (client.transport.type === "fallback")
|
|
@@ -40829,7 +40829,7 @@ function createFilterRequestScope(client, { method }) {
|
|
|
40829
40829
|
return (id) => requestMap[id] || client.request;
|
|
40830
40830
|
}
|
|
40831
40831
|
|
|
40832
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
40832
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/actions/public/createContractEventFilter.js
|
|
40833
40833
|
async function createContractEventFilter(client, parameters) {
|
|
40834
40834
|
const { address, abi: abi2, args, eventName, fromBlock, strict, toBlock } = parameters;
|
|
40835
40835
|
const getRequest = createFilterRequestScope(client, {
|
|
@@ -40862,11 +40862,11 @@ async function createContractEventFilter(client, parameters) {
|
|
|
40862
40862
|
};
|
|
40863
40863
|
}
|
|
40864
40864
|
|
|
40865
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
40865
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/actions/public/estimateContractGas.js
|
|
40866
40866
|
init_parseAccount();
|
|
40867
40867
|
init_encodeFunctionData2();
|
|
40868
40868
|
|
|
40869
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
40869
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/errors/getContractError.js
|
|
40870
40870
|
init_abi2();
|
|
40871
40871
|
init_base2();
|
|
40872
40872
|
init_contract();
|
|
@@ -40900,11 +40900,11 @@ function getContractError(err, { abi: abi2, address, args, docsPath: docsPath9,
|
|
|
40900
40900
|
});
|
|
40901
40901
|
}
|
|
40902
40902
|
|
|
40903
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
40903
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/actions/public/estimateGas.js
|
|
40904
40904
|
init_parseAccount();
|
|
40905
40905
|
init_base2();
|
|
40906
40906
|
|
|
40907
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
40907
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/accounts/utils/publicKeyToAddress.js
|
|
40908
40908
|
init_getAddress2();
|
|
40909
40909
|
init_keccak2562();
|
|
40910
40910
|
function publicKeyToAddress2(publicKey) {
|
|
@@ -40912,7 +40912,7 @@ function publicKeyToAddress2(publicKey) {
|
|
|
40912
40912
|
return checksumAddress2(`0x${address}`);
|
|
40913
40913
|
}
|
|
40914
40914
|
|
|
40915
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
40915
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/signature/recoverPublicKey.js
|
|
40916
40916
|
init_isHex2();
|
|
40917
40917
|
init_size2();
|
|
40918
40918
|
init_fromHex2();
|
|
@@ -40947,17 +40947,17 @@ function toRecoveryBit(yParityOrV) {
|
|
|
40947
40947
|
throw new Error("Invalid yParityOrV value");
|
|
40948
40948
|
}
|
|
40949
40949
|
|
|
40950
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
40950
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/signature/recoverAddress.js
|
|
40951
40951
|
async function recoverAddress({ hash: hash4, signature }) {
|
|
40952
40952
|
return publicKeyToAddress2(await recoverPublicKey({ hash: hash4, signature }));
|
|
40953
40953
|
}
|
|
40954
40954
|
|
|
40955
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
40955
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/authorization/hashAuthorization.js
|
|
40956
40956
|
init_concat2();
|
|
40957
40957
|
init_toBytes2();
|
|
40958
40958
|
init_toHex2();
|
|
40959
40959
|
|
|
40960
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
40960
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/encoding/toRlp.js
|
|
40961
40961
|
init_base2();
|
|
40962
40962
|
init_cursor4();
|
|
40963
40963
|
init_toBytes2();
|
|
@@ -41050,7 +41050,7 @@ function getSizeOfLength2(length) {
|
|
|
41050
41050
|
throw new BaseError3("Length is too large.");
|
|
41051
41051
|
}
|
|
41052
41052
|
|
|
41053
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
41053
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/authorization/hashAuthorization.js
|
|
41054
41054
|
init_keccak2562();
|
|
41055
41055
|
function hashAuthorization2(parameters) {
|
|
41056
41056
|
const { chainId, nonce, to } = parameters;
|
|
@@ -41068,7 +41068,7 @@ function hashAuthorization2(parameters) {
|
|
|
41068
41068
|
return hash4;
|
|
41069
41069
|
}
|
|
41070
41070
|
|
|
41071
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
41071
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/authorization/recoverAuthorizationAddress.js
|
|
41072
41072
|
async function recoverAuthorizationAddress(parameters) {
|
|
41073
41073
|
const { authorization, signature } = parameters;
|
|
41074
41074
|
return recoverAddress({
|
|
@@ -41077,10 +41077,10 @@ async function recoverAuthorizationAddress(parameters) {
|
|
|
41077
41077
|
});
|
|
41078
41078
|
}
|
|
41079
41079
|
|
|
41080
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
41080
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/actions/public/estimateGas.js
|
|
41081
41081
|
init_toHex2();
|
|
41082
41082
|
|
|
41083
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
41083
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/estimateGas.js
|
|
41084
41084
|
init_formatEther();
|
|
41085
41085
|
init_formatGwei2();
|
|
41086
41086
|
init_base2();
|
|
@@ -41118,7 +41118,7 @@ var EstimateGasExecutionError = class extends BaseError3 {
|
|
|
41118
41118
|
}
|
|
41119
41119
|
};
|
|
41120
41120
|
|
|
41121
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
41121
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/errors/getEstimateGasError.js
|
|
41122
41122
|
init_node2();
|
|
41123
41123
|
init_getNodeError();
|
|
41124
41124
|
function getEstimateGasError(err, { docsPath: docsPath9, ...args }) {
|
|
@@ -41134,16 +41134,16 @@ function getEstimateGasError(err, { docsPath: docsPath9, ...args }) {
|
|
|
41134
41134
|
});
|
|
41135
41135
|
}
|
|
41136
41136
|
|
|
41137
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
41137
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/actions/public/estimateGas.js
|
|
41138
41138
|
init_extract();
|
|
41139
41139
|
init_transactionRequest();
|
|
41140
41140
|
init_stateOverride2();
|
|
41141
41141
|
init_assertRequest();
|
|
41142
41142
|
|
|
41143
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
41143
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/actions/wallet/prepareTransactionRequest.js
|
|
41144
41144
|
init_parseAccount();
|
|
41145
41145
|
|
|
41146
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
41146
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/fee.js
|
|
41147
41147
|
init_formatGwei2();
|
|
41148
41148
|
init_base2();
|
|
41149
41149
|
var BaseFeeScalarError = class extends BaseError3 {
|
|
@@ -41166,10 +41166,10 @@ var MaxFeePerGasTooLowError = class extends BaseError3 {
|
|
|
41166
41166
|
}
|
|
41167
41167
|
};
|
|
41168
41168
|
|
|
41169
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
41169
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/actions/public/estimateMaxPriorityFeePerGas.js
|
|
41170
41170
|
init_fromHex2();
|
|
41171
41171
|
|
|
41172
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
41172
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/block.js
|
|
41173
41173
|
init_base2();
|
|
41174
41174
|
var BlockNotFoundError = class extends BaseError3 {
|
|
41175
41175
|
constructor({ blockHash, blockNumber }) {
|
|
@@ -41182,10 +41182,10 @@ var BlockNotFoundError = class extends BaseError3 {
|
|
|
41182
41182
|
}
|
|
41183
41183
|
};
|
|
41184
41184
|
|
|
41185
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
41185
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/actions/public/getBlock.js
|
|
41186
41186
|
init_toHex2();
|
|
41187
41187
|
|
|
41188
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
41188
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/formatters/transaction.js
|
|
41189
41189
|
init_fromHex2();
|
|
41190
41190
|
var transactionType = {
|
|
41191
41191
|
"0x0": "legacy",
|
|
@@ -41258,7 +41258,7 @@ function formatAuthorizationList2(authorizationList) {
|
|
|
41258
41258
|
}));
|
|
41259
41259
|
}
|
|
41260
41260
|
|
|
41261
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
41261
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/formatters/block.js
|
|
41262
41262
|
function formatBlock(block, _) {
|
|
41263
41263
|
const transactions = (block.transactions ?? []).map((transaction) => {
|
|
41264
41264
|
if (typeof transaction === "string")
|
|
@@ -41284,7 +41284,7 @@ function formatBlock(block, _) {
|
|
|
41284
41284
|
};
|
|
41285
41285
|
}
|
|
41286
41286
|
|
|
41287
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
41287
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/actions/public/getBlock.js
|
|
41288
41288
|
async function getBlock(client, { blockHash, blockNumber, blockTag = client.experimental_blockTag ?? "latest", includeTransactions: includeTransactions_ } = {}) {
|
|
41289
41289
|
const includeTransactions = includeTransactions_ ?? false;
|
|
41290
41290
|
const blockNumberHex = blockNumber !== void 0 ? numberToHex2(blockNumber) : void 0;
|
|
@@ -41306,7 +41306,7 @@ async function getBlock(client, { blockHash, blockNumber, blockTag = client.expe
|
|
|
41306
41306
|
return format(block, "getBlock");
|
|
41307
41307
|
}
|
|
41308
41308
|
|
|
41309
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
41309
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/actions/public/getGasPrice.js
|
|
41310
41310
|
async function getGasPrice(client) {
|
|
41311
41311
|
const gasPrice = await client.request({
|
|
41312
41312
|
method: "eth_gasPrice"
|
|
@@ -41314,7 +41314,7 @@ async function getGasPrice(client) {
|
|
|
41314
41314
|
return BigInt(gasPrice);
|
|
41315
41315
|
}
|
|
41316
41316
|
|
|
41317
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
41317
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/actions/public/estimateMaxPriorityFeePerGas.js
|
|
41318
41318
|
async function estimateMaxPriorityFeePerGas(client, args) {
|
|
41319
41319
|
return internal_estimateMaxPriorityFeePerGas(client, args);
|
|
41320
41320
|
}
|
|
@@ -41353,7 +41353,7 @@ async function internal_estimateMaxPriorityFeePerGas(client, args) {
|
|
|
41353
41353
|
}
|
|
41354
41354
|
}
|
|
41355
41355
|
|
|
41356
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
41356
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/actions/public/estimateFeesPerGas.js
|
|
41357
41357
|
async function estimateFeesPerGas(client, args) {
|
|
41358
41358
|
return internal_estimateFeesPerGas(client, args);
|
|
41359
41359
|
}
|
|
@@ -41406,7 +41406,7 @@ async function internal_estimateFeesPerGas(client, args) {
|
|
|
41406
41406
|
};
|
|
41407
41407
|
}
|
|
41408
41408
|
|
|
41409
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
41409
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/actions/public/getTransactionCount.js
|
|
41410
41410
|
init_formatBlockParameter();
|
|
41411
41411
|
init_fromHex2();
|
|
41412
41412
|
async function getTransactionCount(client, { address, blockHash, blockNumber, blockTag = "latest", requireCanonical }) {
|
|
@@ -41425,7 +41425,7 @@ async function getTransactionCount(client, { address, blockHash, blockNumber, bl
|
|
|
41425
41425
|
return hexToNumber3(count);
|
|
41426
41426
|
}
|
|
41427
41427
|
|
|
41428
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
41428
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/blob/blobsToCommitments.js
|
|
41429
41429
|
init_toBytes2();
|
|
41430
41430
|
init_toHex2();
|
|
41431
41431
|
function blobsToCommitments2(parameters) {
|
|
@@ -41438,7 +41438,7 @@ function blobsToCommitments2(parameters) {
|
|
|
41438
41438
|
return to === "bytes" ? commitments : commitments.map((x) => bytesToHex4(x));
|
|
41439
41439
|
}
|
|
41440
41440
|
|
|
41441
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
41441
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/blob/blobsToProofs.js
|
|
41442
41442
|
init_toBytes2();
|
|
41443
41443
|
init_toHex2();
|
|
41444
41444
|
function blobsToProofs2(parameters) {
|
|
@@ -41455,10 +41455,10 @@ function blobsToProofs2(parameters) {
|
|
|
41455
41455
|
return to === "bytes" ? proofs : proofs.map((x) => bytesToHex4(x));
|
|
41456
41456
|
}
|
|
41457
41457
|
|
|
41458
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
41458
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/blob/commitmentToVersionedHash.js
|
|
41459
41459
|
init_toHex2();
|
|
41460
41460
|
|
|
41461
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
41461
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/hash/sha256.js
|
|
41462
41462
|
init_sha256();
|
|
41463
41463
|
init_isHex2();
|
|
41464
41464
|
init_toBytes2();
|
|
@@ -41471,7 +41471,7 @@ function sha2564(value, to_) {
|
|
|
41471
41471
|
return toHex2(bytes);
|
|
41472
41472
|
}
|
|
41473
41473
|
|
|
41474
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
41474
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/blob/commitmentToVersionedHash.js
|
|
41475
41475
|
function commitmentToVersionedHash2(parameters) {
|
|
41476
41476
|
const { commitment, version: version5 = 1 } = parameters;
|
|
41477
41477
|
const to = parameters.to ?? (typeof commitment === "string" ? "hex" : "bytes");
|
|
@@ -41480,7 +41480,7 @@ function commitmentToVersionedHash2(parameters) {
|
|
|
41480
41480
|
return to === "bytes" ? versionedHash : bytesToHex4(versionedHash);
|
|
41481
41481
|
}
|
|
41482
41482
|
|
|
41483
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
41483
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/blob/commitmentsToVersionedHashes.js
|
|
41484
41484
|
function commitmentsToVersionedHashes2(parameters) {
|
|
41485
41485
|
const { commitments, version: version5 } = parameters;
|
|
41486
41486
|
const to = parameters.to ?? (typeof commitments[0] === "string" ? "hex" : "bytes");
|
|
@@ -41495,7 +41495,7 @@ function commitmentsToVersionedHashes2(parameters) {
|
|
|
41495
41495
|
return hashes;
|
|
41496
41496
|
}
|
|
41497
41497
|
|
|
41498
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
41498
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/constants/blob.js
|
|
41499
41499
|
var blobsPerTransaction2 = 6;
|
|
41500
41500
|
var bytesPerFieldElement2 = 32;
|
|
41501
41501
|
var fieldElementsPerBlob2 = 4096;
|
|
@@ -41504,10 +41504,10 @@ var maxBytesPerTransaction2 = bytesPerBlob2 * blobsPerTransaction2 - // terminat
|
|
|
41504
41504
|
1 - // zero byte (0x00) appended to each field element.
|
|
41505
41505
|
1 * fieldElementsPerBlob2 * blobsPerTransaction2;
|
|
41506
41506
|
|
|
41507
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
41507
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/constants/kzg.js
|
|
41508
41508
|
var versionedHashVersionKzg2 = 1;
|
|
41509
41509
|
|
|
41510
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
41510
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/blob.js
|
|
41511
41511
|
init_base2();
|
|
41512
41512
|
var BlobSizeTooLargeError2 = class extends BaseError3 {
|
|
41513
41513
|
constructor({ maxSize, size: size6 }) {
|
|
@@ -41542,7 +41542,7 @@ var InvalidVersionedHashVersionError2 = class extends BaseError3 {
|
|
|
41542
41542
|
}
|
|
41543
41543
|
};
|
|
41544
41544
|
|
|
41545
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
41545
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/blob/toBlobs.js
|
|
41546
41546
|
init_cursor4();
|
|
41547
41547
|
init_size2();
|
|
41548
41548
|
init_toBytes2();
|
|
@@ -41581,7 +41581,7 @@ function toBlobs2(parameters) {
|
|
|
41581
41581
|
return to === "bytes" ? blobs.map((x) => x.bytes) : blobs.map((x) => bytesToHex4(x.bytes));
|
|
41582
41582
|
}
|
|
41583
41583
|
|
|
41584
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
41584
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/blob/toBlobSidecars.js
|
|
41585
41585
|
function toBlobSidecars2(parameters) {
|
|
41586
41586
|
const { data, kzg, to } = parameters;
|
|
41587
41587
|
const blobs = parameters.blobs ?? toBlobs2({ data, to });
|
|
@@ -41597,11 +41597,11 @@ function toBlobSidecars2(parameters) {
|
|
|
41597
41597
|
return sidecars;
|
|
41598
41598
|
}
|
|
41599
41599
|
|
|
41600
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
41600
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/actions/wallet/prepareTransactionRequest.js
|
|
41601
41601
|
init_lru2();
|
|
41602
41602
|
init_assertRequest();
|
|
41603
41603
|
|
|
41604
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
41604
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/transaction/getTransactionType.js
|
|
41605
41605
|
init_transaction2();
|
|
41606
41606
|
function getTransactionType2(transaction) {
|
|
41607
41607
|
if (transaction.type)
|
|
@@ -41621,10 +41621,10 @@ function getTransactionType2(transaction) {
|
|
|
41621
41621
|
throw new InvalidSerializableTransactionError2({ transaction });
|
|
41622
41622
|
}
|
|
41623
41623
|
|
|
41624
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
41624
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/actions/public/fillTransaction.js
|
|
41625
41625
|
init_parseAccount();
|
|
41626
41626
|
|
|
41627
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
41627
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/errors/getTransactionError.js
|
|
41628
41628
|
init_node2();
|
|
41629
41629
|
init_transaction2();
|
|
41630
41630
|
init_getNodeError();
|
|
@@ -41641,12 +41641,12 @@ function getTransactionError(err, { docsPath: docsPath9, ...args }) {
|
|
|
41641
41641
|
});
|
|
41642
41642
|
}
|
|
41643
41643
|
|
|
41644
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
41644
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/actions/public/fillTransaction.js
|
|
41645
41645
|
init_extract();
|
|
41646
41646
|
init_transactionRequest();
|
|
41647
41647
|
init_assertRequest();
|
|
41648
41648
|
|
|
41649
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
41649
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/actions/public/getChainId.js
|
|
41650
41650
|
init_fromHex2();
|
|
41651
41651
|
async function getChainId(client) {
|
|
41652
41652
|
const chainIdHex = await client.request({
|
|
@@ -41655,7 +41655,7 @@ async function getChainId(client) {
|
|
|
41655
41655
|
return hexToNumber3(chainIdHex);
|
|
41656
41656
|
}
|
|
41657
41657
|
|
|
41658
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
41658
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/actions/public/fillTransaction.js
|
|
41659
41659
|
async function fillTransaction(client, parameters) {
|
|
41660
41660
|
const { account = client.account, accessList, authorizationList, chain: chain2 = client.chain, blobVersionedHashes, blobs, data, gas, gasPrice, maxFeePerBlobGas, maxFeePerGas, maxPriorityFeePerGas, nonce: nonce_, nonceManager, to, type, value, ...rest } = parameters;
|
|
41661
41661
|
const nonce = await (async () => {
|
|
@@ -41760,7 +41760,7 @@ async function fillTransaction(client, parameters) {
|
|
|
41760
41760
|
}
|
|
41761
41761
|
}
|
|
41762
41762
|
|
|
41763
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
41763
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/actions/wallet/prepareTransactionRequest.js
|
|
41764
41764
|
var defaultParameters = [
|
|
41765
41765
|
"blobVersionedHashes",
|
|
41766
41766
|
"chainId",
|
|
@@ -41981,7 +41981,7 @@ async function prepareTransactionRequest(client, args) {
|
|
|
41981
41981
|
return request;
|
|
41982
41982
|
}
|
|
41983
41983
|
|
|
41984
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
41984
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/actions/public/estimateGas.js
|
|
41985
41985
|
async function estimateGas(client, args) {
|
|
41986
41986
|
const { account: account_ = client.account, prepare = true } = args;
|
|
41987
41987
|
const account = account_ ? parseAccount(account_) : void 0;
|
|
@@ -42051,7 +42051,7 @@ async function estimateGas(client, args) {
|
|
|
42051
42051
|
}
|
|
42052
42052
|
}
|
|
42053
42053
|
|
|
42054
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
42054
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/actions/public/estimateContractGas.js
|
|
42055
42055
|
async function estimateContractGas(client, parameters) {
|
|
42056
42056
|
const { abi: abi2, address, args, functionName, dataSuffix = typeof client.dataSuffix === "string" ? client.dataSuffix : client.dataSuffix?.value, ...request } = parameters;
|
|
42057
42057
|
const data = encodeFunctionData2({
|
|
@@ -42079,14 +42079,14 @@ async function estimateContractGas(client, parameters) {
|
|
|
42079
42079
|
}
|
|
42080
42080
|
}
|
|
42081
42081
|
|
|
42082
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
42082
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/actions/public/getContractEvents.js
|
|
42083
42083
|
init_getAbiItem2();
|
|
42084
42084
|
|
|
42085
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
42085
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/abi/parseEventLogs.js
|
|
42086
42086
|
init_isAddressEqual();
|
|
42087
42087
|
init_toBytes2();
|
|
42088
42088
|
|
|
42089
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
42089
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/formatters/log.js
|
|
42090
42090
|
function formatLog(log, { args, eventName } = {}) {
|
|
42091
42091
|
return {
|
|
42092
42092
|
...log,
|
|
@@ -42100,11 +42100,11 @@ function formatLog(log, { args, eventName } = {}) {
|
|
|
42100
42100
|
};
|
|
42101
42101
|
}
|
|
42102
42102
|
|
|
42103
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
42103
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/abi/parseEventLogs.js
|
|
42104
42104
|
init_keccak2562();
|
|
42105
42105
|
init_toEventSelector2();
|
|
42106
42106
|
|
|
42107
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
42107
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/abi/decodeEventLog.js
|
|
42108
42108
|
init_abi2();
|
|
42109
42109
|
init_cursor3();
|
|
42110
42110
|
init_size2();
|
|
@@ -42197,7 +42197,7 @@ function decodeTopic({ param, value }) {
|
|
|
42197
42197
|
return decodedArg[0];
|
|
42198
42198
|
}
|
|
42199
42199
|
|
|
42200
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
42200
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/abi/parseEventLogs.js
|
|
42201
42201
|
function parseEventLogs(parameters) {
|
|
42202
42202
|
const { abi: abi2, args, logs, strict = true } = parameters;
|
|
42203
42203
|
const eventName = (() => {
|
|
@@ -42302,7 +42302,7 @@ function includesArgs(parameters) {
|
|
|
42302
42302
|
return false;
|
|
42303
42303
|
}
|
|
42304
42304
|
|
|
42305
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
42305
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/actions/public/getLogs.js
|
|
42306
42306
|
init_toHex2();
|
|
42307
42307
|
async function getLogs(client, { address, blockHash, fromBlock, toBlock, event, events: events_, args, strict: strict_ } = {}) {
|
|
42308
42308
|
const strict = strict_ ?? false;
|
|
@@ -42348,7 +42348,7 @@ async function getLogs(client, { address, blockHash, fromBlock, toBlock, event,
|
|
|
42348
42348
|
});
|
|
42349
42349
|
}
|
|
42350
42350
|
|
|
42351
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
42351
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/actions/public/getContractEvents.js
|
|
42352
42352
|
async function getContractEvents(client, parameters) {
|
|
42353
42353
|
const { abi: abi2, address, args, blockHash, eventName, fromBlock, toBlock, strict } = parameters;
|
|
42354
42354
|
const event = eventName ? getAbiItem2({ abi: abi2, name: eventName }) : void 0;
|
|
@@ -42365,7 +42365,7 @@ async function getContractEvents(client, parameters) {
|
|
|
42365
42365
|
});
|
|
42366
42366
|
}
|
|
42367
42367
|
|
|
42368
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
42368
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/actions/public/readContract.js
|
|
42369
42369
|
init_decodeFunctionResult();
|
|
42370
42370
|
init_encodeFunctionData2();
|
|
42371
42371
|
init_call();
|
|
@@ -42399,7 +42399,7 @@ async function readContract(client, parameters) {
|
|
|
42399
42399
|
}
|
|
42400
42400
|
}
|
|
42401
42401
|
|
|
42402
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
42402
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/actions/public/simulateContract.js
|
|
42403
42403
|
init_parseAccount();
|
|
42404
42404
|
init_decodeFunctionResult();
|
|
42405
42405
|
init_encodeFunctionData2();
|
|
@@ -42447,11 +42447,11 @@ async function simulateContract(client, parameters) {
|
|
|
42447
42447
|
}
|
|
42448
42448
|
}
|
|
42449
42449
|
|
|
42450
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
42450
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/actions/public/watchContractEvent.js
|
|
42451
42451
|
init_abi2();
|
|
42452
42452
|
init_rpc();
|
|
42453
42453
|
|
|
42454
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
42454
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/observe.js
|
|
42455
42455
|
var listenersCache = /* @__PURE__ */ new Map();
|
|
42456
42456
|
var cleanupCache = /* @__PURE__ */ new Map();
|
|
42457
42457
|
var callbackCount = 0;
|
|
@@ -42504,7 +42504,7 @@ function observe(observerId, callbacks, fn) {
|
|
|
42504
42504
|
return unwatch;
|
|
42505
42505
|
}
|
|
42506
42506
|
|
|
42507
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
42507
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/wait.js
|
|
42508
42508
|
init_utils4();
|
|
42509
42509
|
async function wait(time, { signal } = {}) {
|
|
42510
42510
|
return new Promise((resolve, reject) => {
|
|
@@ -42526,7 +42526,7 @@ async function wait(time, { signal } = {}) {
|
|
|
42526
42526
|
});
|
|
42527
42527
|
}
|
|
42528
42528
|
|
|
42529
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
42529
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/poll.js
|
|
42530
42530
|
function poll(fn, { emitOnBegin, initialWaitTime, interval }) {
|
|
42531
42531
|
let active = true;
|
|
42532
42532
|
const unwatch = () => active = false;
|
|
@@ -42549,10 +42549,10 @@ function poll(fn, { emitOnBegin, initialWaitTime, interval }) {
|
|
|
42549
42549
|
return unwatch;
|
|
42550
42550
|
}
|
|
42551
42551
|
|
|
42552
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
42552
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/actions/public/watchContractEvent.js
|
|
42553
42553
|
init_stringify2();
|
|
42554
42554
|
|
|
42555
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
42555
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/promise/withCache.js
|
|
42556
42556
|
var promiseCache = /* @__PURE__ */ new Map();
|
|
42557
42557
|
var responseCache = /* @__PURE__ */ new Map();
|
|
42558
42558
|
function getCache(cacheKey2) {
|
|
@@ -42594,7 +42594,7 @@ async function withCache(fn, { cacheKey: cacheKey2, cacheTime = Number.POSITIVE_
|
|
|
42594
42594
|
}
|
|
42595
42595
|
}
|
|
42596
42596
|
|
|
42597
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
42597
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/actions/public/getBlockNumber.js
|
|
42598
42598
|
var cacheKey = (id) => `blockNumber.${id}`;
|
|
42599
42599
|
async function getBlockNumber(client, { cacheTime = client.cacheTime } = {}) {
|
|
42600
42600
|
const blockNumberHex = await withCache(() => client.request({
|
|
@@ -42603,7 +42603,7 @@ async function getBlockNumber(client, { cacheTime = client.cacheTime } = {}) {
|
|
|
42603
42603
|
return BigInt(blockNumberHex);
|
|
42604
42604
|
}
|
|
42605
42605
|
|
|
42606
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
42606
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/actions/public/getFilterChanges.js
|
|
42607
42607
|
async function getFilterChanges(_client, { filter }) {
|
|
42608
42608
|
const strict = "strict" in filter && filter.strict;
|
|
42609
42609
|
const logs = await filter.request({
|
|
@@ -42622,7 +42622,7 @@ async function getFilterChanges(_client, { filter }) {
|
|
|
42622
42622
|
});
|
|
42623
42623
|
}
|
|
42624
42624
|
|
|
42625
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
42625
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/actions/public/uninstallFilter.js
|
|
42626
42626
|
async function uninstallFilter(_client, { filter }) {
|
|
42627
42627
|
return filter.request({
|
|
42628
42628
|
method: "eth_uninstallFilter",
|
|
@@ -42630,7 +42630,7 @@ async function uninstallFilter(_client, { filter }) {
|
|
|
42630
42630
|
});
|
|
42631
42631
|
}
|
|
42632
42632
|
|
|
42633
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
42633
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/actions/public/watchContractEvent.js
|
|
42634
42634
|
function watchContractEvent(client, parameters) {
|
|
42635
42635
|
const { abi: abi2, address, args, batch = true, eventName, fromBlock, onError, onLogs, poll: poll_, pollingInterval = client.pollingInterval, strict: strict_ } = parameters;
|
|
42636
42636
|
const enablePolling = (() => {
|
|
@@ -42806,7 +42806,7 @@ function watchContractEvent(client, parameters) {
|
|
|
42806
42806
|
return enablePolling ? pollContractEvent() : subscribeContractEvent();
|
|
42807
42807
|
}
|
|
42808
42808
|
|
|
42809
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
42809
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/actions/wallet/sendRawTransaction.js
|
|
42810
42810
|
async function sendRawTransaction(client, { serializedTransaction }) {
|
|
42811
42811
|
return client.request({
|
|
42812
42812
|
method: "eth_sendRawTransaction",
|
|
@@ -42814,7 +42814,7 @@ async function sendRawTransaction(client, { serializedTransaction }) {
|
|
|
42814
42814
|
}, { retryCount: 0 });
|
|
42815
42815
|
}
|
|
42816
42816
|
|
|
42817
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
42817
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/promise/withRetry.js
|
|
42818
42818
|
init_utils4();
|
|
42819
42819
|
function withRetry(fn, { delay: delay_ = 100, retryCount = 2, shouldRetry: shouldRetry2 = () => true, signal } = {}) {
|
|
42820
42820
|
return new Promise((resolve, reject) => {
|
|
@@ -42856,7 +42856,7 @@ function withRetry(fn, { delay: delay_ = 100, retryCount = 2, shouldRetry: shoul
|
|
|
42856
42856
|
});
|
|
42857
42857
|
}
|
|
42858
42858
|
|
|
42859
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
42859
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/formatters/transactionReceipt.js
|
|
42860
42860
|
init_fromHex2();
|
|
42861
42861
|
var receiptStatuses = {
|
|
42862
42862
|
"0x0": "reverted",
|
|
@@ -42883,10 +42883,10 @@ function formatTransactionReceipt(transactionReceipt, _) {
|
|
|
42883
42883
|
return receipt;
|
|
42884
42884
|
}
|
|
42885
42885
|
|
|
42886
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
42886
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/clients/createClient.js
|
|
42887
42887
|
init_parseAccount();
|
|
42888
42888
|
|
|
42889
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
42889
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/uid.js
|
|
42890
42890
|
var size5 = 256;
|
|
42891
42891
|
var index = size5;
|
|
42892
42892
|
var buffer;
|
|
@@ -42901,7 +42901,7 @@ function uid(length = 11) {
|
|
|
42901
42901
|
return buffer.substring(index, index++ + length);
|
|
42902
42902
|
}
|
|
42903
42903
|
|
|
42904
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
42904
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/clients/createClient.js
|
|
42905
42905
|
function createClient(parameters) {
|
|
42906
42906
|
const { batch, chain: chain2, ccipRead, dataSuffix, key = "base", name = "Base Client", type = "base" } = parameters;
|
|
42907
42907
|
const experimental_blockTag = parameters.experimental_blockTag ?? (typeof chain2?.experimental_preconfirmationTime === "number" ? "pending" : void 0);
|
|
@@ -42944,7 +42944,7 @@ function createClient(parameters) {
|
|
|
42944
42944
|
return Object.assign(client, { extend: extend(client) });
|
|
42945
42945
|
}
|
|
42946
42946
|
|
|
42947
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
42947
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/actions/ens/getEnsAddress.js
|
|
42948
42948
|
init_abis();
|
|
42949
42949
|
init_decodeFunctionResult();
|
|
42950
42950
|
init_encodeFunctionData2();
|
|
@@ -42954,7 +42954,7 @@ init_size2();
|
|
|
42954
42954
|
init_trim2();
|
|
42955
42955
|
init_toHex2();
|
|
42956
42956
|
|
|
42957
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
42957
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/ens/errors.js
|
|
42958
42958
|
init_base2();
|
|
42959
42959
|
init_contract();
|
|
42960
42960
|
function isNullUniversalResolverError(err) {
|
|
@@ -42978,16 +42978,16 @@ function isNullUniversalResolverError(err) {
|
|
|
42978
42978
|
return false;
|
|
42979
42979
|
}
|
|
42980
42980
|
|
|
42981
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
42981
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/actions/ens/getEnsAddress.js
|
|
42982
42982
|
init_localBatchGatewayRequest();
|
|
42983
42983
|
|
|
42984
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
42984
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/ens/namehash.js
|
|
42985
42985
|
init_concat2();
|
|
42986
42986
|
init_toBytes2();
|
|
42987
42987
|
init_toHex2();
|
|
42988
42988
|
init_keccak2562();
|
|
42989
42989
|
|
|
42990
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
42990
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/ens/encodedLabelToLabelhash.js
|
|
42991
42991
|
init_isHex2();
|
|
42992
42992
|
function encodedLabelToLabelhash(label) {
|
|
42993
42993
|
if (label.length !== 66)
|
|
@@ -43002,7 +43002,7 @@ function encodedLabelToLabelhash(label) {
|
|
|
43002
43002
|
return hash4;
|
|
43003
43003
|
}
|
|
43004
43004
|
|
|
43005
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
43005
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/ens/namehash.js
|
|
43006
43006
|
function namehash(name) {
|
|
43007
43007
|
let result = new Uint8Array(32).fill(0);
|
|
43008
43008
|
if (!name)
|
|
@@ -43016,15 +43016,15 @@ function namehash(name) {
|
|
|
43016
43016
|
return bytesToHex4(result);
|
|
43017
43017
|
}
|
|
43018
43018
|
|
|
43019
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
43019
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/ens/packetToBytes.js
|
|
43020
43020
|
init_toBytes2();
|
|
43021
43021
|
|
|
43022
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
43022
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/ens/encodeLabelhash.js
|
|
43023
43023
|
function encodeLabelhash(hash4) {
|
|
43024
43024
|
return `[${hash4.slice(2)}]`;
|
|
43025
43025
|
}
|
|
43026
43026
|
|
|
43027
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
43027
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/ens/labelhash.js
|
|
43028
43028
|
init_toBytes2();
|
|
43029
43029
|
init_toHex2();
|
|
43030
43030
|
init_keccak2562();
|
|
@@ -43035,7 +43035,7 @@ function labelhash(label) {
|
|
|
43035
43035
|
return encodedLabelToLabelhash(label) || keccak2562(stringToBytes2(label));
|
|
43036
43036
|
}
|
|
43037
43037
|
|
|
43038
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
43038
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/ens/packetToBytes.js
|
|
43039
43039
|
function packetToBytes(packet) {
|
|
43040
43040
|
const value = packet.replace(/^\.|\.$/gm, "");
|
|
43041
43041
|
if (value.length === 0)
|
|
@@ -43056,7 +43056,7 @@ function packetToBytes(packet) {
|
|
|
43056
43056
|
return bytes;
|
|
43057
43057
|
}
|
|
43058
43058
|
|
|
43059
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
43059
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/actions/ens/getEnsAddress.js
|
|
43060
43060
|
async function getEnsAddress(client, parameters) {
|
|
43061
43061
|
const { blockNumber, blockTag, coinType, name, gatewayUrls, strict } = parameters;
|
|
43062
43062
|
const { chain: chain2 } = client;
|
|
@@ -43133,7 +43133,7 @@ function decodeAddress2({ coinType, data, args }) {
|
|
|
43133
43133
|
}
|
|
43134
43134
|
}
|
|
43135
43135
|
|
|
43136
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
43136
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/ens.js
|
|
43137
43137
|
init_base2();
|
|
43138
43138
|
var EnsAvatarInvalidMetadataError = class extends BaseError3 {
|
|
43139
43139
|
constructor({ data }) {
|
|
@@ -43165,7 +43165,7 @@ var EnsAvatarUnsupportedNamespaceError = class extends BaseError3 {
|
|
|
43165
43165
|
}
|
|
43166
43166
|
};
|
|
43167
43167
|
|
|
43168
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
43168
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/ens/avatar/utils.js
|
|
43169
43169
|
var networkRegex = /(?<protocol>https?:\/\/[^/]*|ipfs:\/|ipns:\/|ar:\/)?(?<root>\/)?(?<subpath>ipfs\/|ipns\/)?(?<target>[\w\-.]+)(?<subtarget>\/.*)?/;
|
|
43170
43170
|
var ipfsHashRegex = /^(Qm[1-9A-HJ-NP-Za-km-z]{44,}|b[A-Za-z2-7]{58,}|B[A-Z2-7]{58,}|z[1-9A-HJ-NP-Za-km-z]{48,}|F[0-9A-F]{50,})(\/(?<target>[\w\-.]+))?(?<subtarget>\/.*)?$/;
|
|
43171
43171
|
var base64Regex = /^data:([a-zA-Z\-/+]*);base64,([^"].*)/;
|
|
@@ -43336,7 +43336,7 @@ async function getNftTokenUri(client, { nft }) {
|
|
|
43336
43336
|
throw new EnsAvatarUnsupportedNamespaceError({ namespace: nft.namespace });
|
|
43337
43337
|
}
|
|
43338
43338
|
|
|
43339
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
43339
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/ens/avatar/parseAvatarRecord.js
|
|
43340
43340
|
async function parseAvatarRecord(client, { gatewayUrls, record }) {
|
|
43341
43341
|
if (/eip155:/i.test(record))
|
|
43342
43342
|
return parseNftAvatarUri(client, { gatewayUrls, record });
|
|
@@ -43366,7 +43366,7 @@ async function parseNftAvatarUri(client, { gatewayUrls, record }) {
|
|
|
43366
43366
|
});
|
|
43367
43367
|
}
|
|
43368
43368
|
|
|
43369
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
43369
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/actions/ens/getEnsText.js
|
|
43370
43370
|
init_abis();
|
|
43371
43371
|
init_decodeFunctionResult();
|
|
43372
43372
|
init_encodeFunctionData2();
|
|
@@ -43426,7 +43426,7 @@ async function getEnsText(client, parameters) {
|
|
|
43426
43426
|
}
|
|
43427
43427
|
}
|
|
43428
43428
|
|
|
43429
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
43429
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/actions/ens/getEnsAvatar.js
|
|
43430
43430
|
async function getEnsAvatar(client, { blockNumber, blockTag, assetGatewayUrls, name, gatewayUrls, strict, universalResolverAddress }) {
|
|
43431
43431
|
const record = await getAction(client, getEnsText, "getEnsText")({
|
|
43432
43432
|
blockNumber,
|
|
@@ -43449,7 +43449,7 @@ async function getEnsAvatar(client, { blockNumber, blockTag, assetGatewayUrls, n
|
|
|
43449
43449
|
}
|
|
43450
43450
|
}
|
|
43451
43451
|
|
|
43452
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
43452
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/actions/ens/getEnsName.js
|
|
43453
43453
|
init_abis();
|
|
43454
43454
|
init_getChainContractAddress();
|
|
43455
43455
|
init_localBatchGatewayRequest();
|
|
@@ -43488,7 +43488,7 @@ async function getEnsName(client, parameters) {
|
|
|
43488
43488
|
}
|
|
43489
43489
|
}
|
|
43490
43490
|
|
|
43491
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
43491
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/actions/ens/getEnsResolver.js
|
|
43492
43492
|
init_getChainContractAddress();
|
|
43493
43493
|
init_toHex2();
|
|
43494
43494
|
async function getEnsResolver(client, parameters) {
|
|
@@ -43531,10 +43531,10 @@ async function getEnsResolver(client, parameters) {
|
|
|
43531
43531
|
return resolverAddress;
|
|
43532
43532
|
}
|
|
43533
43533
|
|
|
43534
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
43534
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/clients/decorators/public.js
|
|
43535
43535
|
init_call();
|
|
43536
43536
|
|
|
43537
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
43537
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/actions/public/createAccessList.js
|
|
43538
43538
|
init_parseAccount();
|
|
43539
43539
|
init_base2();
|
|
43540
43540
|
init_toHex2();
|
|
@@ -43584,7 +43584,7 @@ async function createAccessList(client, args) {
|
|
|
43584
43584
|
}
|
|
43585
43585
|
}
|
|
43586
43586
|
|
|
43587
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
43587
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/actions/public/createBlockFilter.js
|
|
43588
43588
|
async function createBlockFilter(client) {
|
|
43589
43589
|
const getRequest = createFilterRequestScope(client, {
|
|
43590
43590
|
method: "eth_newBlockFilter"
|
|
@@ -43595,7 +43595,7 @@ async function createBlockFilter(client) {
|
|
|
43595
43595
|
return { id, request: getRequest(id), type: "block" };
|
|
43596
43596
|
}
|
|
43597
43597
|
|
|
43598
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
43598
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/actions/public/createEventFilter.js
|
|
43599
43599
|
init_toHex2();
|
|
43600
43600
|
async function createEventFilter(client, { address, args, event, events: events_, fromBlock, strict, toBlock } = {}) {
|
|
43601
43601
|
const events = events_ ?? (event ? [event] : void 0);
|
|
@@ -43637,7 +43637,7 @@ async function createEventFilter(client, { address, args, event, events: events_
|
|
|
43637
43637
|
};
|
|
43638
43638
|
}
|
|
43639
43639
|
|
|
43640
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
43640
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/actions/public/createPendingTransactionFilter.js
|
|
43641
43641
|
async function createPendingTransactionFilter(client) {
|
|
43642
43642
|
const getRequest = createFilterRequestScope(client, {
|
|
43643
43643
|
method: "eth_newPendingTransactionFilter"
|
|
@@ -43648,7 +43648,7 @@ async function createPendingTransactionFilter(client) {
|
|
|
43648
43648
|
return { id, request: getRequest(id), type: "transaction" };
|
|
43649
43649
|
}
|
|
43650
43650
|
|
|
43651
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
43651
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/actions/public/getBalance.js
|
|
43652
43652
|
init_abis();
|
|
43653
43653
|
init_decodeFunctionResult();
|
|
43654
43654
|
init_encodeFunctionData2();
|
|
@@ -43690,7 +43690,7 @@ async function getBalance(client, { address, blockHash, blockNumber, blockTag =
|
|
|
43690
43690
|
return BigInt(balance);
|
|
43691
43691
|
}
|
|
43692
43692
|
|
|
43693
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
43693
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/actions/public/getBlobBaseFee.js
|
|
43694
43694
|
async function getBlobBaseFee(client) {
|
|
43695
43695
|
const baseFee = await client.request({
|
|
43696
43696
|
method: "eth_blobBaseFee"
|
|
@@ -43698,7 +43698,7 @@ async function getBlobBaseFee(client) {
|
|
|
43698
43698
|
return BigInt(baseFee);
|
|
43699
43699
|
}
|
|
43700
43700
|
|
|
43701
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
43701
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/actions/public/getBlockReceipts.js
|
|
43702
43702
|
init_toHex2();
|
|
43703
43703
|
async function getBlockReceipts(client, { blockHash, blockNumber, blockTag = client.experimental_blockTag ?? "latest" } = {}) {
|
|
43704
43704
|
const blockNumberHex = blockNumber !== void 0 ? numberToHex2(blockNumber) : void 0;
|
|
@@ -43712,7 +43712,7 @@ async function getBlockReceipts(client, { blockHash, blockNumber, blockTag = cli
|
|
|
43712
43712
|
return receipts.map((receipt) => format(receipt, "getBlockReceipts"));
|
|
43713
43713
|
}
|
|
43714
43714
|
|
|
43715
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
43715
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/actions/public/getBlockTransactionCount.js
|
|
43716
43716
|
init_fromHex2();
|
|
43717
43717
|
init_toHex2();
|
|
43718
43718
|
async function getBlockTransactionCount(client, { blockHash, blockNumber, blockTag = "latest" } = {}) {
|
|
@@ -43732,7 +43732,7 @@ async function getBlockTransactionCount(client, { blockHash, blockNumber, blockT
|
|
|
43732
43732
|
return hexToNumber3(count);
|
|
43733
43733
|
}
|
|
43734
43734
|
|
|
43735
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
43735
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/actions/public/getCode.js
|
|
43736
43736
|
init_formatBlockParameter();
|
|
43737
43737
|
async function getCode(client, { address, blockHash, blockNumber, blockTag = "latest", requireCanonical }) {
|
|
43738
43738
|
const block = formatBlockParameter({
|
|
@@ -43752,7 +43752,7 @@ async function getCode(client, { address, blockHash, blockNumber, blockTag = "la
|
|
|
43752
43752
|
return hex;
|
|
43753
43753
|
}
|
|
43754
43754
|
|
|
43755
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
43755
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/actions/public/getDelegation.js
|
|
43756
43756
|
init_getAddress2();
|
|
43757
43757
|
init_size2();
|
|
43758
43758
|
init_slice2();
|
|
@@ -43770,7 +43770,7 @@ async function getDelegation(client, { address, blockNumber, blockTag = "latest"
|
|
|
43770
43770
|
return getAddress(slice2(code, 3, 23));
|
|
43771
43771
|
}
|
|
43772
43772
|
|
|
43773
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
43773
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/eip712.js
|
|
43774
43774
|
init_base2();
|
|
43775
43775
|
var Eip712DomainNotFoundError = class extends BaseError3 {
|
|
43776
43776
|
constructor({ address }) {
|
|
@@ -43786,7 +43786,7 @@ var Eip712DomainNotFoundError = class extends BaseError3 {
|
|
|
43786
43786
|
}
|
|
43787
43787
|
};
|
|
43788
43788
|
|
|
43789
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
43789
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/actions/public/getEip712Domain.js
|
|
43790
43790
|
async function getEip712Domain(client, parameters) {
|
|
43791
43791
|
const { address, factory, factoryData } = parameters;
|
|
43792
43792
|
try {
|
|
@@ -43834,10 +43834,10 @@ var abi = [
|
|
|
43834
43834
|
}
|
|
43835
43835
|
];
|
|
43836
43836
|
|
|
43837
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
43837
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/actions/public/getFeeHistory.js
|
|
43838
43838
|
init_toHex2();
|
|
43839
43839
|
|
|
43840
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
43840
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/formatters/feeHistory.js
|
|
43841
43841
|
function formatFeeHistory(feeHistory) {
|
|
43842
43842
|
return {
|
|
43843
43843
|
baseFeePerGas: feeHistory.baseFeePerGas.map((value) => BigInt(value)),
|
|
@@ -43847,7 +43847,7 @@ function formatFeeHistory(feeHistory) {
|
|
|
43847
43847
|
};
|
|
43848
43848
|
}
|
|
43849
43849
|
|
|
43850
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
43850
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/actions/public/getFeeHistory.js
|
|
43851
43851
|
async function getFeeHistory(client, { blockCount, blockNumber, blockTag = "latest", rewardPercentiles }) {
|
|
43852
43852
|
const blockNumberHex = typeof blockNumber === "bigint" ? numberToHex2(blockNumber) : void 0;
|
|
43853
43853
|
const feeHistory = await client.request({
|
|
@@ -43861,7 +43861,7 @@ async function getFeeHistory(client, { blockCount, blockNumber, blockTag = "late
|
|
|
43861
43861
|
return formatFeeHistory(feeHistory);
|
|
43862
43862
|
}
|
|
43863
43863
|
|
|
43864
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
43864
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/actions/public/getFilterLogs.js
|
|
43865
43865
|
async function getFilterLogs(_client, { filter }) {
|
|
43866
43866
|
const strict = filter.strict ?? false;
|
|
43867
43867
|
const logs = await filter.request({
|
|
@@ -43878,19 +43878,19 @@ async function getFilterLogs(_client, { filter }) {
|
|
|
43878
43878
|
});
|
|
43879
43879
|
}
|
|
43880
43880
|
|
|
43881
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
43881
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/actions/public/getProof.js
|
|
43882
43882
|
init_formatBlockParameter();
|
|
43883
43883
|
|
|
43884
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
43884
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/authorization/serializeAuthorizationList.js
|
|
43885
43885
|
init_toHex2();
|
|
43886
43886
|
|
|
43887
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
43887
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/transaction/serializeTransaction.js
|
|
43888
43888
|
init_transaction2();
|
|
43889
43889
|
init_concat2();
|
|
43890
43890
|
init_trim2();
|
|
43891
43891
|
init_toHex2();
|
|
43892
43892
|
|
|
43893
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
43893
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/transaction/assertTransaction.js
|
|
43894
43894
|
init_number2();
|
|
43895
43895
|
init_address3();
|
|
43896
43896
|
init_base2();
|
|
@@ -43967,7 +43967,7 @@ function assertTransactionLegacy2(transaction) {
|
|
|
43967
43967
|
throw new FeeCapTooHighError2({ maxFeePerGas: gasPrice });
|
|
43968
43968
|
}
|
|
43969
43969
|
|
|
43970
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
43970
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/transaction/serializeAccessList.js
|
|
43971
43971
|
init_address3();
|
|
43972
43972
|
init_transaction2();
|
|
43973
43973
|
init_isAddress2();
|
|
@@ -43990,7 +43990,7 @@ function serializeAccessList2(accessList) {
|
|
|
43990
43990
|
return serializedAccessList;
|
|
43991
43991
|
}
|
|
43992
43992
|
|
|
43993
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
43993
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/transaction/serializeTransaction.js
|
|
43994
43994
|
function serializeTransaction2(transaction, signature) {
|
|
43995
43995
|
const type = getTransactionType2(transaction);
|
|
43996
43996
|
if (type === "eip1559")
|
|
@@ -44190,7 +44190,7 @@ function toYParitySignatureArray2(transaction, signature_) {
|
|
|
44190
44190
|
return [yParity_, r === "0x00" ? "0x" : r, s === "0x00" ? "0x" : s];
|
|
44191
44191
|
}
|
|
44192
44192
|
|
|
44193
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
44193
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/authorization/serializeAuthorizationList.js
|
|
44194
44194
|
function serializeAuthorizationList2(authorizationList) {
|
|
44195
44195
|
if (!authorizationList || authorizationList.length === 0)
|
|
44196
44196
|
return [];
|
|
@@ -44208,7 +44208,7 @@ function serializeAuthorizationList2(authorizationList) {
|
|
|
44208
44208
|
return serializedAuthorizationList;
|
|
44209
44209
|
}
|
|
44210
44210
|
|
|
44211
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
44211
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/authorization/verifyAuthorization.js
|
|
44212
44212
|
init_getAddress2();
|
|
44213
44213
|
init_isAddressEqual();
|
|
44214
44214
|
async function verifyAuthorization({ address, authorization, signature }) {
|
|
@@ -44218,13 +44218,13 @@ async function verifyAuthorization({ address, authorization, signature }) {
|
|
|
44218
44218
|
}));
|
|
44219
44219
|
}
|
|
44220
44220
|
|
|
44221
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
44221
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/buildRequest.js
|
|
44222
44222
|
init_base2();
|
|
44223
44223
|
init_request();
|
|
44224
44224
|
init_rpc();
|
|
44225
44225
|
init_utils4();
|
|
44226
44226
|
|
|
44227
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
44227
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/promise/withDedupe.js
|
|
44228
44228
|
init_lru2();
|
|
44229
44229
|
var promiseCache2 = /* @__PURE__ */ new LruMap2(8192);
|
|
44230
44230
|
function withDedupe(fn, { enabled = true, id }) {
|
|
@@ -44237,7 +44237,7 @@ function withDedupe(fn, { enabled = true, id }) {
|
|
|
44237
44237
|
return promise;
|
|
44238
44238
|
}
|
|
44239
44239
|
|
|
44240
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
44240
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/buildRequest.js
|
|
44241
44241
|
init_stringify2();
|
|
44242
44242
|
function buildRequest(request, options = {}) {
|
|
44243
44243
|
return async (args, overrideOptions = {}) => {
|
|
@@ -44423,14 +44423,14 @@ function hashString(str, seed = 0) {
|
|
|
44423
44423
|
return (4294967296 * (2097151 & h2) + (h1 >>> 0)).toString(36);
|
|
44424
44424
|
}
|
|
44425
44425
|
|
|
44426
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
44426
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/index.js
|
|
44427
44427
|
init_fromHex2();
|
|
44428
44428
|
|
|
44429
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
44429
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/rpc/http.js
|
|
44430
44430
|
init_request();
|
|
44431
44431
|
init_utils4();
|
|
44432
44432
|
|
|
44433
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
44433
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/promise/withTimeout.js
|
|
44434
44434
|
init_utils4();
|
|
44435
44435
|
function withTimeout(fn, { errorInstance = new Error("timed out"), timeout, signal }) {
|
|
44436
44436
|
return new Promise((resolve, reject) => {
|
|
@@ -44462,10 +44462,10 @@ function withTimeout(fn, { errorInstance = new Error("timed out"), timeout, sign
|
|
|
44462
44462
|
});
|
|
44463
44463
|
}
|
|
44464
44464
|
|
|
44465
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
44465
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/rpc/http.js
|
|
44466
44466
|
init_stringify2();
|
|
44467
44467
|
|
|
44468
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
44468
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/rpc/id.js
|
|
44469
44469
|
function createIdStore() {
|
|
44470
44470
|
return {
|
|
44471
44471
|
current: 0,
|
|
@@ -44479,7 +44479,7 @@ function createIdStore() {
|
|
|
44479
44479
|
}
|
|
44480
44480
|
var idCache = /* @__PURE__ */ createIdStore();
|
|
44481
44481
|
|
|
44482
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
44482
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/rpc/http.js
|
|
44483
44483
|
function getHttpRpcClient(url_, options = {}) {
|
|
44484
44484
|
const { url, headers: headers_url } = parseUrl(url_);
|
|
44485
44485
|
return {
|
|
@@ -44586,13 +44586,13 @@ function parseUrl(url_) {
|
|
|
44586
44586
|
}
|
|
44587
44587
|
}
|
|
44588
44588
|
|
|
44589
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
44589
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/signature/hashMessage.js
|
|
44590
44590
|
init_keccak2562();
|
|
44591
44591
|
|
|
44592
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
44592
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/constants/strings.js
|
|
44593
44593
|
var presignMessagePrefix2 = "Ethereum Signed Message:\n";
|
|
44594
44594
|
|
|
44595
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
44595
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/signature/toPrefixedMessage.js
|
|
44596
44596
|
init_concat2();
|
|
44597
44597
|
init_size2();
|
|
44598
44598
|
init_toHex2();
|
|
@@ -44608,22 +44608,22 @@ function toPrefixedMessage2(message_) {
|
|
|
44608
44608
|
return concat2([prefix, message]);
|
|
44609
44609
|
}
|
|
44610
44610
|
|
|
44611
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
44611
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/signature/hashMessage.js
|
|
44612
44612
|
function hashMessage2(message, to_) {
|
|
44613
44613
|
return keccak2562(toPrefixedMessage2(message), to_);
|
|
44614
44614
|
}
|
|
44615
44615
|
|
|
44616
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
44616
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/signature/hashTypedData.js
|
|
44617
44617
|
init_encodeAbiParameters2();
|
|
44618
44618
|
init_concat2();
|
|
44619
44619
|
init_toHex2();
|
|
44620
44620
|
init_keccak2562();
|
|
44621
44621
|
|
|
44622
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
44622
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/typedData.js
|
|
44623
44623
|
init_abi2();
|
|
44624
44624
|
init_address3();
|
|
44625
44625
|
|
|
44626
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
44626
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/typedData.js
|
|
44627
44627
|
init_stringify2();
|
|
44628
44628
|
init_base2();
|
|
44629
44629
|
var InvalidDomainError2 = class extends BaseError3 {
|
|
@@ -44650,7 +44650,7 @@ var InvalidStructTypeError2 = class extends BaseError3 {
|
|
|
44650
44650
|
}
|
|
44651
44651
|
};
|
|
44652
44652
|
|
|
44653
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
44653
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/typedData.js
|
|
44654
44654
|
init_isAddress2();
|
|
44655
44655
|
init_size2();
|
|
44656
44656
|
init_toHex2();
|
|
@@ -44719,7 +44719,7 @@ function validateReference2(type) {
|
|
|
44719
44719
|
throw new InvalidStructTypeError2({ type });
|
|
44720
44720
|
}
|
|
44721
44721
|
|
|
44722
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
44722
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/signature/hashTypedData.js
|
|
44723
44723
|
function hashTypedData2(parameters) {
|
|
44724
44724
|
const { domain = {}, message, primaryType } = parameters;
|
|
44725
44725
|
const types = {
|
|
@@ -46468,7 +46468,7 @@ var InvalidWrappedSignatureError = class extends BaseError4 {
|
|
|
46468
46468
|
}
|
|
46469
46469
|
};
|
|
46470
46470
|
|
|
46471
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
46471
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/formatters/proof.js
|
|
46472
46472
|
function formatStorageProof(storageProof) {
|
|
46473
46473
|
return storageProof.map((proof) => ({
|
|
46474
46474
|
...proof,
|
|
@@ -46484,7 +46484,7 @@ function formatProof(proof) {
|
|
|
46484
46484
|
};
|
|
46485
46485
|
}
|
|
46486
46486
|
|
|
46487
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
46487
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/actions/public/getProof.js
|
|
46488
46488
|
async function getProof(client, { address, blockHash, blockNumber, blockTag = "latest", requireCanonical, storageKeys }) {
|
|
46489
46489
|
const block = formatBlockParameter({
|
|
46490
46490
|
blockHash,
|
|
@@ -46499,7 +46499,7 @@ async function getProof(client, { address, blockHash, blockNumber, blockTag = "l
|
|
|
46499
46499
|
return formatProof(proof);
|
|
46500
46500
|
}
|
|
46501
46501
|
|
|
46502
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
46502
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/actions/public/getStorageAt.js
|
|
46503
46503
|
init_formatBlockParameter();
|
|
46504
46504
|
async function getStorageAt(client, { address, blockHash, blockNumber, blockTag = "latest", requireCanonical, slot }) {
|
|
46505
46505
|
const block = formatBlockParameter({
|
|
@@ -46515,7 +46515,7 @@ async function getStorageAt(client, { address, blockHash, blockNumber, blockTag
|
|
|
46515
46515
|
return data;
|
|
46516
46516
|
}
|
|
46517
46517
|
|
|
46518
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
46518
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/actions/public/getTransaction.js
|
|
46519
46519
|
init_transaction2();
|
|
46520
46520
|
init_toHex2();
|
|
46521
46521
|
async function getTransaction(client, { blockHash, blockNumber, blockTag: blockTag_, hash: hash4, index: index2, sender, nonce }) {
|
|
@@ -46555,7 +46555,7 @@ async function getTransaction(client, { blockHash, blockNumber, blockTag: blockT
|
|
|
46555
46555
|
return format(transaction, "getTransaction");
|
|
46556
46556
|
}
|
|
46557
46557
|
|
|
46558
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
46558
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/actions/public/getTransactionConfirmations.js
|
|
46559
46559
|
async function getTransactionConfirmations(client, { hash: hash4, transactionReceipt }) {
|
|
46560
46560
|
const [blockNumber, transaction] = await Promise.all([
|
|
46561
46561
|
getAction(client, getBlockNumber, "getBlockNumber")({}),
|
|
@@ -46567,7 +46567,7 @@ async function getTransactionConfirmations(client, { hash: hash4, transactionRec
|
|
|
46567
46567
|
return blockNumber - transactionBlockNumber + 1n;
|
|
46568
46568
|
}
|
|
46569
46569
|
|
|
46570
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
46570
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/actions/public/getTransactionReceipt.js
|
|
46571
46571
|
init_transaction2();
|
|
46572
46572
|
async function getTransactionReceipt(client, { hash: hash4 }) {
|
|
46573
46573
|
const receipt = await client.request({
|
|
@@ -46580,7 +46580,7 @@ async function getTransactionReceipt(client, { hash: hash4 }) {
|
|
|
46580
46580
|
return format(receipt, "getTransactionReceipt");
|
|
46581
46581
|
}
|
|
46582
46582
|
|
|
46583
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
46583
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/actions/public/multicall.js
|
|
46584
46584
|
init_abis();
|
|
46585
46585
|
init_contracts();
|
|
46586
46586
|
init_abi2();
|
|
@@ -46719,7 +46719,7 @@ async function multicall(client, parameters) {
|
|
|
46719
46719
|
return results;
|
|
46720
46720
|
}
|
|
46721
46721
|
|
|
46722
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
46722
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/actions/public/simulateBlocks.js
|
|
46723
46723
|
init_BlockOverrides();
|
|
46724
46724
|
init_parseAccount();
|
|
46725
46725
|
init_abi2();
|
|
@@ -47145,14 +47145,14 @@ function getSelector2(abiItem) {
|
|
|
47145
47145
|
return getSelector(abiItem);
|
|
47146
47146
|
}
|
|
47147
47147
|
|
|
47148
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
47148
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/actions/public/simulateCalls.js
|
|
47149
47149
|
init_parseAccount();
|
|
47150
47150
|
|
|
47151
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
47151
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/constants/address.js
|
|
47152
47152
|
var ethAddress2 = "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee";
|
|
47153
47153
|
var zeroAddress2 = "0x0000000000000000000000000000000000000000";
|
|
47154
47154
|
|
|
47155
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
47155
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/actions/public/simulateCalls.js
|
|
47156
47156
|
init_contracts();
|
|
47157
47157
|
init_base2();
|
|
47158
47158
|
init_encodeFunctionData2();
|
|
@@ -47455,7 +47455,7 @@ var InvalidWrappedSignatureError2 = class extends BaseError4 {
|
|
|
47455
47455
|
}
|
|
47456
47456
|
};
|
|
47457
47457
|
|
|
47458
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
47458
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/actions/public/verifyHash.js
|
|
47459
47459
|
init_abis();
|
|
47460
47460
|
init_contracts();
|
|
47461
47461
|
init_contract();
|
|
@@ -47468,7 +47468,7 @@ init_isHex2();
|
|
|
47468
47468
|
init_fromHex2();
|
|
47469
47469
|
init_toHex2();
|
|
47470
47470
|
|
|
47471
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
47471
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/signature/serializeSignature.js
|
|
47472
47472
|
init_secp256k1();
|
|
47473
47473
|
init_fromHex2();
|
|
47474
47474
|
init_toBytes2();
|
|
@@ -47486,7 +47486,7 @@ function serializeSignature2({ r, s, to = "hex", v, yParity }) {
|
|
|
47486
47486
|
return hexToBytes4(signature);
|
|
47487
47487
|
}
|
|
47488
47488
|
|
|
47489
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
47489
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/actions/public/verifyHash.js
|
|
47490
47490
|
init_call();
|
|
47491
47491
|
async function verifyHash(client, parameters) {
|
|
47492
47492
|
const { address, chain: chain2 = client.chain, hash: hash4, erc6492VerifierAddress: verifierAddress = parameters.universalSignatureVerifierAddress ?? chain2?.contracts?.erc6492Verifier?.address, multicallAddress = parameters.multicallAddress ?? chain2?.contracts?.multicall3?.address, mode = "auto" } = parameters;
|
|
@@ -47657,7 +47657,7 @@ async function verifyErc1271(client, parameters) {
|
|
|
47657
47657
|
var VerificationError = class extends Error {
|
|
47658
47658
|
};
|
|
47659
47659
|
|
|
47660
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
47660
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/actions/public/verifyMessage.js
|
|
47661
47661
|
async function verifyMessage(client, { address, message, factory, factoryData, signature, ...callRequest }) {
|
|
47662
47662
|
const hash4 = hashMessage2(message);
|
|
47663
47663
|
return getAction(client, verifyHash, "verifyHash")({
|
|
@@ -47670,7 +47670,7 @@ async function verifyMessage(client, { address, message, factory, factoryData, s
|
|
|
47670
47670
|
});
|
|
47671
47671
|
}
|
|
47672
47672
|
|
|
47673
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
47673
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/actions/public/verifyTypedData.js
|
|
47674
47674
|
async function verifyTypedData(client, parameters) {
|
|
47675
47675
|
const { address, factory, factoryData, signature, message, primaryType, types, domain, ...callRequest } = parameters;
|
|
47676
47676
|
const hash4 = hashTypedData2({ message, primaryType, types, domain });
|
|
@@ -47684,12 +47684,12 @@ async function verifyTypedData(client, parameters) {
|
|
|
47684
47684
|
});
|
|
47685
47685
|
}
|
|
47686
47686
|
|
|
47687
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
47687
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/actions/public/waitForTransactionReceipt.js
|
|
47688
47688
|
init_transaction2();
|
|
47689
47689
|
init_withResolvers();
|
|
47690
47690
|
init_stringify2();
|
|
47691
47691
|
|
|
47692
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
47692
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/actions/public/watchBlockNumber.js
|
|
47693
47693
|
init_fromHex2();
|
|
47694
47694
|
init_stringify2();
|
|
47695
47695
|
function watchBlockNumber(client, { emitOnBegin = false, emitMissed = false, onBlockNumber, onError, poll: poll_, pollingInterval = client.pollingInterval }) {
|
|
@@ -47783,7 +47783,7 @@ function watchBlockNumber(client, { emitOnBegin = false, emitMissed = false, onB
|
|
|
47783
47783
|
return enablePolling ? pollBlockNumber() : subscribeBlockNumber();
|
|
47784
47784
|
}
|
|
47785
47785
|
|
|
47786
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
47786
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/actions/public/waitForTransactionReceipt.js
|
|
47787
47787
|
async function waitForTransactionReceipt(client, parameters) {
|
|
47788
47788
|
const {
|
|
47789
47789
|
checkReplacement = true,
|
|
@@ -47915,7 +47915,7 @@ async function waitForTransactionReceipt(client, parameters) {
|
|
|
47915
47915
|
return promise;
|
|
47916
47916
|
}
|
|
47917
47917
|
|
|
47918
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
47918
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/actions/public/watchBlocks.js
|
|
47919
47919
|
init_stringify2();
|
|
47920
47920
|
function watchBlocks(client, { blockTag = client.experimental_blockTag ?? "latest", emitMissed = false, emitOnBegin = false, onBlock, onError, includeTransactions: includeTransactions_, poll: poll_, pollingInterval = client.pollingInterval }) {
|
|
47921
47921
|
const enablePolling = (() => {
|
|
@@ -48037,7 +48037,7 @@ function watchBlocks(client, { blockTag = client.experimental_blockTag ?? "lates
|
|
|
48037
48037
|
return enablePolling ? pollBlocks() : subscribeBlocks();
|
|
48038
48038
|
}
|
|
48039
48039
|
|
|
48040
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
48040
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/actions/public/watchEvent.js
|
|
48041
48041
|
init_abi2();
|
|
48042
48042
|
init_rpc();
|
|
48043
48043
|
init_stringify2();
|
|
@@ -48203,7 +48203,7 @@ function watchEvent(client, { address, args, batch = true, event, events, fromBl
|
|
|
48203
48203
|
return enablePolling ? pollEvent() : subscribeEvent();
|
|
48204
48204
|
}
|
|
48205
48205
|
|
|
48206
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
48206
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/actions/public/watchPendingTransactions.js
|
|
48207
48207
|
init_stringify2();
|
|
48208
48208
|
function watchPendingTransactions(client, { batch = true, onError, onTransactions, poll: poll_, pollingInterval = client.pollingInterval }) {
|
|
48209
48209
|
const enablePolling = typeof poll_ !== "undefined" ? poll_ : client.transport.type !== "webSocket" && client.transport.type !== "ipc";
|
|
@@ -48278,7 +48278,7 @@ function watchPendingTransactions(client, { batch = true, onError, onTransaction
|
|
|
48278
48278
|
return enablePolling ? pollPendingTransactions() : subscribePendingTransactions();
|
|
48279
48279
|
}
|
|
48280
48280
|
|
|
48281
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
48281
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/siwe/parseSiweMessage.js
|
|
48282
48282
|
function parseSiweMessage(message) {
|
|
48283
48283
|
const { scheme, statement, ...prefix } = message.match(prefixRegex)?.groups ?? {};
|
|
48284
48284
|
const { chainId, expirationTime, issuedAt, notBefore, requestId, ...suffix } = message.match(suffixRegex)?.groups ?? {};
|
|
@@ -48299,7 +48299,7 @@ function parseSiweMessage(message) {
|
|
|
48299
48299
|
var prefixRegex = /^(?:(?<scheme>[a-zA-Z][a-zA-Z0-9+-.]*):\/\/)?(?<domain>[a-zA-Z0-9+-.]*(?::[0-9]{1,5})?) (?:wants you to sign in with your Ethereum account:\n)(?<address>0x[a-fA-F0-9]{40})\n\n(?:(?<statement>.*)\n\n)?/;
|
|
48300
48300
|
var suffixRegex = /(?:URI: (?<uri>.+))\n(?:Version: (?<version>.+))\n(?:Chain ID: (?<chainId>\d+))\n(?:Nonce: (?<nonce>[a-zA-Z0-9]+))\n(?:Issued At: (?<issuedAt>.+))(?:\nExpiration Time: (?<expirationTime>.+))?(?:\nNot Before: (?<notBefore>.+))?(?:\nRequest ID: (?<requestId>.+))?/;
|
|
48301
48301
|
|
|
48302
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
48302
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/siwe/validateSiweMessage.js
|
|
48303
48303
|
init_isAddress2();
|
|
48304
48304
|
init_isAddressEqual();
|
|
48305
48305
|
function validateSiweMessage(parameters) {
|
|
@@ -48327,7 +48327,7 @@ function validateSiweMessage(parameters) {
|
|
|
48327
48327
|
return true;
|
|
48328
48328
|
}
|
|
48329
48329
|
|
|
48330
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
48330
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/actions/siwe/verifySiweMessage.js
|
|
48331
48331
|
async function verifySiweMessage(client, parameters) {
|
|
48332
48332
|
const { address, domain, message, nonce, scheme, signature, time = /* @__PURE__ */ new Date(), ...callRequest } = parameters;
|
|
48333
48333
|
const parsed = parseSiweMessage(message);
|
|
@@ -48352,7 +48352,7 @@ async function verifySiweMessage(client, parameters) {
|
|
|
48352
48352
|
});
|
|
48353
48353
|
}
|
|
48354
48354
|
|
|
48355
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
48355
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/actions/wallet/sendRawTransactionSync.js
|
|
48356
48356
|
init_transaction2();
|
|
48357
48357
|
async function sendRawTransactionSync(client, { serializedTransaction, throwOnReceiptRevert, timeout }) {
|
|
48358
48358
|
const receipt = await client.request({
|
|
@@ -48366,7 +48366,7 @@ async function sendRawTransactionSync(client, { serializedTransaction, throwOnRe
|
|
|
48366
48366
|
return formatted;
|
|
48367
48367
|
}
|
|
48368
48368
|
|
|
48369
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
48369
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/clients/decorators/public.js
|
|
48370
48370
|
function publicActions(client) {
|
|
48371
48371
|
return {
|
|
48372
48372
|
call: (args) => call(client, args),
|
|
@@ -48431,7 +48431,7 @@ function publicActions(client) {
|
|
|
48431
48431
|
};
|
|
48432
48432
|
}
|
|
48433
48433
|
|
|
48434
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
48434
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/clients/createPublicClient.js
|
|
48435
48435
|
function createPublicClient(parameters) {
|
|
48436
48436
|
const { key = "public", name = "Public Client" } = parameters;
|
|
48437
48437
|
const client = createClient({
|
|
@@ -48443,7 +48443,7 @@ function createPublicClient(parameters) {
|
|
|
48443
48443
|
return client.extend(publicActions);
|
|
48444
48444
|
}
|
|
48445
48445
|
|
|
48446
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
48446
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/clients/transports/createTransport.js
|
|
48447
48447
|
function createTransport({ key, methods, name, request, retryCount = 3, retryDelay = 150, timeout, type }, value) {
|
|
48448
48448
|
const uid2 = uid();
|
|
48449
48449
|
return {
|
|
@@ -48462,10 +48462,10 @@ function createTransport({ key, methods, name, request, retryCount = 3, retryDel
|
|
|
48462
48462
|
};
|
|
48463
48463
|
}
|
|
48464
48464
|
|
|
48465
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
48465
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/clients/transports/http.js
|
|
48466
48466
|
init_request();
|
|
48467
48467
|
|
|
48468
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
48468
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/transport.js
|
|
48469
48469
|
init_base2();
|
|
48470
48470
|
var UrlRequiredError = class extends BaseError3 {
|
|
48471
48471
|
constructor() {
|
|
@@ -48476,7 +48476,7 @@ var UrlRequiredError = class extends BaseError3 {
|
|
|
48476
48476
|
}
|
|
48477
48477
|
};
|
|
48478
48478
|
|
|
48479
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
48479
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/clients/transports/http.js
|
|
48480
48480
|
init_createBatchScheduler();
|
|
48481
48481
|
var signalId = 0;
|
|
48482
48482
|
var signalIds = /* @__PURE__ */ new WeakMap();
|
|
@@ -48553,28 +48553,28 @@ function http(url, config = {}) {
|
|
|
48553
48553
|
};
|
|
48554
48554
|
}
|
|
48555
48555
|
|
|
48556
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
48556
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/index.js
|
|
48557
48557
|
init_encodeFunctionData2();
|
|
48558
48558
|
init_getAddress2();
|
|
48559
48559
|
init_isAddress2();
|
|
48560
48560
|
init_toHex2();
|
|
48561
48561
|
init_formatEther();
|
|
48562
48562
|
|
|
48563
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
48563
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/accounts/generatePrivateKey.js
|
|
48564
48564
|
init_secp256k1();
|
|
48565
48565
|
init_toHex2();
|
|
48566
48566
|
function generatePrivateKey2() {
|
|
48567
48567
|
return toHex2(secp256k1.utils.randomPrivateKey());
|
|
48568
48568
|
}
|
|
48569
48569
|
|
|
48570
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
48570
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/accounts/hdKeyToAccount.js
|
|
48571
48571
|
init_toHex2();
|
|
48572
48572
|
|
|
48573
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
48573
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/accounts/privateKeyToAccount.js
|
|
48574
48574
|
init_secp256k1();
|
|
48575
48575
|
init_toHex2();
|
|
48576
48576
|
|
|
48577
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
48577
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/accounts/toAccount.js
|
|
48578
48578
|
init_address3();
|
|
48579
48579
|
init_isAddress2();
|
|
48580
48580
|
function toAccount2(source) {
|
|
@@ -48601,7 +48601,7 @@ function toAccount2(source) {
|
|
|
48601
48601
|
};
|
|
48602
48602
|
}
|
|
48603
48603
|
|
|
48604
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
48604
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/accounts/utils/sign.js
|
|
48605
48605
|
init_secp256k1();
|
|
48606
48606
|
init_isHex2();
|
|
48607
48607
|
init_toBytes2();
|
|
@@ -48625,7 +48625,7 @@ async function sign2({ hash: hash4, privateKey, to = "object" }) {
|
|
|
48625
48625
|
})();
|
|
48626
48626
|
}
|
|
48627
48627
|
|
|
48628
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
48628
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/accounts/utils/signAuthorization.js
|
|
48629
48629
|
async function signAuthorization2(parameters) {
|
|
48630
48630
|
const { chainId, nonce, privateKey, to = "object" } = parameters;
|
|
48631
48631
|
const address = parameters.contractAddress ?? parameters.address;
|
|
@@ -48644,12 +48644,12 @@ async function signAuthorization2(parameters) {
|
|
|
48644
48644
|
return signature;
|
|
48645
48645
|
}
|
|
48646
48646
|
|
|
48647
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
48647
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/accounts/utils/signMessage.js
|
|
48648
48648
|
async function signMessage2({ message, privateKey }) {
|
|
48649
48649
|
return await sign2({ hash: hashMessage2(message), privateKey, to: "hex" });
|
|
48650
48650
|
}
|
|
48651
48651
|
|
|
48652
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
48652
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/accounts/utils/signTransaction.js
|
|
48653
48653
|
init_keccak2562();
|
|
48654
48654
|
async function signTransaction2(parameters) {
|
|
48655
48655
|
const { privateKey, transaction, serializer = serializeTransaction2 } = parameters;
|
|
@@ -48668,7 +48668,7 @@ async function signTransaction2(parameters) {
|
|
|
48668
48668
|
return await serializer(transaction, signature);
|
|
48669
48669
|
}
|
|
48670
48670
|
|
|
48671
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
48671
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/accounts/utils/signTypedData.js
|
|
48672
48672
|
async function signTypedData2(parameters) {
|
|
48673
48673
|
const { privateKey, ...typedData } = parameters;
|
|
48674
48674
|
return await sign2({
|
|
@@ -48678,7 +48678,7 @@ async function signTypedData2(parameters) {
|
|
|
48678
48678
|
});
|
|
48679
48679
|
}
|
|
48680
48680
|
|
|
48681
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
48681
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/accounts/privateKeyToAccount.js
|
|
48682
48682
|
function privateKeyToAccount2(privateKey, options = {}) {
|
|
48683
48683
|
const { nonceManager } = options;
|
|
48684
48684
|
const publicKey = toHex2(secp256k1.getPublicKey(privateKey.slice(2), false));
|
|
@@ -48709,7 +48709,7 @@ function privateKeyToAccount2(privateKey, options = {}) {
|
|
|
48709
48709
|
};
|
|
48710
48710
|
}
|
|
48711
48711
|
|
|
48712
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
48712
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/accounts/hdKeyToAccount.js
|
|
48713
48713
|
function hdKeyToAccount2(hdKey_, { accountIndex = 0, addressIndex = 0, changeIndex = 0, path: path2, ...options } = {}) {
|
|
48714
48714
|
const hdKey = hdKey_.derive(path2 || `m/44'/60'/${accountIndex}'/${changeIndex}/${addressIndex}`);
|
|
48715
48715
|
const account = privateKeyToAccount2(toHex2(hdKey.privateKey), options);
|
|
@@ -48720,7 +48720,7 @@ function hdKeyToAccount2(hdKey_, { accountIndex = 0, addressIndex = 0, changeInd
|
|
|
48720
48720
|
};
|
|
48721
48721
|
}
|
|
48722
48722
|
|
|
48723
|
-
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.
|
|
48723
|
+
// ../../node_modules/.pnpm/viem@2.51.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/accounts/mnemonicToAccount.js
|
|
48724
48724
|
function mnemonicToAccount2(mnemonic, { passphrase, ...hdKeyOpts } = {}) {
|
|
48725
48725
|
const seed = mnemonicToSeedSync(mnemonic, passphrase);
|
|
48726
48726
|
return hdKeyToAccount2(HDKey.fromMasterSeed(seed), hdKeyOpts);
|
|
@@ -48762,9 +48762,24 @@ var CHAIN_NAMES = {
|
|
|
48762
48762
|
84532: "base-sepolia",
|
|
48763
48763
|
130: "unichain"
|
|
48764
48764
|
};
|
|
48765
|
+
var CHAIN_RPC_ENV_KEYS = {
|
|
48766
|
+
1: ["RPC_URL_1", "ETH_MAINNET_RPC_URL"],
|
|
48767
|
+
8453: ["RPC_URL_8453", "BASE_RPC_URL"],
|
|
48768
|
+
42161: ["RPC_URL_42161", "ARBITRUM_RPC_URL"],
|
|
48769
|
+
130: ["RPC_URL_130", "UNICHAIN_RPC_URL"],
|
|
48770
|
+
84532: ["RPC_URL_84532", "BASE_SEPOLIA_RPC_URL"],
|
|
48771
|
+
11155111: ["RPC_URL_11155111", "SEPOLIA_RPC_URL"]
|
|
48772
|
+
};
|
|
48773
|
+
function resolveRpcUrl(env, chainId) {
|
|
48774
|
+
const keys = CHAIN_RPC_ENV_KEYS[chainId] ?? [`RPC_URL_${chainId}`];
|
|
48775
|
+
for (const k of keys) {
|
|
48776
|
+
if (env[k]) return env[k];
|
|
48777
|
+
}
|
|
48778
|
+
return env.RPC_URL ?? null;
|
|
48779
|
+
}
|
|
48765
48780
|
function balanceStatus(wei) {
|
|
48781
|
+
if (wei === 0n) return "critical";
|
|
48766
48782
|
const eth = Number(formatEther(wei));
|
|
48767
|
-
if (eth < 5e-4) return "critical";
|
|
48768
48783
|
if (eth < 2e-3) return "low";
|
|
48769
48784
|
return "ok";
|
|
48770
48785
|
}
|
|
@@ -48797,33 +48812,52 @@ function startServer(sailDir, { port = PORT } = {}) {
|
|
|
48797
48812
|
const at = (name) => import_node_path.default.join(sailDir, name);
|
|
48798
48813
|
const overviewCacheByAccount = /* @__PURE__ */ new Map();
|
|
48799
48814
|
const overviewInFlight = /* @__PURE__ */ new Set();
|
|
48800
|
-
const
|
|
48801
|
-
const
|
|
48815
|
+
const overviewCacheKey = (safe, chainId) => `${safe.toLowerCase()}-${chainId}`;
|
|
48816
|
+
const overviewSnapshotPath = (safe, chainId) => at(`state/overview/${safe.toLowerCase()}-${chainId}.json`);
|
|
48817
|
+
const readOverviewSnapshot = (safe, chainId) => {
|
|
48802
48818
|
try {
|
|
48803
|
-
return JSON.parse(import_node_fs2.default.readFileSync(overviewSnapshotPath(safe), "utf-8"));
|
|
48819
|
+
return JSON.parse(import_node_fs2.default.readFileSync(overviewSnapshotPath(safe, chainId), "utf-8"));
|
|
48804
48820
|
} catch {
|
|
48805
48821
|
return null;
|
|
48806
48822
|
}
|
|
48807
48823
|
};
|
|
48808
|
-
const writeOverviewSnapshot = (safe, data) => {
|
|
48824
|
+
const writeOverviewSnapshot = (safe, chainId, data) => {
|
|
48809
48825
|
try {
|
|
48810
48826
|
import_node_fs2.default.mkdirSync(at("state/overview"), { recursive: true });
|
|
48811
|
-
import_node_fs2.default.writeFileSync(overviewSnapshotPath(safe), `${JSON.stringify(data, null, 2)}
|
|
48827
|
+
import_node_fs2.default.writeFileSync(overviewSnapshotPath(safe, chainId), `${JSON.stringify(data, null, 2)}
|
|
48812
48828
|
`);
|
|
48813
48829
|
} catch {
|
|
48814
48830
|
}
|
|
48815
48831
|
};
|
|
48816
|
-
const storeOverview = (safe, data) => {
|
|
48817
|
-
overviewCacheByAccount.set(safe
|
|
48818
|
-
writeOverviewSnapshot(safe, data);
|
|
48832
|
+
const storeOverview = (safe, chainId, data) => {
|
|
48833
|
+
overviewCacheByAccount.set(overviewCacheKey(safe, chainId), { at: Date.now(), data });
|
|
48834
|
+
writeOverviewSnapshot(safe, chainId, data);
|
|
48819
48835
|
};
|
|
48820
48836
|
const refreshOverviewInBackground = (account) => {
|
|
48821
|
-
const key = account.safe.
|
|
48837
|
+
const key = overviewCacheKey(account.safe, account.chainId);
|
|
48822
48838
|
if (overviewInFlight.has(key)) return;
|
|
48823
48839
|
overviewInFlight.add(key);
|
|
48824
|
-
computeOverview(account).then((data) => storeOverview(account.safe, data)).catch(() => {
|
|
48840
|
+
computeOverview(account).then((data) => storeOverview(account.safe, account.chainId, data)).catch(() => {
|
|
48825
48841
|
}).finally(() => overviewInFlight.delete(key));
|
|
48826
48842
|
};
|
|
48843
|
+
const invalidateOverviewCache = (safe) => {
|
|
48844
|
+
const prefix = safe.toLowerCase() + "-";
|
|
48845
|
+
for (const k of overviewCacheByAccount.keys()) {
|
|
48846
|
+
if (k.startsWith(prefix)) overviewCacheByAccount.delete(k);
|
|
48847
|
+
}
|
|
48848
|
+
try {
|
|
48849
|
+
const dir = at("state/overview");
|
|
48850
|
+
for (const f of import_node_fs2.default.readdirSync(dir)) {
|
|
48851
|
+
if (f.startsWith(safe.toLowerCase() + "-")) {
|
|
48852
|
+
try {
|
|
48853
|
+
import_node_fs2.default.rmSync(import_node_path.default.join(dir, f));
|
|
48854
|
+
} catch {
|
|
48855
|
+
}
|
|
48856
|
+
}
|
|
48857
|
+
}
|
|
48858
|
+
} catch {
|
|
48859
|
+
}
|
|
48860
|
+
};
|
|
48827
48861
|
app.get("/api/account", (_req, res) => {
|
|
48828
48862
|
try {
|
|
48829
48863
|
const raw = import_node_fs2.default.readFileSync(at("account.json"), "utf-8");
|
|
@@ -49053,11 +49087,7 @@ function startServer(sailDir, { port = PORT } = {}) {
|
|
|
49053
49087
|
`);
|
|
49054
49088
|
} catch {
|
|
49055
49089
|
}
|
|
49056
|
-
|
|
49057
|
-
try {
|
|
49058
|
-
import_node_fs2.default.rmSync(overviewSnapshotPath(safe));
|
|
49059
|
-
} catch {
|
|
49060
|
-
}
|
|
49090
|
+
invalidateOverviewCache(safe);
|
|
49061
49091
|
res.json({ ok: true, address: keyring.address, revealed });
|
|
49062
49092
|
} catch (err) {
|
|
49063
49093
|
res.status(500).json({ error: String(err) });
|
|
@@ -49104,11 +49134,7 @@ function startServer(sailDir, { port = PORT } = {}) {
|
|
|
49104
49134
|
`);
|
|
49105
49135
|
} catch {
|
|
49106
49136
|
}
|
|
49107
|
-
|
|
49108
|
-
try {
|
|
49109
|
-
import_node_fs2.default.rmSync(overviewSnapshotPath(safe));
|
|
49110
|
-
} catch {
|
|
49111
|
-
}
|
|
49137
|
+
invalidateOverviewCache(safe);
|
|
49112
49138
|
res.json({ ok: true, manager });
|
|
49113
49139
|
} catch (err) {
|
|
49114
49140
|
res.status(500).json({ error: String(err) });
|
|
@@ -49192,11 +49218,7 @@ function startServer(sailDir, { port = PORT } = {}) {
|
|
|
49192
49218
|
import_node_fs2.default.mkdirSync(at("keys"), { recursive: true });
|
|
49193
49219
|
import_node_fs2.default.copyFileSync(source, target);
|
|
49194
49220
|
}
|
|
49195
|
-
|
|
49196
|
-
try {
|
|
49197
|
-
import_node_fs2.default.rmSync(overviewSnapshotPath(safe));
|
|
49198
|
-
} catch {
|
|
49199
|
-
}
|
|
49221
|
+
invalidateOverviewCache(safe);
|
|
49200
49222
|
res.json({ ok: true, address: getAddress(address), file: match });
|
|
49201
49223
|
} catch (err) {
|
|
49202
49224
|
res.status(500).json({ error: String(err) });
|
|
@@ -49268,14 +49290,33 @@ function startServer(sailDir, { port = PORT } = {}) {
|
|
|
49268
49290
|
res.status(500).json({ error: String(err) });
|
|
49269
49291
|
}
|
|
49270
49292
|
});
|
|
49271
|
-
const
|
|
49293
|
+
const readPidFile = (filePath) => {
|
|
49272
49294
|
try {
|
|
49273
|
-
const pid = Number.parseInt(import_node_fs2.default.readFileSync(
|
|
49295
|
+
const pid = Number.parseInt(import_node_fs2.default.readFileSync(filePath, "utf-8").trim(), 10);
|
|
49274
49296
|
return Number.isNaN(pid) ? null : pid;
|
|
49275
49297
|
} catch {
|
|
49276
49298
|
return null;
|
|
49277
49299
|
}
|
|
49278
49300
|
};
|
|
49301
|
+
const readAgentPids = () => {
|
|
49302
|
+
const results = [];
|
|
49303
|
+
try {
|
|
49304
|
+
const files = import_node_fs2.default.readdirSync(sailDir);
|
|
49305
|
+
for (const f of files) {
|
|
49306
|
+
const chainMatch = f.match(/^agent-(\d+)\.pid$/);
|
|
49307
|
+
if (chainMatch) {
|
|
49308
|
+
const pid = readPidFile(import_node_path.default.join(sailDir, f));
|
|
49309
|
+
if (pid !== null && isAlive(pid)) results.push({ chainId: Number(chainMatch[1]), pid });
|
|
49310
|
+
}
|
|
49311
|
+
}
|
|
49312
|
+
} catch {
|
|
49313
|
+
}
|
|
49314
|
+
if (results.length === 0) {
|
|
49315
|
+
const pid = readPidFile(import_node_path.default.join(sailDir, "agent.pid"));
|
|
49316
|
+
if (pid !== null && isAlive(pid)) results.push({ chainId: null, pid });
|
|
49317
|
+
}
|
|
49318
|
+
return results;
|
|
49319
|
+
};
|
|
49279
49320
|
const isAlive = (pid) => {
|
|
49280
49321
|
try {
|
|
49281
49322
|
process.kill(pid, 0);
|
|
@@ -49316,8 +49357,11 @@ function startServer(sailDir, { port = PORT } = {}) {
|
|
|
49316
49357
|
};
|
|
49317
49358
|
app.get("/api/agent-status", (_req, res) => {
|
|
49318
49359
|
const githubActions = detectGithubActions();
|
|
49319
|
-
const
|
|
49320
|
-
if (
|
|
49360
|
+
const pids = readAgentPids();
|
|
49361
|
+
if (pids.length > 0) {
|
|
49362
|
+
const first = pids[0];
|
|
49363
|
+
return res.json({ running: true, pid: first.pid, pids, source: "local", githubActions });
|
|
49364
|
+
}
|
|
49321
49365
|
const ageMs = recentActivityMs();
|
|
49322
49366
|
if (ageMs < 10 * 60 * 1e3) return res.json({ running: true, source: "remote", lastActivityMs: ageMs, githubActions });
|
|
49323
49367
|
res.json({ running: false, githubActions });
|
|
@@ -49327,17 +49371,22 @@ function startServer(sailDir, { port = PORT } = {}) {
|
|
|
49327
49371
|
res.status(400).json({ error: "unknown action" });
|
|
49328
49372
|
return;
|
|
49329
49373
|
}
|
|
49330
|
-
const
|
|
49331
|
-
if (
|
|
49332
|
-
|
|
49333
|
-
|
|
49334
|
-
|
|
49335
|
-
|
|
49336
|
-
|
|
49374
|
+
const pids = readAgentPids();
|
|
49375
|
+
if (pids.length > 0) {
|
|
49376
|
+
const stopped = [];
|
|
49377
|
+
const errors = [];
|
|
49378
|
+
for (const { pid } of pids) {
|
|
49379
|
+
try {
|
|
49380
|
+
process.kill(pid, "SIGTERM");
|
|
49381
|
+
stopped.push(pid);
|
|
49382
|
+
} catch (err) {
|
|
49383
|
+
errors.push(String(err));
|
|
49384
|
+
}
|
|
49337
49385
|
}
|
|
49338
|
-
|
|
49339
|
-
res.json({ ok: true,
|
|
49386
|
+
if (errors.length > 0) return res.status(500).json({ error: errors.join("; ") });
|
|
49387
|
+
return res.json({ ok: true, stopped });
|
|
49340
49388
|
}
|
|
49389
|
+
res.json({ ok: true, running: false });
|
|
49341
49390
|
});
|
|
49342
49391
|
const STATION_PORTS = Array.from({ length: 10 }, (_, i) => 3141 + i);
|
|
49343
49392
|
let stationCache = null;
|
|
@@ -49424,8 +49473,9 @@ function startServer(sailDir, { port = PORT } = {}) {
|
|
|
49424
49473
|
const SUPPORTED_CHAIN_IDS = [8453, 42161, 130, 84532];
|
|
49425
49474
|
const rpcByChain = {};
|
|
49426
49475
|
for (const cid of SUPPORTED_CHAIN_IDS) {
|
|
49427
|
-
const
|
|
49428
|
-
|
|
49476
|
+
const url = resolveRpcUrl(env, cid);
|
|
49477
|
+
const keys = CHAIN_RPC_ENV_KEYS[cid] ?? [`RPC_URL_${cid}`];
|
|
49478
|
+
if (keys.some((k) => env[k])) rpcByChain[cid] = url;
|
|
49429
49479
|
}
|
|
49430
49480
|
if (env.RPC_URL && !rpcByChain[chainId]) rpcByChain[chainId] = env.RPC_URL;
|
|
49431
49481
|
res.json({
|
|
@@ -49723,22 +49773,54 @@ function startServer(sailDir, { port = PORT } = {}) {
|
|
|
49723
49773
|
res.json(null);
|
|
49724
49774
|
return;
|
|
49725
49775
|
}
|
|
49726
|
-
const
|
|
49776
|
+
const chainId = account.chainId;
|
|
49777
|
+
const key = overviewCacheKey(account.safe, chainId);
|
|
49727
49778
|
const cached = overviewCacheByAccount.get(key);
|
|
49728
49779
|
if (cached && Date.now() - cached.at < OVERVIEW_TTL_MS) {
|
|
49729
49780
|
res.json(cached.data);
|
|
49730
49781
|
return;
|
|
49731
49782
|
}
|
|
49732
|
-
const snapshot = cached?.data ?? readOverviewSnapshot(account.safe);
|
|
49783
|
+
const snapshot = cached?.data ?? readOverviewSnapshot(account.safe, chainId);
|
|
49733
49784
|
if (snapshot) {
|
|
49734
49785
|
res.json(snapshot);
|
|
49735
49786
|
refreshOverviewInBackground(account);
|
|
49736
49787
|
return;
|
|
49737
49788
|
}
|
|
49738
49789
|
const data = await computeOverview(account);
|
|
49739
|
-
storeOverview(account.safe, data);
|
|
49790
|
+
storeOverview(account.safe, chainId, data);
|
|
49740
49791
|
res.json(data);
|
|
49741
49792
|
});
|
|
49793
|
+
app.get("/api/overviews", async (_req, res) => {
|
|
49794
|
+
let account = null;
|
|
49795
|
+
try {
|
|
49796
|
+
account = JSON.parse(import_node_fs2.default.readFileSync(at("account.json"), "utf-8"));
|
|
49797
|
+
} catch {
|
|
49798
|
+
res.json([]);
|
|
49799
|
+
return;
|
|
49800
|
+
}
|
|
49801
|
+
if (!account?.safe) {
|
|
49802
|
+
res.json([]);
|
|
49803
|
+
return;
|
|
49804
|
+
}
|
|
49805
|
+
const deployedChains = account.deployedChains ?? [account.chainId];
|
|
49806
|
+
const results = await Promise.all(
|
|
49807
|
+
deployedChains.map(async (cid) => {
|
|
49808
|
+
const chainAccount = { ...account, chainId: cid };
|
|
49809
|
+
const key = overviewCacheKey(account.safe, cid);
|
|
49810
|
+
const cached = overviewCacheByAccount.get(key);
|
|
49811
|
+
if (cached && Date.now() - cached.at < OVERVIEW_TTL_MS) return cached.data;
|
|
49812
|
+
const snapshot = cached?.data ?? readOverviewSnapshot(account.safe, cid);
|
|
49813
|
+
if (snapshot) {
|
|
49814
|
+
refreshOverviewInBackground(chainAccount);
|
|
49815
|
+
return snapshot;
|
|
49816
|
+
}
|
|
49817
|
+
const data = await computeOverview(chainAccount);
|
|
49818
|
+
storeOverview(account.safe, cid, data);
|
|
49819
|
+
return data;
|
|
49820
|
+
})
|
|
49821
|
+
);
|
|
49822
|
+
res.json(results);
|
|
49823
|
+
});
|
|
49742
49824
|
async function computeOverview(account) {
|
|
49743
49825
|
const env = parseEnvFile(at(".env.local"));
|
|
49744
49826
|
const chainId = Number(account.chainId ?? env.CHAIN_ID ?? 0);
|
|
@@ -49750,7 +49832,7 @@ function startServer(sailDir, { port = PORT } = {}) {
|
|
|
49750
49832
|
kernel = void 0;
|
|
49751
49833
|
}
|
|
49752
49834
|
}
|
|
49753
|
-
const rpcUrl = env
|
|
49835
|
+
const rpcUrl = resolveRpcUrl(env, chainId);
|
|
49754
49836
|
const nameByAddr = /* @__PURE__ */ new Map();
|
|
49755
49837
|
const templateByAddr = /* @__PURE__ */ new Map();
|
|
49756
49838
|
try {
|
|
@@ -49900,12 +49982,19 @@ function startServer(sailDir, { port = PORT } = {}) {
|
|
|
49900
49982
|
const mgrSigner = result.signers.find((s) => s.role === "manager");
|
|
49901
49983
|
if (mgrSigner && !mgrSigner.managers) mgrSigner.managers = managersPayload;
|
|
49902
49984
|
}
|
|
49903
|
-
|
|
49904
|
-
|
|
49905
|
-
|
|
49906
|
-
|
|
49907
|
-
|
|
49908
|
-
|
|
49985
|
+
const storeCount = mandatesFromStore(at, account, nameByAddr, templateByAddr, network).length;
|
|
49986
|
+
if (storeCount > 0) {
|
|
49987
|
+
result.mandateCount = storeCount;
|
|
49988
|
+
} else {
|
|
49989
|
+
try {
|
|
49990
|
+
const raw = JSON.parse(import_node_fs2.default.readFileSync(at("mandate.json"), "utf-8"));
|
|
49991
|
+
const mandates = Array.isArray(raw) ? raw : [raw];
|
|
49992
|
+
result.mandateCount = mandates.filter(
|
|
49993
|
+
(m) => (m.registeredOnChain || m.signature) && (m.chainId == null || m.chainId === chainId)
|
|
49994
|
+
).length;
|
|
49995
|
+
} catch {
|
|
49996
|
+
result.mandateCount = 0;
|
|
49997
|
+
}
|
|
49909
49998
|
}
|
|
49910
49999
|
return result;
|
|
49911
50000
|
}
|