@1delta/margin-fetcher 0.0.167 → 0.0.169
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/dist/ccip-G7HDSZ4N.js +5 -0
- package/dist/{ccip-MRVHO3PE.js.map → ccip-G7HDSZ4N.js.map} +1 -1
- package/dist/{chunk-QCZNLSVI.js → chunk-ZVIJSUIM.js} +100 -83
- package/dist/chunk-ZVIJSUIM.js.map +1 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +424 -194
- package/dist/index.js.map +1 -1
- package/dist/lending/index.d.ts +1 -1
- package/dist/lending/index.d.ts.map +1 -1
- package/dist/lending/user-data/compound-v2/userCallParse.d.ts.map +1 -1
- package/dist/lending/user-data/summary/buildPortfolioTotals.d.ts +2 -2
- package/dist/lending/user-data/summary/buildPortfolioTotals.d.ts.map +1 -1
- package/dist/lending/user-data/summary/buildSummaries.d.ts +4 -4
- package/dist/lending/user-data/summary/buildSummaries.d.ts.map +1 -1
- package/dist/lending/user-data/summary/types.d.ts +36 -29
- package/dist/lending/user-data/summary/types.d.ts.map +1 -1
- package/dist/lending/user-data/summary/utils.d.ts +33 -0
- package/dist/lending/user-data/summary/utils.d.ts.map +1 -1
- package/dist/utils/parsing.d.ts.map +1 -1
- package/dist/yields/fetchGeneralYields.d.ts +2 -1
- package/dist/yields/fetchGeneralYields.d.ts.map +1 -1
- package/dist/yields/index.d.ts +5 -2
- package/dist/yields/index.d.ts.map +1 -1
- package/dist/yields/intrinsic/fetchers/angle.d.ts +3 -0
- package/dist/yields/intrinsic/fetchers/angle.d.ts.map +1 -0
- package/dist/yields/intrinsic/fetchers/coinbase.d.ts +3 -0
- package/dist/yields/intrinsic/fetchers/coinbase.d.ts.map +1 -0
- package/dist/yields/intrinsic/fetchers/ethena.d.ts +3 -0
- package/dist/yields/intrinsic/fetchers/ethena.d.ts.map +1 -0
- package/dist/yields/{fetchers → intrinsic/fetchers}/etherfi.d.ts +1 -1
- package/dist/yields/intrinsic/fetchers/etherfi.d.ts.map +1 -0
- package/dist/yields/intrinsic/fetchers/gmx.d.ts +3 -0
- package/dist/yields/intrinsic/fetchers/gmx.d.ts.map +1 -0
- package/dist/yields/{fetchers → intrinsic/fetchers}/hyperbeat.d.ts +1 -1
- package/dist/yields/intrinsic/fetchers/hyperbeat.d.ts.map +1 -0
- package/dist/yields/intrinsic/fetchers/hyperlend.d.ts +3 -0
- package/dist/yields/intrinsic/fetchers/hyperlend.d.ts.map +1 -0
- package/dist/yields/{fetchers → intrinsic/fetchers}/hyperliquid.d.ts +1 -1
- package/dist/yields/intrinsic/fetchers/hyperliquid.d.ts.map +1 -0
- package/dist/yields/intrinsic/fetchers/jito.d.ts +3 -0
- package/dist/yields/intrinsic/fetchers/jito.d.ts.map +1 -0
- package/dist/yields/intrinsic/fetchers/kelp.d.ts +3 -0
- package/dist/yields/intrinsic/fetchers/kelp.d.ts.map +1 -0
- package/dist/yields/{fetchers → intrinsic/fetchers}/lido.d.ts +1 -1
- package/dist/yields/intrinsic/fetchers/lido.d.ts.map +1 -0
- package/dist/yields/intrinsic/fetchers/mantle.d.ts +3 -0
- package/dist/yields/intrinsic/fetchers/mantle.d.ts.map +1 -0
- package/dist/yields/intrinsic/fetchers/maple.d.ts +3 -0
- package/dist/yields/intrinsic/fetchers/maple.d.ts.map +1 -0
- package/dist/yields/intrinsic/fetchers/morphoVaults.d.ts +3 -0
- package/dist/yields/intrinsic/fetchers/morphoVaults.d.ts.map +1 -0
- package/dist/yields/intrinsic/fetchers/ondo.d.ts +3 -0
- package/dist/yields/intrinsic/fetchers/ondo.d.ts.map +1 -0
- package/dist/yields/intrinsic/fetchers/pendle.d.ts +3 -0
- package/dist/yields/intrinsic/fetchers/pendle.d.ts.map +1 -0
- package/dist/yields/intrinsic/fetchers/puffer.d.ts +3 -0
- package/dist/yields/intrinsic/fetchers/puffer.d.ts.map +1 -0
- package/dist/yields/intrinsic/fetchers/renzo.d.ts +3 -0
- package/dist/yields/intrinsic/fetchers/renzo.d.ts.map +1 -0
- package/dist/yields/intrinsic/fetchers/reserve.d.ts +3 -0
- package/dist/yields/intrinsic/fetchers/reserve.d.ts.map +1 -0
- package/dist/yields/intrinsic/fetchers/reservoir.d.ts +3 -0
- package/dist/yields/intrinsic/fetchers/reservoir.d.ts.map +1 -0
- package/dist/yields/{fetchers → intrinsic/fetchers}/resolv.d.ts +1 -1
- package/dist/yields/intrinsic/fetchers/resolv.d.ts.map +1 -0
- package/dist/yields/intrinsic/fetchers/rocketpool.d.ts +3 -0
- package/dist/yields/intrinsic/fetchers/rocketpool.d.ts.map +1 -0
- package/dist/yields/intrinsic/fetchers/savax.d.ts +3 -0
- package/dist/yields/intrinsic/fetchers/savax.d.ts.map +1 -0
- package/dist/yields/intrinsic/fetchers/sky.d.ts +3 -0
- package/dist/yields/intrinsic/fetchers/sky.d.ts.map +1 -0
- package/dist/yields/{fetchers → intrinsic/fetchers}/stader.d.ts +1 -1
- package/dist/yields/intrinsic/fetchers/stader.d.ts.map +1 -0
- package/dist/yields/intrinsic/fetchers/stakewise.d.ts +3 -0
- package/dist/yields/intrinsic/fetchers/stakewise.d.ts.map +1 -0
- package/dist/yields/intrinsic/fetchers/superreturn.d.ts +3 -0
- package/dist/yields/intrinsic/fetchers/superreturn.d.ts.map +1 -0
- package/dist/yields/intrinsic/fetchers/swell.d.ts +3 -0
- package/dist/yields/intrinsic/fetchers/swell.d.ts.map +1 -0
- package/dist/yields/intrinsic/fetchers/theo.d.ts +3 -0
- package/dist/yields/intrinsic/fetchers/theo.d.ts.map +1 -0
- package/dist/yields/intrinsic/fetchers/trufin.d.ts +3 -0
- package/dist/yields/intrinsic/fetchers/trufin.d.ts.map +1 -0
- package/dist/yields/intrinsic/fetchers/usdai.d.ts +3 -0
- package/dist/yields/intrinsic/fetchers/usdai.d.ts.map +1 -0
- package/dist/yields/intrinsic/fetchers/usdx.d.ts +3 -0
- package/dist/yields/intrinsic/fetchers/usdx.d.ts.map +1 -0
- package/dist/yields/{fetchers → intrinsic/fetchers}/usual.d.ts +1 -1
- package/dist/yields/intrinsic/fetchers/usual.d.ts.map +1 -0
- package/dist/yields/intrinsic/fetchers/yearnKatana.d.ts +3 -0
- package/dist/yields/intrinsic/fetchers/yearnKatana.d.ts.map +1 -0
- package/dist/yields/intrinsic/fetchers/yieldfi.d.ts +3 -0
- package/dist/yields/intrinsic/fetchers/yieldfi.d.ts.map +1 -0
- package/dist/yields/intrinsic/fetchers/yieldnest.d.ts +3 -0
- package/dist/yields/intrinsic/fetchers/yieldnest.d.ts.map +1 -0
- package/dist/yields/intrinsic/fetchers/yoProtocol.d.ts +3 -0
- package/dist/yields/intrinsic/fetchers/yoProtocol.d.ts.map +1 -0
- package/dist/yields/intrinsic/index.d.ts +5 -0
- package/dist/yields/intrinsic/index.d.ts.map +1 -0
- package/dist/yields/rewards/fetchLenderRewards.d.ts +9 -0
- package/dist/yields/rewards/fetchLenderRewards.d.ts.map +1 -0
- package/dist/yields/rewards/index.d.ts +5 -0
- package/dist/yields/rewards/index.d.ts.map +1 -0
- package/dist/yields/rewards/merkl.d.ts +22 -0
- package/dist/yields/rewards/merkl.d.ts.map +1 -0
- package/dist/yields/rewards/types.d.ts +68 -0
- package/dist/yields/rewards/types.d.ts.map +1 -0
- package/dist/yields/types.d.ts +18 -6
- package/dist/yields/types.d.ts.map +1 -1
- package/package.json +4 -4
- package/dist/ccip-MRVHO3PE.js +0 -5
- package/dist/chunk-QCZNLSVI.js.map +0 -1
- package/dist/yields/fetchers/angle.d.ts +0 -3
- package/dist/yields/fetchers/angle.d.ts.map +0 -1
- package/dist/yields/fetchers/coinbase.d.ts +0 -3
- package/dist/yields/fetchers/coinbase.d.ts.map +0 -1
- package/dist/yields/fetchers/ethena.d.ts +0 -3
- package/dist/yields/fetchers/ethena.d.ts.map +0 -1
- package/dist/yields/fetchers/etherfi.d.ts.map +0 -1
- package/dist/yields/fetchers/gmx.d.ts +0 -3
- package/dist/yields/fetchers/gmx.d.ts.map +0 -1
- package/dist/yields/fetchers/hyperbeat.d.ts.map +0 -1
- package/dist/yields/fetchers/hyperlend.d.ts +0 -3
- package/dist/yields/fetchers/hyperlend.d.ts.map +0 -1
- package/dist/yields/fetchers/hyperliquid.d.ts.map +0 -1
- package/dist/yields/fetchers/jito.d.ts +0 -3
- package/dist/yields/fetchers/jito.d.ts.map +0 -1
- package/dist/yields/fetchers/kelp.d.ts +0 -3
- package/dist/yields/fetchers/kelp.d.ts.map +0 -1
- package/dist/yields/fetchers/lido.d.ts.map +0 -1
- package/dist/yields/fetchers/mantle.d.ts +0 -3
- package/dist/yields/fetchers/mantle.d.ts.map +0 -1
- package/dist/yields/fetchers/maple.d.ts +0 -3
- package/dist/yields/fetchers/maple.d.ts.map +0 -1
- package/dist/yields/fetchers/morphoVaults.d.ts +0 -3
- package/dist/yields/fetchers/morphoVaults.d.ts.map +0 -1
- package/dist/yields/fetchers/pendle.d.ts +0 -3
- package/dist/yields/fetchers/pendle.d.ts.map +0 -1
- package/dist/yields/fetchers/puffer.d.ts +0 -3
- package/dist/yields/fetchers/puffer.d.ts.map +0 -1
- package/dist/yields/fetchers/renzo.d.ts +0 -3
- package/dist/yields/fetchers/renzo.d.ts.map +0 -1
- package/dist/yields/fetchers/reserve.d.ts +0 -3
- package/dist/yields/fetchers/reserve.d.ts.map +0 -1
- package/dist/yields/fetchers/reservoir.d.ts +0 -3
- package/dist/yields/fetchers/reservoir.d.ts.map +0 -1
- package/dist/yields/fetchers/resolv.d.ts.map +0 -1
- package/dist/yields/fetchers/rocketpool.d.ts +0 -3
- package/dist/yields/fetchers/rocketpool.d.ts.map +0 -1
- package/dist/yields/fetchers/savax.d.ts +0 -3
- package/dist/yields/fetchers/savax.d.ts.map +0 -1
- package/dist/yields/fetchers/sky.d.ts +0 -3
- package/dist/yields/fetchers/sky.d.ts.map +0 -1
- package/dist/yields/fetchers/stader.d.ts.map +0 -1
- package/dist/yields/fetchers/stakewise.d.ts +0 -3
- package/dist/yields/fetchers/stakewise.d.ts.map +0 -1
- package/dist/yields/fetchers/superreturn.d.ts +0 -3
- package/dist/yields/fetchers/superreturn.d.ts.map +0 -1
- package/dist/yields/fetchers/swell.d.ts +0 -3
- package/dist/yields/fetchers/swell.d.ts.map +0 -1
- package/dist/yields/fetchers/theo.d.ts +0 -3
- package/dist/yields/fetchers/theo.d.ts.map +0 -1
- package/dist/yields/fetchers/trufin.d.ts +0 -3
- package/dist/yields/fetchers/trufin.d.ts.map +0 -1
- package/dist/yields/fetchers/usdai.d.ts +0 -3
- package/dist/yields/fetchers/usdai.d.ts.map +0 -1
- package/dist/yields/fetchers/usdx.d.ts +0 -3
- package/dist/yields/fetchers/usdx.d.ts.map +0 -1
- package/dist/yields/fetchers/usual.d.ts.map +0 -1
- package/dist/yields/fetchers/yearnKatana.d.ts +0 -3
- package/dist/yields/fetchers/yearnKatana.d.ts.map +0 -1
- package/dist/yields/fetchers/yieldfi.d.ts +0 -3
- package/dist/yields/fetchers/yieldfi.d.ts.map +0 -1
- package/dist/yields/fetchers/yieldnest.d.ts +0 -3
- package/dist/yields/fetchers/yieldnest.d.ts.map +0 -1
- package/dist/yields/fetchers/yoProtocol.d.ts +0 -3
- package/dist/yields/fetchers/yoProtocol.d.ts.map +0 -1
|
@@ -712,15 +712,15 @@ function parseAbi(signatures) {
|
|
|
712
712
|
return abi;
|
|
713
713
|
}
|
|
714
714
|
|
|
715
|
-
// ../../node_modules/.pnpm/ox@0.
|
|
715
|
+
// ../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/core/version.js
|
|
716
716
|
var version2 = "0.1.1";
|
|
717
717
|
|
|
718
|
-
// ../../node_modules/.pnpm/ox@0.
|
|
718
|
+
// ../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/core/internal/errors.js
|
|
719
719
|
function getVersion() {
|
|
720
720
|
return version2;
|
|
721
721
|
}
|
|
722
722
|
|
|
723
|
-
// ../../node_modules/.pnpm/ox@0.
|
|
723
|
+
// ../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/core/Errors.js
|
|
724
724
|
var BaseError2 = class _BaseError extends Error {
|
|
725
725
|
static setStaticOptions(options) {
|
|
726
726
|
_BaseError.prototype.docsOrigin = options.docsOrigin;
|
|
@@ -849,7 +849,7 @@ function walk(err, fn) {
|
|
|
849
849
|
return fn ? null : err;
|
|
850
850
|
}
|
|
851
851
|
|
|
852
|
-
// ../../node_modules/.pnpm/ox@0.
|
|
852
|
+
// ../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/core/internal/hex.js
|
|
853
853
|
function pad(hex_, options = {}) {
|
|
854
854
|
const { dir, size: size3 = 32 } = options;
|
|
855
855
|
if (size3 === 0)
|
|
@@ -864,7 +864,7 @@ function pad(hex_, options = {}) {
|
|
|
864
864
|
return `0x${hex[dir === "right" ? "padEnd" : "padStart"](size3 * 2, "0")}`;
|
|
865
865
|
}
|
|
866
866
|
|
|
867
|
-
// ../../node_modules/.pnpm/ox@0.
|
|
867
|
+
// ../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/core/Hex.js
|
|
868
868
|
function fromNumber(value, options = {}) {
|
|
869
869
|
const { signed, size: size3 } = options;
|
|
870
870
|
const value_ = BigInt(value);
|
|
@@ -920,7 +920,7 @@ var SizeExceedsPaddingSizeError = class extends BaseError2 {
|
|
|
920
920
|
}
|
|
921
921
|
};
|
|
922
922
|
|
|
923
|
-
// ../../node_modules/.pnpm/ox@0.
|
|
923
|
+
// ../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/core/Withdrawal.js
|
|
924
924
|
function toRpc(withdrawal) {
|
|
925
925
|
return {
|
|
926
926
|
address: withdrawal.address,
|
|
@@ -930,7 +930,7 @@ function toRpc(withdrawal) {
|
|
|
930
930
|
};
|
|
931
931
|
}
|
|
932
932
|
|
|
933
|
-
// ../../node_modules/.pnpm/ox@0.
|
|
933
|
+
// ../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/core/BlockOverrides.js
|
|
934
934
|
function toRpc2(blockOverrides) {
|
|
935
935
|
return {
|
|
936
936
|
...typeof blockOverrides.baseFeePerGas === "bigint" && {
|
|
@@ -960,14 +960,14 @@ function toRpc2(blockOverrides) {
|
|
|
960
960
|
};
|
|
961
961
|
}
|
|
962
962
|
|
|
963
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
963
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/accounts/utils/parseAccount.js
|
|
964
964
|
function parseAccount(account) {
|
|
965
965
|
if (typeof account === "string")
|
|
966
966
|
return { address: account, type: "json-rpc" };
|
|
967
967
|
return account;
|
|
968
968
|
}
|
|
969
969
|
|
|
970
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
970
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/constants/abis.js
|
|
971
971
|
var multicall3Abi = [
|
|
972
972
|
{
|
|
973
973
|
inputs: [
|
|
@@ -1010,6 +1010,23 @@ var multicall3Abi = [
|
|
|
1010
1010
|
stateMutability: "view",
|
|
1011
1011
|
type: "function"
|
|
1012
1012
|
},
|
|
1013
|
+
{
|
|
1014
|
+
inputs: [
|
|
1015
|
+
{
|
|
1016
|
+
name: "addr",
|
|
1017
|
+
type: "address"
|
|
1018
|
+
}
|
|
1019
|
+
],
|
|
1020
|
+
name: "getEthBalance",
|
|
1021
|
+
outputs: [
|
|
1022
|
+
{
|
|
1023
|
+
name: "balance",
|
|
1024
|
+
type: "uint256"
|
|
1025
|
+
}
|
|
1026
|
+
],
|
|
1027
|
+
stateMutability: "view",
|
|
1028
|
+
type: "function"
|
|
1029
|
+
},
|
|
1013
1030
|
{
|
|
1014
1031
|
inputs: [],
|
|
1015
1032
|
name: "getCurrentBlockTimestamp",
|
|
@@ -1076,18 +1093,18 @@ var batchGatewayAbi = [
|
|
|
1076
1093
|
}
|
|
1077
1094
|
];
|
|
1078
1095
|
|
|
1079
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
1096
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/constants/contract.js
|
|
1080
1097
|
var aggregate3Signature = "0x82ad56cb";
|
|
1081
1098
|
|
|
1082
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
1099
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/constants/contracts.js
|
|
1083
1100
|
var deploylessCallViaBytecodeBytecode = "0x608060405234801561001057600080fd5b5060405161018e38038061018e83398101604081905261002f91610124565b6000808351602085016000f59050803b61004857600080fd5b6000808351602085016000855af16040513d6000823e81610067573d81fd5b3d81f35b634e487b7160e01b600052604160045260246000fd5b600082601f83011261009257600080fd5b81516001600160401b038111156100ab576100ab61006b565b604051601f8201601f19908116603f011681016001600160401b03811182821017156100d9576100d961006b565b6040528181528382016020018510156100f157600080fd5b60005b82811015610110576020818601810151838301820152016100f4565b506000918101602001919091529392505050565b6000806040838503121561013757600080fd5b82516001600160401b0381111561014d57600080fd5b61015985828601610081565b602085015190935090506001600160401b0381111561017757600080fd5b61018385828601610081565b915050925092905056fe";
|
|
1084
1101
|
var deploylessCallViaFactoryBytecode = "0x608060405234801561001057600080fd5b506040516102c03803806102c083398101604081905261002f916101e6565b836001600160a01b03163b6000036100e457600080836001600160a01b03168360405161005c9190610270565b6000604051808303816000865af19150503d8060008114610099576040519150601f19603f3d011682016040523d82523d6000602084013e61009e565b606091505b50915091508115806100b857506001600160a01b0386163b155b156100e1578060405163101bb98d60e01b81526004016100d8919061028c565b60405180910390fd5b50505b6000808451602086016000885af16040513d6000823e81610103573d81fd5b3d81f35b80516001600160a01b038116811461011e57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b8381101561015457818101518382015260200161013c565b50506000910152565b600082601f83011261016e57600080fd5b81516001600160401b0381111561018757610187610123565b604051601f8201601f19908116603f011681016001600160401b03811182821017156101b5576101b5610123565b6040528181528382016020018510156101cd57600080fd5b6101de826020830160208701610139565b949350505050565b600080600080608085870312156101fc57600080fd5b61020585610107565b60208601519094506001600160401b0381111561022157600080fd5b61022d8782880161015d565b93505061023c60408601610107565b60608601519092506001600160401b0381111561025857600080fd5b6102648782880161015d565b91505092959194509250565b60008251610282818460208701610139565b9190910192915050565b60208152600082518060208401526102ab816040850160208701610139565b601f01601f1916919091016040019291505056fe";
|
|
1085
1102
|
var multicall3Bytecode = "0x608060405234801561001057600080fd5b506115b9806100206000396000f3fe6080604052600436106100f35760003560e01c80634d2301cc1161008a578063a8b0574e11610059578063a8b0574e14610325578063bce38bd714610350578063c3077fa914610380578063ee82ac5e146103b2576100f3565b80634d2301cc1461026257806372425d9d1461029f57806382ad56cb146102ca57806386d516e8146102fa576100f3565b80633408e470116100c65780633408e470146101af578063399542e9146101da5780633e64a6961461020c57806342cbb15c14610237576100f3565b80630f28c97d146100f8578063174dea7114610123578063252dba421461015357806327e86d6e14610184575b600080fd5b34801561010457600080fd5b5061010d6103ef565b60405161011a9190610c0a565b60405180910390f35b61013d60048036038101906101389190610c94565b6103f7565b60405161014a9190610e94565b60405180910390f35b61016d60048036038101906101689190610f0c565b610615565b60405161017b92919061101b565b60405180910390f35b34801561019057600080fd5b506101996107ab565b6040516101a69190611064565b60405180910390f35b3480156101bb57600080fd5b506101c46107b7565b6040516101d19190610c0a565b60405180910390f35b6101f460048036038101906101ef91906110ab565b6107bf565b6040516102039392919061110b565b60405180910390f35b34801561021857600080fd5b506102216107e1565b60405161022e9190610c0a565b60405180910390f35b34801561024357600080fd5b5061024c6107e9565b6040516102599190610c0a565b60405180910390f35b34801561026e57600080fd5b50610289600480360381019061028491906111a7565b6107f1565b6040516102969190610c0a565b60405180910390f35b3480156102ab57600080fd5b506102b4610812565b6040516102c19190610c0a565b60405180910390f35b6102e460048036038101906102df919061122a565b61081a565b6040516102f19190610e94565b60405180910390f35b34801561030657600080fd5b5061030f6109e4565b60405161031c9190610c0a565b60405180910390f35b34801561033157600080fd5b5061033a6109ec565b6040516103479190611286565b60405180910390f35b61036a600480360381019061036591906110ab565b6109f4565b6040516103779190610e94565b60405180910390f35b61039a60048036038101906103959190610f0c565b610ba6565b6040516103a99392919061110b565b60405180910390f35b3480156103be57600080fd5b506103d960048036038101906103d491906112cd565b610bca565b6040516103e69190611064565b60405180910390f35b600042905090565b60606000808484905090508067ffffffffffffffff81111561041c5761041b6112fa565b5b60405190808252806020026020018201604052801561045557816020015b610442610bd5565b81526020019060019003908161043a5790505b5092503660005b828110156105c957600085828151811061047957610478611329565b5b6020026020010151905087878381811061049657610495611329565b5b90506020028101906104a89190611367565b925060008360400135905080860195508360000160208101906104cb91906111a7565b73ffffffffffffffffffffffffffffffffffffffff16818580606001906104f2919061138f565b604051610500929190611431565b60006040518083038185875af1925050503d806000811461053d576040519150601f19603f3d011682016040523d82523d6000602084013e610542565b606091505b5083600001846020018290528215151515815250505081516020850135176105bc577f08c379a000000000000000000000000000000000000000000000000000000000600052602060045260176024527f4d756c746963616c6c333a2063616c6c206661696c656400000000000000000060445260846000fd5b826001019250505061045c565b5082341461060c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610603906114a7565b60405180910390fd5b50505092915050565b6000606043915060008484905090508067ffffffffffffffff81111561063e5761063d6112fa565b5b60405190808252806020026020018201604052801561067157816020015b606081526020019060019003908161065c5790505b5091503660005b828110156107a157600087878381811061069557610694611329565b5b90506020028101906106a791906114c7565b92508260000160208101906106bc91906111a7565b73ffffffffffffffffffffffffffffffffffffffff168380602001906106e2919061138f565b6040516106f0929190611431565b6000604051808303816000865af19150503d806000811461072d576040519150601f19603f3d011682016040523d82523d6000602084013e610732565b606091505b5086848151811061074657610745611329565b5b60200260200101819052819250505080610795576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161078c9061153b565b60405180910390fd5b81600101915050610678565b5050509250929050565b60006001430340905090565b600046905090565b6000806060439250434091506107d68686866109f4565b905093509350939050565b600048905090565b600043905090565b60008173ffffffffffffffffffffffffffffffffffffffff16319050919050565b600044905090565b606060008383905090508067ffffffffffffffff81111561083e5761083d6112fa565b5b60405190808252806020026020018201604052801561087757816020015b610864610bd5565b81526020019060019003908161085c5790505b5091503660005b828110156109db57600084828151811061089b5761089a611329565b5b602002602001015190508686838181106108b8576108b7611329565b5b90506020028101906108ca919061155b565b92508260000160208101906108df91906111a7565b73ffffffffffffffffffffffffffffffffffffffff16838060400190610905919061138f565b604051610913929190611431565b6000604051808303816000865af19150503d8060008114610950576040519150601f19603f3d011682016040523d82523d6000602084013e610955565b606091505b5082600001836020018290528215151515815250505080516020840135176109cf577f08c379a000000000000000000000000000000000000000000000000000000000600052602060045260176024527f4d756c746963616c6c333a2063616c6c206661696c656400000000000000000060445260646000fd5b8160010191505061087e565b50505092915050565b600045905090565b600041905090565b606060008383905090508067ffffffffffffffff811115610a1857610a176112fa565b5b604051908082528060200260200182016040528015610a5157816020015b610a3e610bd5565b815260200190600190039081610a365790505b5091503660005b82811015610b9c576000848281518110610a7557610a74611329565b5b60200260200101519050868683818110610a9257610a91611329565b5b9050602002810190610aa491906114c7565b9250826000016020810190610ab991906111a7565b73ffffffffffffffffffffffffffffffffffffffff16838060200190610adf919061138f565b604051610aed929190611431565b6000604051808303816000865af19150503d8060008114610b2a576040519150601f19603f3d011682016040523d82523d6000602084013e610b2f565b606091505b508260000183602001829052821515151581525050508715610b90578060000151610b8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b869061153b565b60405180910390fd5b5b81600101915050610a58565b5050509392505050565b6000806060610bb7600186866107bf565b8093508194508295505050509250925092565b600081409050919050565b6040518060400160405280600015158152602001606081525090565b6000819050919050565b610c0481610bf1565b82525050565b6000602082019050610c1f6000830184610bfb565b92915050565b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b60008083601f840112610c5457610c53610c2f565b5b8235905067ffffffffffffffff811115610c7157610c70610c34565b5b602083019150836020820283011115610c8d57610c8c610c39565b5b9250929050565b60008060208385031215610cab57610caa610c25565b5b600083013567ffffffffffffffff811115610cc957610cc8610c2a565b5b610cd585828601610c3e565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b60008115159050919050565b610d2281610d0d565b82525050565b600081519050919050565b600082825260208201905092915050565b60005b83811015610d62578082015181840152602081019050610d47565b83811115610d71576000848401525b50505050565b6000601f19601f8301169050919050565b6000610d9382610d28565b610d9d8185610d33565b9350610dad818560208601610d44565b610db681610d77565b840191505092915050565b6000604083016000830151610dd96000860182610d19565b5060208301518482036020860152610df18282610d88565b9150508091505092915050565b6000610e0a8383610dc1565b905092915050565b6000602082019050919050565b6000610e2a82610ce1565b610e348185610cec565b935083602082028501610e4685610cfd565b8060005b85811015610e825784840389528151610e638582610dfe565b9450610e6e83610e12565b925060208a01995050600181019050610e4a565b50829750879550505050505092915050565b60006020820190508181036000830152610eae8184610e1f565b905092915050565b60008083601f840112610ecc57610ecb610c2f565b5b8235905067ffffffffffffffff811115610ee957610ee8610c34565b5b602083019150836020820283011115610f0557610f04610c39565b5b9250929050565b60008060208385031215610f2357610f22610c25565b5b600083013567ffffffffffffffff811115610f4157610f40610c2a565b5b610f4d85828601610eb6565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6000610f918383610d88565b905092915050565b6000602082019050919050565b6000610fb182610f59565b610fbb8185610f64565b935083602082028501610fcd85610f75565b8060005b858110156110095784840389528151610fea8582610f85565b9450610ff583610f99565b925060208a01995050600181019050610fd1565b50829750879550505050505092915050565b60006040820190506110306000830185610bfb565b81810360208301526110428184610fa6565b90509392505050565b6000819050919050565b61105e8161104b565b82525050565b60006020820190506110796000830184611055565b92915050565b61108881610d0d565b811461109357600080fd5b50565b6000813590506110a58161107f565b92915050565b6000806000604084860312156110c4576110c3610c25565b5b60006110d286828701611096565b935050602084013567ffffffffffffffff8111156110f3576110f2610c2a565b5b6110ff86828701610eb6565b92509250509250925092565b60006060820190506111206000830186610bfb565b61112d6020830185611055565b818103604083015261113f8184610e1f565b9050949350505050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061117482611149565b9050919050565b61118481611169565b811461118f57600080fd5b50565b6000813590506111a18161117b565b92915050565b6000602082840312156111bd576111bc610c25565b5b60006111cb84828501611192565b91505092915050565b60008083601f8401126111ea576111e9610c2f565b5b8235905067ffffffffffffffff81111561120757611206610c34565b5b60208301915083602082028301111561122357611222610c39565b5b9250929050565b6000806020838503121561124157611240610c25565b5b600083013567ffffffffffffffff81111561125f5761125e610c2a565b5b61126b858286016111d4565b92509250509250929050565b61128081611169565b82525050565b600060208201905061129b6000830184611277565b92915050565b6112aa81610bf1565b81146112b557600080fd5b50565b6000813590506112c7816112a1565b92915050565b6000602082840312156112e3576112e2610c25565b5b60006112f1848285016112b8565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600080fd5b600080fd5b600080fd5b60008235600160800383360303811261138357611382611358565b5b80830191505092915050565b600080833560016020038436030381126113ac576113ab611358565b5b80840192508235915067ffffffffffffffff8211156113ce576113cd61135d565b5b6020830192506001820236038313156113ea576113e9611362565b5b509250929050565b600081905092915050565b82818337600083830152505050565b600061141883856113f2565b93506114258385846113fd565b82840190509392505050565b600061143e82848661140c565b91508190509392505050565b600082825260208201905092915050565b7f4d756c746963616c6c333a2076616c7565206d69736d61746368000000000000600082015250565b6000611491601a8361144a565b915061149c8261145b565b602082019050919050565b600060208201905081810360008301526114c081611484565b9050919050565b6000823560016040038336030381126114e3576114e2611358565b5b80830191505092915050565b7f4d756c746963616c6c333a2063616c6c206661696c6564000000000000000000600082015250565b600061152560178361144a565b9150611530826114ef565b602082019050919050565b6000602082019050818103600083015261155481611518565b9050919050565b60008235600160600383360303811261157757611576611358565b5b8083019150509291505056fea264697066735822122020c1bc9aacf8e4a6507193432a895a8e77094f45a1395583f07b24e860ef06cd64736f6c634300080c0033";
|
|
1086
1103
|
|
|
1087
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
1088
|
-
var version3 = "2.45.
|
|
1104
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/version.js
|
|
1105
|
+
var version3 = "2.45.3";
|
|
1089
1106
|
|
|
1090
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
1107
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/base.js
|
|
1091
1108
|
var errorConfig = {
|
|
1092
1109
|
getDocsUrl: ({ docsBaseUrl, docsPath: docsPath6 = "", docsSlug }) => docsPath6 ? `${docsBaseUrl ?? "https://viem.sh"}${docsPath6}${docsSlug ? `#${docsSlug}` : ""}` : void 0,
|
|
1093
1110
|
version: `viem@${version3}`
|
|
@@ -1171,7 +1188,7 @@ function walk2(err, fn) {
|
|
|
1171
1188
|
return fn ? null : err;
|
|
1172
1189
|
}
|
|
1173
1190
|
|
|
1174
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
1191
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/chain.js
|
|
1175
1192
|
var ChainDoesNotSupportContract = class extends BaseError3 {
|
|
1176
1193
|
constructor({ blockNumber, chain, contract }) {
|
|
1177
1194
|
super(`Chain "${chain.name}" does not support contract "${contract.name}".`, {
|
|
@@ -1195,7 +1212,7 @@ var ClientChainNotConfiguredError = class extends BaseError3 {
|
|
|
1195
1212
|
}
|
|
1196
1213
|
};
|
|
1197
1214
|
|
|
1198
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
1215
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/constants/solidity.js
|
|
1199
1216
|
var solidityError = {
|
|
1200
1217
|
inputs: [
|
|
1201
1218
|
{
|
|
@@ -1217,7 +1234,7 @@ var solidityPanic = {
|
|
|
1217
1234
|
type: "error"
|
|
1218
1235
|
};
|
|
1219
1236
|
|
|
1220
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
1237
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/abi/formatAbiItem.js
|
|
1221
1238
|
function formatAbiItem2(abiItem, { includeName = false } = {}) {
|
|
1222
1239
|
if (abiItem.type !== "function" && abiItem.type !== "event" && abiItem.type !== "error")
|
|
1223
1240
|
throw new InvalidDefinitionTypeError(abiItem.type);
|
|
@@ -1235,7 +1252,7 @@ function formatAbiParam(param, { includeName }) {
|
|
|
1235
1252
|
return param.type + (includeName && param.name ? ` ${param.name}` : "");
|
|
1236
1253
|
}
|
|
1237
1254
|
|
|
1238
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
1255
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/data/isHex.js
|
|
1239
1256
|
function isHex(value, { strict = true } = {}) {
|
|
1240
1257
|
if (!value)
|
|
1241
1258
|
return false;
|
|
@@ -1244,14 +1261,14 @@ function isHex(value, { strict = true } = {}) {
|
|
|
1244
1261
|
return strict ? /^0x[0-9a-fA-F]*$/.test(value) : value.startsWith("0x");
|
|
1245
1262
|
}
|
|
1246
1263
|
|
|
1247
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
1264
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/data/size.js
|
|
1248
1265
|
function size2(value) {
|
|
1249
1266
|
if (isHex(value, { strict: false }))
|
|
1250
1267
|
return Math.ceil((value.length - 2) / 2);
|
|
1251
1268
|
return value.length;
|
|
1252
1269
|
}
|
|
1253
1270
|
|
|
1254
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
1271
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/abi.js
|
|
1255
1272
|
var AbiConstructorNotFoundError = class extends BaseError3 {
|
|
1256
1273
|
constructor({ docsPath: docsPath6 }) {
|
|
1257
1274
|
super([
|
|
@@ -1473,7 +1490,7 @@ var UnsupportedPackedAbiType = class extends BaseError3 {
|
|
|
1473
1490
|
}
|
|
1474
1491
|
};
|
|
1475
1492
|
|
|
1476
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
1493
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/data.js
|
|
1477
1494
|
var SliceOffsetOutOfBoundsError2 = class extends BaseError3 {
|
|
1478
1495
|
constructor({ offset, position, size: size3 }) {
|
|
1479
1496
|
super(`Slice ${position === "start" ? "starting" : "ending"} at offset "${offset}" is out-of-bounds (size: ${size3}).`, { name: "SliceOffsetOutOfBoundsError" });
|
|
@@ -1490,7 +1507,7 @@ var InvalidBytesLengthError = class extends BaseError3 {
|
|
|
1490
1507
|
}
|
|
1491
1508
|
};
|
|
1492
1509
|
|
|
1493
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
1510
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/data/slice.js
|
|
1494
1511
|
function slice(value, start, end, { strict } = {}) {
|
|
1495
1512
|
if (isHex(value, { strict: false }))
|
|
1496
1513
|
return sliceHex(value, start, end, {
|
|
@@ -1532,7 +1549,7 @@ function sliceHex(value_, start, end, { strict } = {}) {
|
|
|
1532
1549
|
return value;
|
|
1533
1550
|
}
|
|
1534
1551
|
|
|
1535
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
1552
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/data/pad.js
|
|
1536
1553
|
function pad2(hexOrBytes, { dir, size: size3 = 32 } = {}) {
|
|
1537
1554
|
if (typeof hexOrBytes === "string")
|
|
1538
1555
|
return padHex(hexOrBytes, { dir, size: size3 });
|
|
@@ -1567,7 +1584,7 @@ function padBytes(bytes, { dir, size: size3 = 32 } = {}) {
|
|
|
1567
1584
|
return paddedBytes;
|
|
1568
1585
|
}
|
|
1569
1586
|
|
|
1570
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
1587
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/encoding.js
|
|
1571
1588
|
var IntegerOutOfRangeError2 = class extends BaseError3 {
|
|
1572
1589
|
constructor({ max, min, signed, size: size3, value }) {
|
|
1573
1590
|
super(`Number "${value}" is not in safe ${size3 ? `${size3 * 8}-bit ${signed ? "signed" : "unsigned"} ` : ""}integer range ${max ? `(${min} to ${max})` : `(above ${min})`}`, { name: "IntegerOutOfRangeError" });
|
|
@@ -1586,7 +1603,7 @@ var SizeOverflowError2 = class extends BaseError3 {
|
|
|
1586
1603
|
}
|
|
1587
1604
|
};
|
|
1588
1605
|
|
|
1589
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
1606
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/data/trim.js
|
|
1590
1607
|
function trim2(hexOrBytes, { dir = "left" } = {}) {
|
|
1591
1608
|
let data = typeof hexOrBytes === "string" ? hexOrBytes.replace("0x", "") : hexOrBytes;
|
|
1592
1609
|
let sliceLength = 0;
|
|
@@ -1605,7 +1622,7 @@ function trim2(hexOrBytes, { dir = "left" } = {}) {
|
|
|
1605
1622
|
return data;
|
|
1606
1623
|
}
|
|
1607
1624
|
|
|
1608
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
1625
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/encoding/fromHex.js
|
|
1609
1626
|
function assertSize2(hexOrBytes, { size: size3 }) {
|
|
1610
1627
|
if (size2(hexOrBytes) > size3)
|
|
1611
1628
|
throw new SizeOverflowError2({
|
|
@@ -1640,7 +1657,7 @@ function hexToNumber(hex, opts = {}) {
|
|
|
1640
1657
|
return number;
|
|
1641
1658
|
}
|
|
1642
1659
|
|
|
1643
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
1660
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/encoding/toHex.js
|
|
1644
1661
|
var hexes = /* @__PURE__ */ Array.from({ length: 256 }, (_v, i) => i.toString(16).padStart(2, "0"));
|
|
1645
1662
|
function toHex(value, opts = {}) {
|
|
1646
1663
|
if (typeof value === "number" || typeof value === "bigint")
|
|
@@ -1706,7 +1723,7 @@ function stringToHex(value_, opts = {}) {
|
|
|
1706
1723
|
return bytesToHex(value, opts);
|
|
1707
1724
|
}
|
|
1708
1725
|
|
|
1709
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
1726
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/encoding/toBytes.js
|
|
1710
1727
|
var encoder2 = /* @__PURE__ */ new TextEncoder();
|
|
1711
1728
|
function toBytes2(value, opts = {}) {
|
|
1712
1729
|
if (typeof value === "number" || typeof value === "bigint")
|
|
@@ -1958,7 +1975,7 @@ var Keccak = class _Keccak extends Hash {
|
|
|
1958
1975
|
var gen = (suffix, blockLen, outputLen) => createHasher(() => new Keccak(blockLen, suffix, outputLen));
|
|
1959
1976
|
var keccak_256 = /* @__PURE__ */ (() => gen(1, 136, 256 / 8))();
|
|
1960
1977
|
|
|
1961
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
1978
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/hash/keccak256.js
|
|
1962
1979
|
function keccak256(value, to_) {
|
|
1963
1980
|
const to = to_ || "hex";
|
|
1964
1981
|
const bytes = keccak_256(isHex(value, { strict: false }) ? toBytes2(value) : value);
|
|
@@ -1967,13 +1984,13 @@ function keccak256(value, to_) {
|
|
|
1967
1984
|
return toHex(bytes);
|
|
1968
1985
|
}
|
|
1969
1986
|
|
|
1970
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
1987
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/hash/hashSignature.js
|
|
1971
1988
|
var hash = (value) => keccak256(toBytes2(value));
|
|
1972
1989
|
function hashSignature(sig) {
|
|
1973
1990
|
return hash(sig);
|
|
1974
1991
|
}
|
|
1975
1992
|
|
|
1976
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
1993
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/hash/normalizeSignature.js
|
|
1977
1994
|
function normalizeSignature(signature) {
|
|
1978
1995
|
let active = true;
|
|
1979
1996
|
let current = "";
|
|
@@ -2017,7 +2034,7 @@ function normalizeSignature(signature) {
|
|
|
2017
2034
|
return result;
|
|
2018
2035
|
}
|
|
2019
2036
|
|
|
2020
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
2037
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/hash/toSignature.js
|
|
2021
2038
|
var toSignature = (def) => {
|
|
2022
2039
|
const def_ = (() => {
|
|
2023
2040
|
if (typeof def === "string")
|
|
@@ -2027,15 +2044,15 @@ var toSignature = (def) => {
|
|
|
2027
2044
|
return normalizeSignature(def_);
|
|
2028
2045
|
};
|
|
2029
2046
|
|
|
2030
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
2047
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/hash/toSignatureHash.js
|
|
2031
2048
|
function toSignatureHash(fn) {
|
|
2032
2049
|
return hashSignature(toSignature(fn));
|
|
2033
2050
|
}
|
|
2034
2051
|
|
|
2035
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
2052
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/hash/toFunctionSelector.js
|
|
2036
2053
|
var toFunctionSelector = (fn) => slice(toSignatureHash(fn), 0, 4);
|
|
2037
2054
|
|
|
2038
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
2055
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/address.js
|
|
2039
2056
|
var InvalidAddressError = class extends BaseError3 {
|
|
2040
2057
|
constructor({ address }) {
|
|
2041
2058
|
super(`Address "${address}" is invalid.`, {
|
|
@@ -2048,7 +2065,7 @@ var InvalidAddressError = class extends BaseError3 {
|
|
|
2048
2065
|
}
|
|
2049
2066
|
};
|
|
2050
2067
|
|
|
2051
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
2068
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/lru.js
|
|
2052
2069
|
var LruMap = class extends Map {
|
|
2053
2070
|
constructor(size3) {
|
|
2054
2071
|
super();
|
|
@@ -2079,7 +2096,7 @@ var LruMap = class extends Map {
|
|
|
2079
2096
|
}
|
|
2080
2097
|
};
|
|
2081
2098
|
|
|
2082
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
2099
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/address/isAddress.js
|
|
2083
2100
|
var addressRegex = /^0x[a-fA-F0-9]{40}$/;
|
|
2084
2101
|
var isAddressCache = /* @__PURE__ */ new LruMap(8192);
|
|
2085
2102
|
function isAddress(address, options) {
|
|
@@ -2100,7 +2117,7 @@ function isAddress(address, options) {
|
|
|
2100
2117
|
return result;
|
|
2101
2118
|
}
|
|
2102
2119
|
|
|
2103
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
2120
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/address/getAddress.js
|
|
2104
2121
|
var checksumAddressCache = /* @__PURE__ */ new LruMap(8192);
|
|
2105
2122
|
function checksumAddress(address_, chainId) {
|
|
2106
2123
|
if (checksumAddressCache.has(`${address_}.${chainId}`))
|
|
@@ -2121,7 +2138,7 @@ function checksumAddress(address_, chainId) {
|
|
|
2121
2138
|
return result;
|
|
2122
2139
|
}
|
|
2123
2140
|
|
|
2124
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
2141
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/cursor.js
|
|
2125
2142
|
var NegativeOffsetError = class extends BaseError3 {
|
|
2126
2143
|
constructor({ offset }) {
|
|
2127
2144
|
super(`Offset \`${offset}\` cannot be negative.`, {
|
|
@@ -2140,7 +2157,7 @@ var RecursiveReadLimitExceededError = class extends BaseError3 {
|
|
|
2140
2157
|
}
|
|
2141
2158
|
};
|
|
2142
2159
|
|
|
2143
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
2160
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/cursor.js
|
|
2144
2161
|
var staticCursor = {
|
|
2145
2162
|
bytes: new Uint8Array(),
|
|
2146
2163
|
dataView: new DataView(new ArrayBuffer(0)),
|
|
@@ -2309,7 +2326,7 @@ function createCursor(bytes, { recursiveReadLimit = 8192 } = {}) {
|
|
|
2309
2326
|
return cursor;
|
|
2310
2327
|
}
|
|
2311
2328
|
|
|
2312
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
2329
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/encoding/fromBytes.js
|
|
2313
2330
|
function bytesToBigInt(bytes, opts = {}) {
|
|
2314
2331
|
if (typeof opts.size !== "undefined")
|
|
2315
2332
|
assertSize2(bytes, { size: opts.size });
|
|
@@ -2341,7 +2358,7 @@ function bytesToString(bytes_, opts = {}) {
|
|
|
2341
2358
|
return new TextDecoder().decode(bytes);
|
|
2342
2359
|
}
|
|
2343
2360
|
|
|
2344
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
2361
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/data/concat.js
|
|
2345
2362
|
function concat(values) {
|
|
2346
2363
|
if (typeof values[0] === "string")
|
|
2347
2364
|
return concatHex(values);
|
|
@@ -2364,12 +2381,12 @@ function concatHex(values) {
|
|
|
2364
2381
|
return `0x${values.reduce((acc, x) => acc + x.replace("0x", ""), "")}`;
|
|
2365
2382
|
}
|
|
2366
2383
|
|
|
2367
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
2384
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/regex.js
|
|
2368
2385
|
var arrayRegex = /^(.*)\[([0-9]*)\]$/;
|
|
2369
2386
|
var bytesRegex2 = /^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/;
|
|
2370
2387
|
var integerRegex2 = /^(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)?$/;
|
|
2371
2388
|
|
|
2372
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
2389
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/abi/encodeAbiParameters.js
|
|
2373
2390
|
function encodeAbiParameters(params, values) {
|
|
2374
2391
|
if (params.length !== values.length)
|
|
2375
2392
|
throw new AbiEncodingLengthMismatchError({
|
|
@@ -2583,7 +2600,7 @@ function getArrayComponents(type) {
|
|
|
2583
2600
|
) : void 0;
|
|
2584
2601
|
}
|
|
2585
2602
|
|
|
2586
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
2603
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/abi/decodeAbiParameters.js
|
|
2587
2604
|
function decodeAbiParameters(params, data) {
|
|
2588
2605
|
const bytes = typeof data === "string" ? hexToBytes(data) : data;
|
|
2589
2606
|
const cursor = createCursor(bytes);
|
|
@@ -2770,7 +2787,7 @@ function hasDynamicChild(param) {
|
|
|
2770
2787
|
return false;
|
|
2771
2788
|
}
|
|
2772
2789
|
|
|
2773
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
2790
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/abi/decodeErrorResult.js
|
|
2774
2791
|
function decodeErrorResult(parameters) {
|
|
2775
2792
|
const { abi, data } = parameters;
|
|
2776
2793
|
const signature = slice(data, 0, 4);
|
|
@@ -2789,16 +2806,16 @@ function decodeErrorResult(parameters) {
|
|
|
2789
2806
|
};
|
|
2790
2807
|
}
|
|
2791
2808
|
|
|
2792
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
2809
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/stringify.js
|
|
2793
2810
|
var stringify = (value, replacer, space) => JSON.stringify(value, (key, value_) => {
|
|
2794
2811
|
const value2 = typeof value_ === "bigint" ? value_.toString() : value_;
|
|
2795
2812
|
return value2;
|
|
2796
2813
|
}, space);
|
|
2797
2814
|
|
|
2798
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
2815
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/hash/toEventSelector.js
|
|
2799
2816
|
var toEventSelector = toSignatureHash;
|
|
2800
2817
|
|
|
2801
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
2818
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/abi/getAbiItem.js
|
|
2802
2819
|
function getAbiItem(parameters) {
|
|
2803
2820
|
const { abi, args = [], name } = parameters;
|
|
2804
2821
|
const isSelector = isHex(name, { strict: false });
|
|
@@ -2910,7 +2927,7 @@ function getAmbiguousTypes(sourceParameters, targetParameters, args) {
|
|
|
2910
2927
|
return;
|
|
2911
2928
|
}
|
|
2912
2929
|
|
|
2913
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
2930
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/constants/unit.js
|
|
2914
2931
|
var etherUnits = {
|
|
2915
2932
|
gwei: 9,
|
|
2916
2933
|
wei: 18
|
|
@@ -2920,7 +2937,7 @@ var gweiUnits = {
|
|
|
2920
2937
|
wei: 9
|
|
2921
2938
|
};
|
|
2922
2939
|
|
|
2923
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
2940
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/unit/formatUnits.js
|
|
2924
2941
|
function formatUnits(value, decimals) {
|
|
2925
2942
|
let display = value.toString();
|
|
2926
2943
|
const negative = display.startsWith("-");
|
|
@@ -2935,17 +2952,17 @@ function formatUnits(value, decimals) {
|
|
|
2935
2952
|
return `${negative ? "-" : ""}${integer || "0"}${fraction ? `.${fraction}` : ""}`;
|
|
2936
2953
|
}
|
|
2937
2954
|
|
|
2938
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
2955
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/unit/formatEther.js
|
|
2939
2956
|
function formatEther(wei, unit = "wei") {
|
|
2940
2957
|
return formatUnits(wei, etherUnits[unit]);
|
|
2941
2958
|
}
|
|
2942
2959
|
|
|
2943
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
2960
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/unit/formatGwei.js
|
|
2944
2961
|
function formatGwei(wei, unit = "wei") {
|
|
2945
2962
|
return formatUnits(wei, gweiUnits[unit]);
|
|
2946
2963
|
}
|
|
2947
2964
|
|
|
2948
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
2965
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/stateOverride.js
|
|
2949
2966
|
var AccountStateConflictError = class extends BaseError3 {
|
|
2950
2967
|
constructor({ address }) {
|
|
2951
2968
|
super(`State for account "${address}" is set multiple times.`, {
|
|
@@ -2991,7 +3008,7 @@ function prettyStateOverride(stateOverride) {
|
|
|
2991
3008
|
}, " State Override:\n").slice(0, -1);
|
|
2992
3009
|
}
|
|
2993
3010
|
|
|
2994
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
3011
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/transaction.js
|
|
2995
3012
|
function prettyPrint(args) {
|
|
2996
3013
|
const entries = Object.entries(args).map(([key, value]) => {
|
|
2997
3014
|
if (value === void 0 || value === false)
|
|
@@ -3002,10 +3019,10 @@ function prettyPrint(args) {
|
|
|
3002
3019
|
return entries.map(([key, value]) => ` ${`${key}:`.padEnd(maxLength + 1)} ${value}`).join("\n");
|
|
3003
3020
|
}
|
|
3004
3021
|
|
|
3005
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
3022
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/utils.js
|
|
3006
3023
|
var getUrl = (url) => url;
|
|
3007
3024
|
|
|
3008
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
3025
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/contract.js
|
|
3009
3026
|
var CallExecutionError = class extends BaseError3 {
|
|
3010
3027
|
constructor(cause, { account: account_, docsPath: docsPath6, chain, data, gas, gasPrice, maxFeePerGas, maxPriorityFeePerGas, nonce, to, value, stateOverride }) {
|
|
3011
3028
|
const account = account_ ? parseAccount(account_) : void 0;
|
|
@@ -3074,7 +3091,7 @@ var RawContractError = class extends BaseError3 {
|
|
|
3074
3091
|
}
|
|
3075
3092
|
};
|
|
3076
3093
|
|
|
3077
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
3094
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/abi/decodeFunctionResult.js
|
|
3078
3095
|
var docsPath = "/docs/contract/decodeFunctionResult";
|
|
3079
3096
|
function decodeFunctionResult(parameters) {
|
|
3080
3097
|
const { abi, args, functionName, data } = parameters;
|
|
@@ -3097,7 +3114,7 @@ function decodeFunctionResult(parameters) {
|
|
|
3097
3114
|
return void 0;
|
|
3098
3115
|
}
|
|
3099
3116
|
|
|
3100
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
3117
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/abi/encodeDeployData.js
|
|
3101
3118
|
var docsPath2 = "/docs/contract/encodeDeployData";
|
|
3102
3119
|
function encodeDeployData(parameters) {
|
|
3103
3120
|
const { abi, args, bytecode } = parameters;
|
|
@@ -3114,7 +3131,7 @@ function encodeDeployData(parameters) {
|
|
|
3114
3131
|
return concatHex([bytecode, data]);
|
|
3115
3132
|
}
|
|
3116
3133
|
|
|
3117
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
3134
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/abi/prepareEncodeFunctionData.js
|
|
3118
3135
|
var docsPath3 = "/docs/contract/encodeFunctionData";
|
|
3119
3136
|
function prepareEncodeFunctionData(parameters) {
|
|
3120
3137
|
const { abi, args, functionName } = parameters;
|
|
@@ -3137,7 +3154,7 @@ function prepareEncodeFunctionData(parameters) {
|
|
|
3137
3154
|
};
|
|
3138
3155
|
}
|
|
3139
3156
|
|
|
3140
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
3157
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/abi/encodeFunctionData.js
|
|
3141
3158
|
function encodeFunctionData(parameters) {
|
|
3142
3159
|
const { args } = parameters;
|
|
3143
3160
|
const { abi, functionName } = (() => {
|
|
@@ -3151,7 +3168,7 @@ function encodeFunctionData(parameters) {
|
|
|
3151
3168
|
return concatHex([signature, data ?? "0x"]);
|
|
3152
3169
|
}
|
|
3153
3170
|
|
|
3154
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
3171
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/chain/getChainContractAddress.js
|
|
3155
3172
|
function getChainContractAddress({ blockNumber, chain, contract: name }) {
|
|
3156
3173
|
const contract = chain?.contracts?.[name];
|
|
3157
3174
|
if (!contract)
|
|
@@ -3171,7 +3188,7 @@ function getChainContractAddress({ blockNumber, chain, contract: name }) {
|
|
|
3171
3188
|
return contract.address;
|
|
3172
3189
|
}
|
|
3173
3190
|
|
|
3174
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
3191
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/node.js
|
|
3175
3192
|
var ExecutionRevertedError = class extends BaseError3 {
|
|
3176
3193
|
constructor({ cause, message } = {}) {
|
|
3177
3194
|
const reason = message?.replace("execution reverted: ", "")?.replace("execution reverted", "");
|
|
@@ -3350,7 +3367,7 @@ var UnknownNodeError = class extends BaseError3 {
|
|
|
3350
3367
|
}
|
|
3351
3368
|
};
|
|
3352
3369
|
|
|
3353
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
3370
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/request.js
|
|
3354
3371
|
var HttpRequestError = class extends BaseError3 {
|
|
3355
3372
|
constructor({ body, cause, details, headers, status, url }) {
|
|
3356
3373
|
super("HTTP request failed.", {
|
|
@@ -3394,7 +3411,7 @@ var HttpRequestError = class extends BaseError3 {
|
|
|
3394
3411
|
}
|
|
3395
3412
|
};
|
|
3396
3413
|
|
|
3397
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
3414
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/errors/getNodeError.js
|
|
3398
3415
|
function getNodeError(err, args) {
|
|
3399
3416
|
const message = (err.details || "").toLowerCase();
|
|
3400
3417
|
const executionRevertedError = err instanceof BaseError3 ? err.walk((e) => e?.code === ExecutionRevertedError.code) : err;
|
|
@@ -3443,7 +3460,7 @@ function getNodeError(err, args) {
|
|
|
3443
3460
|
});
|
|
3444
3461
|
}
|
|
3445
3462
|
|
|
3446
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
3463
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/errors/getCallError.js
|
|
3447
3464
|
function getCallError(err, { docsPath: docsPath6, ...args }) {
|
|
3448
3465
|
const cause = (() => {
|
|
3449
3466
|
const cause2 = getNodeError(err, args);
|
|
@@ -3457,7 +3474,7 @@ function getCallError(err, { docsPath: docsPath6, ...args }) {
|
|
|
3457
3474
|
});
|
|
3458
3475
|
}
|
|
3459
3476
|
|
|
3460
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
3477
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/formatters/extract.js
|
|
3461
3478
|
function extract(value_, { format }) {
|
|
3462
3479
|
if (!format)
|
|
3463
3480
|
return {};
|
|
@@ -3476,7 +3493,7 @@ function extract(value_, { format }) {
|
|
|
3476
3493
|
return value;
|
|
3477
3494
|
}
|
|
3478
3495
|
|
|
3479
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
3496
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/formatters/transactionRequest.js
|
|
3480
3497
|
var rpcTransactionType = {
|
|
3481
3498
|
legacy: "0x0",
|
|
3482
3499
|
eip2930: "0x1",
|
|
@@ -3536,7 +3553,7 @@ function formatAuthorizationList(authorizationList) {
|
|
|
3536
3553
|
}));
|
|
3537
3554
|
}
|
|
3538
3555
|
|
|
3539
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
3556
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/promise/withResolvers.js
|
|
3540
3557
|
function withResolvers() {
|
|
3541
3558
|
let resolve = () => void 0;
|
|
3542
3559
|
let reject = () => void 0;
|
|
@@ -3547,7 +3564,7 @@ function withResolvers() {
|
|
|
3547
3564
|
return { promise, resolve, reject };
|
|
3548
3565
|
}
|
|
3549
3566
|
|
|
3550
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
3567
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/promise/createBatchScheduler.js
|
|
3551
3568
|
var schedulerCache = /* @__PURE__ */ new Map();
|
|
3552
3569
|
function createBatchScheduler({ fn, id, shouldSplitBatch, wait = 0, sort }) {
|
|
3553
3570
|
const exec = async () => {
|
|
@@ -3593,7 +3610,7 @@ function createBatchScheduler({ fn, id, shouldSplitBatch, wait = 0, sort }) {
|
|
|
3593
3610
|
};
|
|
3594
3611
|
}
|
|
3595
3612
|
|
|
3596
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
3613
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/stateOverride.js
|
|
3597
3614
|
function serializeStateMapping(stateMapping) {
|
|
3598
3615
|
if (!stateMapping || stateMapping.length === 0)
|
|
3599
3616
|
return void 0;
|
|
@@ -3647,7 +3664,7 @@ function serializeStateOverride(parameters) {
|
|
|
3647
3664
|
}
|
|
3648
3665
|
var maxUint256 = 2n ** 256n - 1n;
|
|
3649
3666
|
|
|
3650
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
3667
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/transaction/assertRequest.js
|
|
3651
3668
|
function assertRequest(args) {
|
|
3652
3669
|
const { account: account_, maxFeePerGas, maxPriorityFeePerGas, to } = args;
|
|
3653
3670
|
const account = account_ ? parseAccount(account_) : void 0;
|
|
@@ -3661,7 +3678,7 @@ function assertRequest(args) {
|
|
|
3661
3678
|
throw new TipAboveFeeCapError({ maxFeePerGas, maxPriorityFeePerGas });
|
|
3662
3679
|
}
|
|
3663
3680
|
|
|
3664
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
3681
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/call.js
|
|
3665
3682
|
async function call(client, args) {
|
|
3666
3683
|
const { account: account_ = client.account, authorizationList, batch = Boolean(client.batch?.multicall), blockNumber, blockTag = client.experimental_blockTag ?? "latest", accessList, blobs, blockOverrides, code, data: data_, factory, factoryData, gas, gasPrice, maxFeePerBlobGas, maxFeePerGas, maxPriorityFeePerGas, nonce, to, value, stateOverride, ...rest } = args;
|
|
3667
3684
|
const account = account_ ? parseAccount(account_) : void 0;
|
|
@@ -3746,7 +3763,7 @@ async function call(client, args) {
|
|
|
3746
3763
|
return { data: response };
|
|
3747
3764
|
} catch (err) {
|
|
3748
3765
|
const data2 = getRevertErrorData(err);
|
|
3749
|
-
const { offchainLookup: offchainLookup2, offchainLookupSignature: offchainLookupSignature2 } = await import('./ccip-
|
|
3766
|
+
const { offchainLookup: offchainLookup2, offchainLookupSignature: offchainLookupSignature2 } = await import('./ccip-G7HDSZ4N.js');
|
|
3750
3767
|
if (client.ccipRead !== false && data2?.slice(0, 10) === offchainLookupSignature2 && to)
|
|
3751
3768
|
return { data: await offchainLookup2(client, { data: data2, to }) };
|
|
3752
3769
|
if (deploylessCall && data2?.slice(0, 10) === "0x101bb98d")
|
|
@@ -3859,7 +3876,7 @@ function getRevertErrorData(err) {
|
|
|
3859
3876
|
return typeof error?.data === "object" ? error.data?.data : error.data;
|
|
3860
3877
|
}
|
|
3861
3878
|
|
|
3862
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
3879
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/ccip.js
|
|
3863
3880
|
var OffchainLookupError = class extends BaseError3 {
|
|
3864
3881
|
constructor({ callbackSelector, cause, data, extraData, sender, urls }) {
|
|
3865
3882
|
super(cause.shortMessage || "An error occurred while fetching for an offchain result.", {
|
|
@@ -3904,7 +3921,7 @@ var OffchainLookupSenderMismatchError = class extends BaseError3 {
|
|
|
3904
3921
|
}
|
|
3905
3922
|
};
|
|
3906
3923
|
|
|
3907
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
3924
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/address/isAddressEqual.js
|
|
3908
3925
|
function isAddressEqual(a, b) {
|
|
3909
3926
|
if (!isAddress(a, { strict: false }))
|
|
3910
3927
|
throw new InvalidAddressError({ address: a });
|
|
@@ -3913,7 +3930,7 @@ function isAddressEqual(a, b) {
|
|
|
3913
3930
|
return a.toLowerCase() === b.toLowerCase();
|
|
3914
3931
|
}
|
|
3915
3932
|
|
|
3916
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
3933
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/abi/decodeFunctionData.js
|
|
3917
3934
|
function decodeFunctionData(parameters) {
|
|
3918
3935
|
const { abi, data } = parameters;
|
|
3919
3936
|
const signature = slice(data, 0, 4);
|
|
@@ -3928,7 +3945,7 @@ function decodeFunctionData(parameters) {
|
|
|
3928
3945
|
};
|
|
3929
3946
|
}
|
|
3930
3947
|
|
|
3931
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
3948
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/abi/encodeErrorResult.js
|
|
3932
3949
|
var docsPath4 = "/docs/contract/encodeErrorResult";
|
|
3933
3950
|
function encodeErrorResult(parameters) {
|
|
3934
3951
|
const { abi, errorName, args } = parameters;
|
|
@@ -3952,7 +3969,7 @@ function encodeErrorResult(parameters) {
|
|
|
3952
3969
|
return concatHex([signature, data]);
|
|
3953
3970
|
}
|
|
3954
3971
|
|
|
3955
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
3972
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/abi/encodeFunctionResult.js
|
|
3956
3973
|
var docsPath5 = "/docs/contract/encodeFunctionResult";
|
|
3957
3974
|
function encodeFunctionResult(parameters) {
|
|
3958
3975
|
const { abi, functionName, result } = parameters;
|
|
@@ -3979,7 +3996,7 @@ function encodeFunctionResult(parameters) {
|
|
|
3979
3996
|
return encodeAbiParameters(abiItem.outputs, values);
|
|
3980
3997
|
}
|
|
3981
3998
|
|
|
3982
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
3999
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/ens/localBatchGatewayRequest.js
|
|
3983
4000
|
var localBatchGatewayUrl = "x-batch-gateway:true";
|
|
3984
4001
|
async function localBatchGatewayRequest(parameters) {
|
|
3985
4002
|
const { data, ccipRequest: ccipRequest2 } = parameters;
|
|
@@ -4015,7 +4032,7 @@ function encodeError(error) {
|
|
|
4015
4032
|
});
|
|
4016
4033
|
}
|
|
4017
4034
|
|
|
4018
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
4035
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/ccip.js
|
|
4019
4036
|
var offchainLookupSignature = "0x556f1830";
|
|
4020
4037
|
var offchainLookupAbiItem = {
|
|
4021
4038
|
name: "OffchainLookup",
|
|
@@ -4128,5 +4145,5 @@ async function ccipRequest({ data, sender, urls }) {
|
|
|
4128
4145
|
}
|
|
4129
4146
|
|
|
4130
4147
|
export { AbiEncodingLengthMismatchError, BaseError3 as BaseError, BytesSizeMismatchError, InvalidAddressError, UnsupportedPackedAbiType, arrayRegex, boolToHex, bytesRegex2 as bytesRegex, ccipRequest, concatHex, decodeAbiParameters, decodeFunctionResult, encodeFunctionData, formatEther, formatUnits, integerRegex2 as integerRegex, isAddress, numberToHex, offchainLookup, offchainLookupAbiItem, offchainLookupSignature, pad2 as pad, parseAbi, stringToHex };
|
|
4131
|
-
//# sourceMappingURL=chunk-
|
|
4132
|
-
//# sourceMappingURL=chunk-
|
|
4148
|
+
//# sourceMappingURL=chunk-ZVIJSUIM.js.map
|
|
4149
|
+
//# sourceMappingURL=chunk-ZVIJSUIM.js.map
|