@1delta/providers 0.0.44 → 0.0.46
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-P6QKYDYG.mjs → ccip-RFS3A6PR.mjs} +1 -1
- package/dist/{chunk-GGVKF6RL.mjs → chunk-RSHAYT5V.mjs} +121 -88
- package/dist/index.d.mts +45 -0
- package/dist/index.d.ts +45 -0
- package/dist/index.js +579 -488
- package/dist/index.mjs +314 -258
- package/package.json +2 -2
- package/src/chains/chainMapping.ts +3 -0
- package/src/multicall/multicall.ts +11 -3
- package/src/rpc/rpcOverrides.ts +3 -3
|
@@ -811,15 +811,15 @@ function parseAbiParameters(params) {
|
|
|
811
811
|
return abiParameters;
|
|
812
812
|
}
|
|
813
813
|
|
|
814
|
-
// ../../node_modules/.pnpm/ox@0.
|
|
814
|
+
// ../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/core/version.js
|
|
815
815
|
var version2 = "0.1.1";
|
|
816
816
|
|
|
817
|
-
// ../../node_modules/.pnpm/ox@0.
|
|
817
|
+
// ../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/core/internal/errors.js
|
|
818
818
|
function getVersion() {
|
|
819
819
|
return version2;
|
|
820
820
|
}
|
|
821
821
|
|
|
822
|
-
// ../../node_modules/.pnpm/ox@0.
|
|
822
|
+
// ../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/core/Errors.js
|
|
823
823
|
var BaseError2 = class _BaseError extends Error {
|
|
824
824
|
static setStaticOptions(options) {
|
|
825
825
|
_BaseError.prototype.docsOrigin = options.docsOrigin;
|
|
@@ -948,7 +948,7 @@ function walk(err, fn) {
|
|
|
948
948
|
return fn ? null : err;
|
|
949
949
|
}
|
|
950
950
|
|
|
951
|
-
// ../../node_modules/.pnpm/ox@0.
|
|
951
|
+
// ../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/core/internal/bytes.js
|
|
952
952
|
function assertSize(bytes, size_) {
|
|
953
953
|
if (size(bytes) > size_)
|
|
954
954
|
throw new SizeOverflowError({
|
|
@@ -1021,7 +1021,7 @@ function trim(value, options = {}) {
|
|
|
1021
1021
|
return data;
|
|
1022
1022
|
}
|
|
1023
1023
|
|
|
1024
|
-
// ../../node_modules/.pnpm/ox@0.
|
|
1024
|
+
// ../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/core/internal/hex.js
|
|
1025
1025
|
function assertSize2(hex, size_) {
|
|
1026
1026
|
if (size2(hex) > size_)
|
|
1027
1027
|
throw new SizeOverflowError2({
|
|
@@ -1077,7 +1077,7 @@ function trim2(value, options = {}) {
|
|
|
1077
1077
|
return `0x${data}`;
|
|
1078
1078
|
}
|
|
1079
1079
|
|
|
1080
|
-
// ../../node_modules/.pnpm/ox@0.
|
|
1080
|
+
// ../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/core/Json.js
|
|
1081
1081
|
var bigIntSuffix = "#__bigint";
|
|
1082
1082
|
function stringify(value, replacer, space) {
|
|
1083
1083
|
return JSON.stringify(value, (key, value2) => {
|
|
@@ -1089,7 +1089,7 @@ function stringify(value, replacer, space) {
|
|
|
1089
1089
|
}, space);
|
|
1090
1090
|
}
|
|
1091
1091
|
|
|
1092
|
-
// ../../node_modules/.pnpm/ox@0.
|
|
1092
|
+
// ../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/core/Bytes.js
|
|
1093
1093
|
var decoder = /* @__PURE__ */ new TextDecoder();
|
|
1094
1094
|
var encoder = /* @__PURE__ */ new TextEncoder();
|
|
1095
1095
|
function assert(value) {
|
|
@@ -1269,7 +1269,7 @@ var SizeExceedsPaddingSizeError = class extends BaseError2 {
|
|
|
1269
1269
|
}
|
|
1270
1270
|
};
|
|
1271
1271
|
|
|
1272
|
-
// ../../node_modules/.pnpm/ox@0.
|
|
1272
|
+
// ../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/core/Hex.js
|
|
1273
1273
|
var encoder2 = /* @__PURE__ */ new TextEncoder();
|
|
1274
1274
|
var hexes = /* @__PURE__ */ Array.from({ length: 256 }, (_v, i) => i.toString(16).padStart(2, "0"));
|
|
1275
1275
|
function assert2(value, options = {}) {
|
|
@@ -1468,7 +1468,7 @@ var SizeExceedsPaddingSizeError2 = class extends BaseError2 {
|
|
|
1468
1468
|
}
|
|
1469
1469
|
};
|
|
1470
1470
|
|
|
1471
|
-
// ../../node_modules/.pnpm/ox@0.
|
|
1471
|
+
// ../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/core/Withdrawal.js
|
|
1472
1472
|
function toRpc(withdrawal) {
|
|
1473
1473
|
return {
|
|
1474
1474
|
address: withdrawal.address,
|
|
@@ -1478,7 +1478,7 @@ function toRpc(withdrawal) {
|
|
|
1478
1478
|
};
|
|
1479
1479
|
}
|
|
1480
1480
|
|
|
1481
|
-
// ../../node_modules/.pnpm/ox@0.
|
|
1481
|
+
// ../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/core/BlockOverrides.js
|
|
1482
1482
|
function toRpc2(blockOverrides) {
|
|
1483
1483
|
return {
|
|
1484
1484
|
...typeof blockOverrides.baseFeePerGas === "bigint" && {
|
|
@@ -1508,14 +1508,14 @@ function toRpc2(blockOverrides) {
|
|
|
1508
1508
|
};
|
|
1509
1509
|
}
|
|
1510
1510
|
|
|
1511
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
1511
|
+
// ../../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
|
|
1512
1512
|
function parseAccount(account) {
|
|
1513
1513
|
if (typeof account === "string")
|
|
1514
1514
|
return { address: account, type: "json-rpc" };
|
|
1515
1515
|
return account;
|
|
1516
1516
|
}
|
|
1517
1517
|
|
|
1518
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
1518
|
+
// ../../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
|
|
1519
1519
|
var multicall3Abi = [
|
|
1520
1520
|
{
|
|
1521
1521
|
inputs: [
|
|
@@ -1558,6 +1558,23 @@ var multicall3Abi = [
|
|
|
1558
1558
|
stateMutability: "view",
|
|
1559
1559
|
type: "function"
|
|
1560
1560
|
},
|
|
1561
|
+
{
|
|
1562
|
+
inputs: [
|
|
1563
|
+
{
|
|
1564
|
+
name: "addr",
|
|
1565
|
+
type: "address"
|
|
1566
|
+
}
|
|
1567
|
+
],
|
|
1568
|
+
name: "getEthBalance",
|
|
1569
|
+
outputs: [
|
|
1570
|
+
{
|
|
1571
|
+
name: "balance",
|
|
1572
|
+
type: "uint256"
|
|
1573
|
+
}
|
|
1574
|
+
],
|
|
1575
|
+
stateMutability: "view",
|
|
1576
|
+
type: "function"
|
|
1577
|
+
},
|
|
1561
1578
|
{
|
|
1562
1579
|
inputs: [],
|
|
1563
1580
|
name: "getCurrentBlockTimestamp",
|
|
@@ -1851,19 +1868,19 @@ var erc6492SignatureValidatorAbi = [
|
|
|
1851
1868
|
}
|
|
1852
1869
|
];
|
|
1853
1870
|
|
|
1854
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
1871
|
+
// ../../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
|
|
1855
1872
|
var aggregate3Signature = "0x82ad56cb";
|
|
1856
1873
|
|
|
1857
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
1874
|
+
// ../../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
|
|
1858
1875
|
var deploylessCallViaBytecodeBytecode = "0x608060405234801561001057600080fd5b5060405161018e38038061018e83398101604081905261002f91610124565b6000808351602085016000f59050803b61004857600080fd5b6000808351602085016000855af16040513d6000823e81610067573d81fd5b3d81f35b634e487b7160e01b600052604160045260246000fd5b600082601f83011261009257600080fd5b81516001600160401b038111156100ab576100ab61006b565b604051601f8201601f19908116603f011681016001600160401b03811182821017156100d9576100d961006b565b6040528181528382016020018510156100f157600080fd5b60005b82811015610110576020818601810151838301820152016100f4565b506000918101602001919091529392505050565b6000806040838503121561013757600080fd5b82516001600160401b0381111561014d57600080fd5b61015985828601610081565b602085015190935090506001600160401b0381111561017757600080fd5b61018385828601610081565b915050925092905056fe";
|
|
1859
1876
|
var deploylessCallViaFactoryBytecode = "0x608060405234801561001057600080fd5b506040516102c03803806102c083398101604081905261002f916101e6565b836001600160a01b03163b6000036100e457600080836001600160a01b03168360405161005c9190610270565b6000604051808303816000865af19150503d8060008114610099576040519150601f19603f3d011682016040523d82523d6000602084013e61009e565b606091505b50915091508115806100b857506001600160a01b0386163b155b156100e1578060405163101bb98d60e01b81526004016100d8919061028c565b60405180910390fd5b50505b6000808451602086016000885af16040513d6000823e81610103573d81fd5b3d81f35b80516001600160a01b038116811461011e57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b8381101561015457818101518382015260200161013c565b50506000910152565b600082601f83011261016e57600080fd5b81516001600160401b0381111561018757610187610123565b604051601f8201601f19908116603f011681016001600160401b03811182821017156101b5576101b5610123565b6040528181528382016020018510156101cd57600080fd5b6101de826020830160208701610139565b949350505050565b600080600080608085870312156101fc57600080fd5b61020585610107565b60208601519094506001600160401b0381111561022157600080fd5b61022d8782880161015d565b93505061023c60408601610107565b60608601519092506001600160401b0381111561025857600080fd5b6102648782880161015d565b91505092959194509250565b60008251610282818460208701610139565b9190910192915050565b60208152600082518060208401526102ab816040850160208701610139565b601f01601f1916919091016040019291505056fe";
|
|
1860
1877
|
var erc6492SignatureValidatorByteCode = "0x608060405234801561001057600080fd5b5060405161069438038061069483398101604081905261002f9161051e565b600061003c848484610048565b9050806000526001601ff35b60007f64926492649264926492649264926492649264926492649264926492649264926100748361040c565b036101e7576000606080848060200190518101906100929190610577565b60405192955090935091506000906001600160a01b038516906100b69085906105dd565b6000604051808303816000865af19150503d80600081146100f3576040519150601f19603f3d011682016040523d82523d6000602084013e6100f8565b606091505b50509050876001600160a01b03163b60000361016057806101605760405162461bcd60e51b815260206004820152601e60248201527f5369676e617475726556616c696461746f723a206465706c6f796d656e74000060448201526064015b60405180910390fd5b604051630b135d3f60e11b808252906001600160a01b038a1690631626ba7e90610190908b9087906004016105f9565b602060405180830381865afa1580156101ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101d19190610633565b6001600160e01b03191614945050505050610405565b6001600160a01b0384163b1561027a57604051630b135d3f60e11b808252906001600160a01b03861690631626ba7e9061022790879087906004016105f9565b602060405180830381865afa158015610244573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102689190610633565b6001600160e01b031916149050610405565b81516041146102df5760405162461bcd60e51b815260206004820152603a602482015260008051602061067483398151915260448201527f3a20696e76616c6964207369676e6174757265206c656e6774680000000000006064820152608401610157565b6102e7610425565b5060208201516040808401518451859392600091859190811061030c5761030c61065d565b016020015160f81c9050601b811480159061032b57508060ff16601c14155b1561038c5760405162461bcd60e51b815260206004820152603b602482015260008051602061067483398151915260448201527f3a20696e76616c6964207369676e617475726520762076616c756500000000006064820152608401610157565b60408051600081526020810180835289905260ff83169181019190915260608101849052608081018390526001600160a01b0389169060019060a0016020604051602081039080840390855afa1580156103ea573d6000803e3d6000fd5b505050602060405103516001600160a01b0316149450505050505b9392505050565b600060208251101561041d57600080fd5b508051015190565b60405180606001604052806003906020820280368337509192915050565b6001600160a01b038116811461045857600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b60005b8381101561048c578181015183820152602001610474565b50506000910152565b600082601f8301126104a657600080fd5b81516001600160401b038111156104bf576104bf61045b565b604051601f8201601f19908116603f011681016001600160401b03811182821017156104ed576104ed61045b565b60405281815283820160200185101561050557600080fd5b610516826020830160208701610471565b949350505050565b60008060006060848603121561053357600080fd5b835161053e81610443565b6020850151604086015191945092506001600160401b0381111561056157600080fd5b61056d86828701610495565b9150509250925092565b60008060006060848603121561058c57600080fd5b835161059781610443565b60208501519093506001600160401b038111156105b357600080fd5b6105bf86828701610495565b604086015190935090506001600160401b0381111561056157600080fd5b600082516105ef818460208701610471565b9190910192915050565b828152604060208201526000825180604084015261061e816060850160208701610471565b601f01601f1916919091016060019392505050565b60006020828403121561064557600080fd5b81516001600160e01b03198116811461040557600080fd5b634e487b7160e01b600052603260045260246000fdfe5369676e617475726556616c696461746f72237265636f7665725369676e6572";
|
|
1861
1878
|
var multicall3Bytecode = "0x608060405234801561001057600080fd5b506115b9806100206000396000f3fe6080604052600436106100f35760003560e01c80634d2301cc1161008a578063a8b0574e11610059578063a8b0574e14610325578063bce38bd714610350578063c3077fa914610380578063ee82ac5e146103b2576100f3565b80634d2301cc1461026257806372425d9d1461029f57806382ad56cb146102ca57806386d516e8146102fa576100f3565b80633408e470116100c65780633408e470146101af578063399542e9146101da5780633e64a6961461020c57806342cbb15c14610237576100f3565b80630f28c97d146100f8578063174dea7114610123578063252dba421461015357806327e86d6e14610184575b600080fd5b34801561010457600080fd5b5061010d6103ef565b60405161011a9190610c0a565b60405180910390f35b61013d60048036038101906101389190610c94565b6103f7565b60405161014a9190610e94565b60405180910390f35b61016d60048036038101906101689190610f0c565b610615565b60405161017b92919061101b565b60405180910390f35b34801561019057600080fd5b506101996107ab565b6040516101a69190611064565b60405180910390f35b3480156101bb57600080fd5b506101c46107b7565b6040516101d19190610c0a565b60405180910390f35b6101f460048036038101906101ef91906110ab565b6107bf565b6040516102039392919061110b565b60405180910390f35b34801561021857600080fd5b506102216107e1565b60405161022e9190610c0a565b60405180910390f35b34801561024357600080fd5b5061024c6107e9565b6040516102599190610c0a565b60405180910390f35b34801561026e57600080fd5b50610289600480360381019061028491906111a7565b6107f1565b6040516102969190610c0a565b60405180910390f35b3480156102ab57600080fd5b506102b4610812565b6040516102c19190610c0a565b60405180910390f35b6102e460048036038101906102df919061122a565b61081a565b6040516102f19190610e94565b60405180910390f35b34801561030657600080fd5b5061030f6109e4565b60405161031c9190610c0a565b60405180910390f35b34801561033157600080fd5b5061033a6109ec565b6040516103479190611286565b60405180910390f35b61036a600480360381019061036591906110ab565b6109f4565b6040516103779190610e94565b60405180910390f35b61039a60048036038101906103959190610f0c565b610ba6565b6040516103a99392919061110b565b60405180910390f35b3480156103be57600080fd5b506103d960048036038101906103d491906112cd565b610bca565b6040516103e69190611064565b60405180910390f35b600042905090565b60606000808484905090508067ffffffffffffffff81111561041c5761041b6112fa565b5b60405190808252806020026020018201604052801561045557816020015b610442610bd5565b81526020019060019003908161043a5790505b5092503660005b828110156105c957600085828151811061047957610478611329565b5b6020026020010151905087878381811061049657610495611329565b5b90506020028101906104a89190611367565b925060008360400135905080860195508360000160208101906104cb91906111a7565b73ffffffffffffffffffffffffffffffffffffffff16818580606001906104f2919061138f565b604051610500929190611431565b60006040518083038185875af1925050503d806000811461053d576040519150601f19603f3d011682016040523d82523d6000602084013e610542565b606091505b5083600001846020018290528215151515815250505081516020850135176105bc577f08c379a000000000000000000000000000000000000000000000000000000000600052602060045260176024527f4d756c746963616c6c333a2063616c6c206661696c656400000000000000000060445260846000fd5b826001019250505061045c565b5082341461060c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610603906114a7565b60405180910390fd5b50505092915050565b6000606043915060008484905090508067ffffffffffffffff81111561063e5761063d6112fa565b5b60405190808252806020026020018201604052801561067157816020015b606081526020019060019003908161065c5790505b5091503660005b828110156107a157600087878381811061069557610694611329565b5b90506020028101906106a791906114c7565b92508260000160208101906106bc91906111a7565b73ffffffffffffffffffffffffffffffffffffffff168380602001906106e2919061138f565b6040516106f0929190611431565b6000604051808303816000865af19150503d806000811461072d576040519150601f19603f3d011682016040523d82523d6000602084013e610732565b606091505b5086848151811061074657610745611329565b5b60200260200101819052819250505080610795576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161078c9061153b565b60405180910390fd5b81600101915050610678565b5050509250929050565b60006001430340905090565b600046905090565b6000806060439250434091506107d68686866109f4565b905093509350939050565b600048905090565b600043905090565b60008173ffffffffffffffffffffffffffffffffffffffff16319050919050565b600044905090565b606060008383905090508067ffffffffffffffff81111561083e5761083d6112fa565b5b60405190808252806020026020018201604052801561087757816020015b610864610bd5565b81526020019060019003908161085c5790505b5091503660005b828110156109db57600084828151811061089b5761089a611329565b5b602002602001015190508686838181106108b8576108b7611329565b5b90506020028101906108ca919061155b565b92508260000160208101906108df91906111a7565b73ffffffffffffffffffffffffffffffffffffffff16838060400190610905919061138f565b604051610913929190611431565b6000604051808303816000865af19150503d8060008114610950576040519150601f19603f3d011682016040523d82523d6000602084013e610955565b606091505b5082600001836020018290528215151515815250505080516020840135176109cf577f08c379a000000000000000000000000000000000000000000000000000000000600052602060045260176024527f4d756c746963616c6c333a2063616c6c206661696c656400000000000000000060445260646000fd5b8160010191505061087e565b50505092915050565b600045905090565b600041905090565b606060008383905090508067ffffffffffffffff811115610a1857610a176112fa565b5b604051908082528060200260200182016040528015610a5157816020015b610a3e610bd5565b815260200190600190039081610a365790505b5091503660005b82811015610b9c576000848281518110610a7557610a74611329565b5b60200260200101519050868683818110610a9257610a91611329565b5b9050602002810190610aa491906114c7565b9250826000016020810190610ab991906111a7565b73ffffffffffffffffffffffffffffffffffffffff16838060200190610adf919061138f565b604051610aed929190611431565b6000604051808303816000865af19150503d8060008114610b2a576040519150601f19603f3d011682016040523d82523d6000602084013e610b2f565b606091505b508260000183602001829052821515151581525050508715610b90578060000151610b8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b869061153b565b60405180910390fd5b5b81600101915050610a58565b5050509392505050565b6000806060610bb7600186866107bf565b8093508194508295505050509250925092565b600081409050919050565b6040518060400160405280600015158152602001606081525090565b6000819050919050565b610c0481610bf1565b82525050565b6000602082019050610c1f6000830184610bfb565b92915050565b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b60008083601f840112610c5457610c53610c2f565b5b8235905067ffffffffffffffff811115610c7157610c70610c34565b5b602083019150836020820283011115610c8d57610c8c610c39565b5b9250929050565b60008060208385031215610cab57610caa610c25565b5b600083013567ffffffffffffffff811115610cc957610cc8610c2a565b5b610cd585828601610c3e565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b60008115159050919050565b610d2281610d0d565b82525050565b600081519050919050565b600082825260208201905092915050565b60005b83811015610d62578082015181840152602081019050610d47565b83811115610d71576000848401525b50505050565b6000601f19601f8301169050919050565b6000610d9382610d28565b610d9d8185610d33565b9350610dad818560208601610d44565b610db681610d77565b840191505092915050565b6000604083016000830151610dd96000860182610d19565b5060208301518482036020860152610df18282610d88565b9150508091505092915050565b6000610e0a8383610dc1565b905092915050565b6000602082019050919050565b6000610e2a82610ce1565b610e348185610cec565b935083602082028501610e4685610cfd565b8060005b85811015610e825784840389528151610e638582610dfe565b9450610e6e83610e12565b925060208a01995050600181019050610e4a565b50829750879550505050505092915050565b60006020820190508181036000830152610eae8184610e1f565b905092915050565b60008083601f840112610ecc57610ecb610c2f565b5b8235905067ffffffffffffffff811115610ee957610ee8610c34565b5b602083019150836020820283011115610f0557610f04610c39565b5b9250929050565b60008060208385031215610f2357610f22610c25565b5b600083013567ffffffffffffffff811115610f4157610f40610c2a565b5b610f4d85828601610eb6565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6000610f918383610d88565b905092915050565b6000602082019050919050565b6000610fb182610f59565b610fbb8185610f64565b935083602082028501610fcd85610f75565b8060005b858110156110095784840389528151610fea8582610f85565b9450610ff583610f99565b925060208a01995050600181019050610fd1565b50829750879550505050505092915050565b60006040820190506110306000830185610bfb565b81810360208301526110428184610fa6565b90509392505050565b6000819050919050565b61105e8161104b565b82525050565b60006020820190506110796000830184611055565b92915050565b61108881610d0d565b811461109357600080fd5b50565b6000813590506110a58161107f565b92915050565b6000806000604084860312156110c4576110c3610c25565b5b60006110d286828701611096565b935050602084013567ffffffffffffffff8111156110f3576110f2610c2a565b5b6110ff86828701610eb6565b92509250509250925092565b60006060820190506111206000830186610bfb565b61112d6020830185611055565b818103604083015261113f8184610e1f565b9050949350505050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061117482611149565b9050919050565b61118481611169565b811461118f57600080fd5b50565b6000813590506111a18161117b565b92915050565b6000602082840312156111bd576111bc610c25565b5b60006111cb84828501611192565b91505092915050565b60008083601f8401126111ea576111e9610c2f565b5b8235905067ffffffffffffffff81111561120757611206610c34565b5b60208301915083602082028301111561122357611222610c39565b5b9250929050565b6000806020838503121561124157611240610c25565b5b600083013567ffffffffffffffff81111561125f5761125e610c2a565b5b61126b858286016111d4565b92509250509250929050565b61128081611169565b82525050565b600060208201905061129b6000830184611277565b92915050565b6112aa81610bf1565b81146112b557600080fd5b50565b6000813590506112c7816112a1565b92915050565b6000602082840312156112e3576112e2610c25565b5b60006112f1848285016112b8565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600080fd5b600080fd5b600080fd5b60008235600160800383360303811261138357611382611358565b5b80830191505092915050565b600080833560016020038436030381126113ac576113ab611358565b5b80840192508235915067ffffffffffffffff8211156113ce576113cd61135d565b5b6020830192506001820236038313156113ea576113e9611362565b5b509250929050565b600081905092915050565b82818337600083830152505050565b600061141883856113f2565b93506114258385846113fd565b82840190509392505050565b600061143e82848661140c565b91508190509392505050565b600082825260208201905092915050565b7f4d756c746963616c6c333a2076616c7565206d69736d61746368000000000000600082015250565b6000611491601a8361144a565b915061149c8261145b565b602082019050919050565b600060208201905081810360008301526114c081611484565b9050919050565b6000823560016040038336030381126114e3576114e2611358565b5b80830191505092915050565b7f4d756c746963616c6c333a2063616c6c206661696c6564000000000000000000600082015250565b600061152560178361144a565b9150611530826114ef565b602082019050919050565b6000602082019050818103600083015261155481611518565b9050919050565b60008235600160600383360303811261157757611576611358565b5b8083019150509291505056fea264697066735822122020c1bc9aacf8e4a6507193432a895a8e77094f45a1395583f07b24e860ef06cd64736f6c634300080c0033";
|
|
1862
1879
|
|
|
1863
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
1864
|
-
var version3 = "2.45.
|
|
1880
|
+
// ../../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
|
|
1881
|
+
var version3 = "2.45.3";
|
|
1865
1882
|
|
|
1866
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
1883
|
+
// ../../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
|
|
1867
1884
|
var errorConfig = {
|
|
1868
1885
|
getDocsUrl: ({ docsBaseUrl, docsPath: docsPath6 = "", docsSlug }) => docsPath6 ? `${docsBaseUrl ?? "https://viem.sh"}${docsPath6}${docsSlug ? `#${docsSlug}` : ""}` : void 0,
|
|
1869
1886
|
version: `viem@${version3}`
|
|
@@ -1947,7 +1964,7 @@ function walk2(err, fn) {
|
|
|
1947
1964
|
return fn ? null : err;
|
|
1948
1965
|
}
|
|
1949
1966
|
|
|
1950
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
1967
|
+
// ../../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
|
|
1951
1968
|
var ChainDoesNotSupportContract = class extends BaseError3 {
|
|
1952
1969
|
constructor({ blockNumber, chain, contract }) {
|
|
1953
1970
|
super(`Chain "${chain.name}" does not support contract "${contract.name}".`, {
|
|
@@ -1976,7 +1993,7 @@ var InvalidChainIdError = class extends BaseError3 {
|
|
|
1976
1993
|
}
|
|
1977
1994
|
};
|
|
1978
1995
|
|
|
1979
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
1996
|
+
// ../../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
|
|
1980
1997
|
var panicReasons = {
|
|
1981
1998
|
1: "An `assert` condition failed.",
|
|
1982
1999
|
17: "Arithmetic operation resulted in underflow or overflow.",
|
|
@@ -2009,7 +2026,7 @@ var solidityPanic = {
|
|
|
2009
2026
|
type: "error"
|
|
2010
2027
|
};
|
|
2011
2028
|
|
|
2012
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
2029
|
+
// ../../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
|
|
2013
2030
|
function formatAbiItem2(abiItem, { includeName = false } = {}) {
|
|
2014
2031
|
if (abiItem.type !== "function" && abiItem.type !== "event" && abiItem.type !== "error")
|
|
2015
2032
|
throw new InvalidDefinitionTypeError(abiItem.type);
|
|
@@ -2027,7 +2044,7 @@ function formatAbiParam(param, { includeName }) {
|
|
|
2027
2044
|
return param.type + (includeName && param.name ? ` ${param.name}` : "");
|
|
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/data/isHex.js
|
|
2031
2048
|
function isHex(value, { strict = true } = {}) {
|
|
2032
2049
|
if (!value)
|
|
2033
2050
|
return false;
|
|
@@ -2036,14 +2053,14 @@ function isHex(value, { strict = true } = {}) {
|
|
|
2036
2053
|
return strict ? /^0x[0-9a-fA-F]*$/.test(value) : value.startsWith("0x");
|
|
2037
2054
|
}
|
|
2038
2055
|
|
|
2039
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
2056
|
+
// ../../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
|
|
2040
2057
|
function size3(value) {
|
|
2041
2058
|
if (isHex(value, { strict: false }))
|
|
2042
2059
|
return Math.ceil((value.length - 2) / 2);
|
|
2043
2060
|
return value.length;
|
|
2044
2061
|
}
|
|
2045
2062
|
|
|
2046
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
2063
|
+
// ../../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
|
|
2047
2064
|
var AbiConstructorNotFoundError = class extends BaseError3 {
|
|
2048
2065
|
constructor({ docsPath: docsPath6 }) {
|
|
2049
2066
|
super([
|
|
@@ -2344,7 +2361,7 @@ var InvalidDefinitionTypeError = class extends BaseError3 {
|
|
|
2344
2361
|
}
|
|
2345
2362
|
};
|
|
2346
2363
|
|
|
2347
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
2364
|
+
// ../../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
|
|
2348
2365
|
var SliceOffsetOutOfBoundsError3 = class extends BaseError3 {
|
|
2349
2366
|
constructor({ offset, position, size: size4 }) {
|
|
2350
2367
|
super(`Slice ${position === "start" ? "starting" : "ending"} at offset "${offset}" is out-of-bounds (size: ${size4}).`, { name: "SliceOffsetOutOfBoundsError" });
|
|
@@ -2361,7 +2378,7 @@ var InvalidBytesLengthError = class extends BaseError3 {
|
|
|
2361
2378
|
}
|
|
2362
2379
|
};
|
|
2363
2380
|
|
|
2364
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
2381
|
+
// ../../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
|
|
2365
2382
|
function slice3(value, start, end, { strict } = {}) {
|
|
2366
2383
|
if (isHex(value, { strict: false }))
|
|
2367
2384
|
return sliceHex(value, start, end, {
|
|
@@ -2403,7 +2420,7 @@ function sliceHex(value_, start, end, { strict } = {}) {
|
|
|
2403
2420
|
return value;
|
|
2404
2421
|
}
|
|
2405
2422
|
|
|
2406
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
2423
|
+
// ../../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
|
|
2407
2424
|
function pad3(hexOrBytes, { dir, size: size4 = 32 } = {}) {
|
|
2408
2425
|
if (typeof hexOrBytes === "string")
|
|
2409
2426
|
return padHex(hexOrBytes, { dir, size: size4 });
|
|
@@ -2438,7 +2455,7 @@ function padBytes(bytes, { dir, size: size4 = 32 } = {}) {
|
|
|
2438
2455
|
return paddedBytes;
|
|
2439
2456
|
}
|
|
2440
2457
|
|
|
2441
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
2458
|
+
// ../../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
|
|
2442
2459
|
var IntegerOutOfRangeError2 = class extends BaseError3 {
|
|
2443
2460
|
constructor({ max, min, signed, size: size4, value }) {
|
|
2444
2461
|
super(`Number "${value}" is not in safe ${size4 ? `${size4 * 8}-bit ${signed ? "signed" : "unsigned"} ` : ""}integer range ${max ? `(${min} to ${max})` : `(above ${min})`}`, { name: "IntegerOutOfRangeError" });
|
|
@@ -2462,7 +2479,7 @@ var SizeOverflowError3 = class extends BaseError3 {
|
|
|
2462
2479
|
}
|
|
2463
2480
|
};
|
|
2464
2481
|
|
|
2465
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
2482
|
+
// ../../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
|
|
2466
2483
|
function trim3(hexOrBytes, { dir = "left" } = {}) {
|
|
2467
2484
|
let data = typeof hexOrBytes === "string" ? hexOrBytes.replace("0x", "") : hexOrBytes;
|
|
2468
2485
|
let sliceLength = 0;
|
|
@@ -2481,7 +2498,7 @@ function trim3(hexOrBytes, { dir = "left" } = {}) {
|
|
|
2481
2498
|
return data;
|
|
2482
2499
|
}
|
|
2483
2500
|
|
|
2484
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
2501
|
+
// ../../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
|
|
2485
2502
|
function assertSize3(hexOrBytes, { size: size4 }) {
|
|
2486
2503
|
if (size3(hexOrBytes) > size4)
|
|
2487
2504
|
throw new SizeOverflowError3({
|
|
@@ -2528,7 +2545,7 @@ function hexToNumber(hex, opts = {}) {
|
|
|
2528
2545
|
return number;
|
|
2529
2546
|
}
|
|
2530
2547
|
|
|
2531
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
2548
|
+
// ../../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
|
|
2532
2549
|
var hexes2 = /* @__PURE__ */ Array.from({ length: 256 }, (_v, i) => i.toString(16).padStart(2, "0"));
|
|
2533
2550
|
function toHex(value, opts = {}) {
|
|
2534
2551
|
if (typeof value === "number" || typeof value === "bigint")
|
|
@@ -2594,7 +2611,7 @@ function stringToHex(value_, opts = {}) {
|
|
|
2594
2611
|
return bytesToHex(value, opts);
|
|
2595
2612
|
}
|
|
2596
2613
|
|
|
2597
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
2614
|
+
// ../../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
|
|
2598
2615
|
var encoder4 = /* @__PURE__ */ new TextEncoder();
|
|
2599
2616
|
function toBytes2(value, opts = {}) {
|
|
2600
2617
|
if (typeof value === "number" || typeof value === "bigint")
|
|
@@ -2846,7 +2863,7 @@ var Keccak = class _Keccak extends Hash {
|
|
|
2846
2863
|
var gen = (suffix, blockLen, outputLen) => createHasher(() => new Keccak(blockLen, suffix, outputLen));
|
|
2847
2864
|
var keccak_256 = /* @__PURE__ */ (() => gen(1, 136, 256 / 8))();
|
|
2848
2865
|
|
|
2849
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
2866
|
+
// ../../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
|
|
2850
2867
|
function keccak256(value, to_) {
|
|
2851
2868
|
const to = to_ || "hex";
|
|
2852
2869
|
const bytes = keccak_256(isHex(value, { strict: false }) ? toBytes2(value) : value);
|
|
@@ -2855,13 +2872,13 @@ function keccak256(value, to_) {
|
|
|
2855
2872
|
return toHex(bytes);
|
|
2856
2873
|
}
|
|
2857
2874
|
|
|
2858
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
2875
|
+
// ../../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
|
|
2859
2876
|
var hash = (value) => keccak256(toBytes2(value));
|
|
2860
2877
|
function hashSignature(sig) {
|
|
2861
2878
|
return hash(sig);
|
|
2862
2879
|
}
|
|
2863
2880
|
|
|
2864
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
2881
|
+
// ../../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
|
|
2865
2882
|
function normalizeSignature(signature) {
|
|
2866
2883
|
let active = true;
|
|
2867
2884
|
let current = "";
|
|
@@ -2905,7 +2922,7 @@ function normalizeSignature(signature) {
|
|
|
2905
2922
|
return result;
|
|
2906
2923
|
}
|
|
2907
2924
|
|
|
2908
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
2925
|
+
// ../../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
|
|
2909
2926
|
var toSignature = (def) => {
|
|
2910
2927
|
const def_ = (() => {
|
|
2911
2928
|
if (typeof def === "string")
|
|
@@ -2915,15 +2932,15 @@ var toSignature = (def) => {
|
|
|
2915
2932
|
return normalizeSignature(def_);
|
|
2916
2933
|
};
|
|
2917
2934
|
|
|
2918
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
2935
|
+
// ../../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
|
|
2919
2936
|
function toSignatureHash(fn) {
|
|
2920
2937
|
return hashSignature(toSignature(fn));
|
|
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/hash/toFunctionSelector.js
|
|
2924
2941
|
var toFunctionSelector = (fn) => slice3(toSignatureHash(fn), 0, 4);
|
|
2925
2942
|
|
|
2926
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
2943
|
+
// ../../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
|
|
2927
2944
|
var InvalidAddressError = class extends BaseError3 {
|
|
2928
2945
|
constructor({ address }) {
|
|
2929
2946
|
super(`Address "${address}" is invalid.`, {
|
|
@@ -2936,7 +2953,7 @@ var InvalidAddressError = class extends BaseError3 {
|
|
|
2936
2953
|
}
|
|
2937
2954
|
};
|
|
2938
2955
|
|
|
2939
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
2956
|
+
// ../../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
|
|
2940
2957
|
var LruMap = class extends Map {
|
|
2941
2958
|
constructor(size4) {
|
|
2942
2959
|
super();
|
|
@@ -2967,7 +2984,7 @@ var LruMap = class extends Map {
|
|
|
2967
2984
|
}
|
|
2968
2985
|
};
|
|
2969
2986
|
|
|
2970
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
2987
|
+
// ../../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
|
|
2971
2988
|
var addressRegex = /^0x[a-fA-F0-9]{40}$/;
|
|
2972
2989
|
var isAddressCache = /* @__PURE__ */ new LruMap(8192);
|
|
2973
2990
|
function isAddress(address, options) {
|
|
@@ -2988,7 +3005,7 @@ function isAddress(address, options) {
|
|
|
2988
3005
|
return result;
|
|
2989
3006
|
}
|
|
2990
3007
|
|
|
2991
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
3008
|
+
// ../../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
|
|
2992
3009
|
var checksumAddressCache = /* @__PURE__ */ new LruMap(8192);
|
|
2993
3010
|
function checksumAddress(address_, chainId) {
|
|
2994
3011
|
if (checksumAddressCache.has(`${address_}.${chainId}`))
|
|
@@ -3014,7 +3031,7 @@ function getAddress(address, chainId) {
|
|
|
3014
3031
|
return checksumAddress(address, chainId);
|
|
3015
3032
|
}
|
|
3016
3033
|
|
|
3017
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
3034
|
+
// ../../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
|
|
3018
3035
|
var NegativeOffsetError = class extends BaseError3 {
|
|
3019
3036
|
constructor({ offset }) {
|
|
3020
3037
|
super(`Offset \`${offset}\` cannot be negative.`, {
|
|
@@ -3033,7 +3050,7 @@ var RecursiveReadLimitExceededError = class extends BaseError3 {
|
|
|
3033
3050
|
}
|
|
3034
3051
|
};
|
|
3035
3052
|
|
|
3036
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
3053
|
+
// ../../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
|
|
3037
3054
|
var staticCursor = {
|
|
3038
3055
|
bytes: new Uint8Array(),
|
|
3039
3056
|
dataView: new DataView(new ArrayBuffer(0)),
|
|
@@ -3202,7 +3219,7 @@ function createCursor(bytes, { recursiveReadLimit = 8192 } = {}) {
|
|
|
3202
3219
|
return cursor;
|
|
3203
3220
|
}
|
|
3204
3221
|
|
|
3205
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
3222
|
+
// ../../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
|
|
3206
3223
|
function bytesToBigInt(bytes, opts = {}) {
|
|
3207
3224
|
if (typeof opts.size !== "undefined")
|
|
3208
3225
|
assertSize3(bytes, { size: opts.size });
|
|
@@ -3234,7 +3251,7 @@ function bytesToString(bytes_, opts = {}) {
|
|
|
3234
3251
|
return new TextDecoder().decode(bytes);
|
|
3235
3252
|
}
|
|
3236
3253
|
|
|
3237
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
3254
|
+
// ../../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
|
|
3238
3255
|
function concat2(values) {
|
|
3239
3256
|
if (typeof values[0] === "string")
|
|
3240
3257
|
return concatHex(values);
|
|
@@ -3257,11 +3274,11 @@ function concatHex(values) {
|
|
|
3257
3274
|
return `0x${values.reduce((acc, x) => acc + x.replace("0x", ""), "")}`;
|
|
3258
3275
|
}
|
|
3259
3276
|
|
|
3260
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
3277
|
+
// ../../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
|
|
3261
3278
|
var bytesRegex2 = /^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/;
|
|
3262
3279
|
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)?$/;
|
|
3263
3280
|
|
|
3264
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
3281
|
+
// ../../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
|
|
3265
3282
|
function encodeAbiParameters(params, values) {
|
|
3266
3283
|
if (params.length !== values.length)
|
|
3267
3284
|
throw new AbiEncodingLengthMismatchError({
|
|
@@ -3475,7 +3492,7 @@ function getArrayComponents(type) {
|
|
|
3475
3492
|
) : void 0;
|
|
3476
3493
|
}
|
|
3477
3494
|
|
|
3478
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
3495
|
+
// ../../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
|
|
3479
3496
|
function decodeAbiParameters(params, data) {
|
|
3480
3497
|
const bytes = typeof data === "string" ? hexToBytes(data) : data;
|
|
3481
3498
|
const cursor = createCursor(bytes);
|
|
@@ -3662,7 +3679,7 @@ function hasDynamicChild(param) {
|
|
|
3662
3679
|
return false;
|
|
3663
3680
|
}
|
|
3664
3681
|
|
|
3665
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
3682
|
+
// ../../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
|
|
3666
3683
|
function decodeErrorResult(parameters) {
|
|
3667
3684
|
const { abi, data } = parameters;
|
|
3668
3685
|
const signature = slice3(data, 0, 4);
|
|
@@ -3681,13 +3698,13 @@ function decodeErrorResult(parameters) {
|
|
|
3681
3698
|
};
|
|
3682
3699
|
}
|
|
3683
3700
|
|
|
3684
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
3701
|
+
// ../../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
|
|
3685
3702
|
var stringify2 = (value, replacer, space) => JSON.stringify(value, (key, value_) => {
|
|
3686
3703
|
const value2 = typeof value_ === "bigint" ? value_.toString() : value_;
|
|
3687
3704
|
return typeof replacer === "function" ? replacer(key, value2) : value2;
|
|
3688
3705
|
}, space);
|
|
3689
3706
|
|
|
3690
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
3707
|
+
// ../../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/formatAbiItemWithArgs.js
|
|
3691
3708
|
function formatAbiItemWithArgs({ abiItem, args, includeFunctionName = true, includeName = false }) {
|
|
3692
3709
|
if (!("name" in abiItem))
|
|
3693
3710
|
return;
|
|
@@ -3698,10 +3715,10 @@ function formatAbiItemWithArgs({ abiItem, args, includeFunctionName = true, incl
|
|
|
3698
3715
|
return `${includeFunctionName ? abiItem.name : ""}(${abiItem.inputs.map((input, i) => `${includeName && input.name ? `${input.name}: ` : ""}${typeof args[i] === "object" ? stringify2(args[i]) : args[i]}`).join(", ")})`;
|
|
3699
3716
|
}
|
|
3700
3717
|
|
|
3701
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
3718
|
+
// ../../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
|
|
3702
3719
|
var toEventSelector = toSignatureHash;
|
|
3703
3720
|
|
|
3704
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
3721
|
+
// ../../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
|
|
3705
3722
|
function getAbiItem(parameters) {
|
|
3706
3723
|
const { abi, args = [], name } = parameters;
|
|
3707
3724
|
const isSelector = isHex(name, { strict: false });
|
|
@@ -3813,7 +3830,7 @@ function getAmbiguousTypes(sourceParameters, targetParameters, args) {
|
|
|
3813
3830
|
return;
|
|
3814
3831
|
}
|
|
3815
3832
|
|
|
3816
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
3833
|
+
// ../../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
|
|
3817
3834
|
var etherUnits = {
|
|
3818
3835
|
gwei: 9,
|
|
3819
3836
|
wei: 18
|
|
@@ -3823,7 +3840,7 @@ var gweiUnits = {
|
|
|
3823
3840
|
wei: 9
|
|
3824
3841
|
};
|
|
3825
3842
|
|
|
3826
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
3843
|
+
// ../../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
|
|
3827
3844
|
function formatUnits(value, decimals) {
|
|
3828
3845
|
let display = value.toString();
|
|
3829
3846
|
const negative = display.startsWith("-");
|
|
@@ -3838,17 +3855,17 @@ function formatUnits(value, decimals) {
|
|
|
3838
3855
|
return `${negative ? "-" : ""}${integer || "0"}${fraction ? `.${fraction}` : ""}`;
|
|
3839
3856
|
}
|
|
3840
3857
|
|
|
3841
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
3858
|
+
// ../../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
|
|
3842
3859
|
function formatEther(wei, unit = "wei") {
|
|
3843
3860
|
return formatUnits(wei, etherUnits[unit]);
|
|
3844
3861
|
}
|
|
3845
3862
|
|
|
3846
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
3863
|
+
// ../../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
|
|
3847
3864
|
function formatGwei(wei, unit = "wei") {
|
|
3848
3865
|
return formatUnits(wei, gweiUnits[unit]);
|
|
3849
3866
|
}
|
|
3850
3867
|
|
|
3851
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
3868
|
+
// ../../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
|
|
3852
3869
|
var AccountStateConflictError = class extends BaseError3 {
|
|
3853
3870
|
constructor({ address }) {
|
|
3854
3871
|
super(`State for account "${address}" is set multiple times.`, {
|
|
@@ -3894,7 +3911,7 @@ function prettyStateOverride(stateOverride) {
|
|
|
3894
3911
|
}, " State Override:\n").slice(0, -1);
|
|
3895
3912
|
}
|
|
3896
3913
|
|
|
3897
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
3914
|
+
// ../../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
|
|
3898
3915
|
function prettyPrint(args) {
|
|
3899
3916
|
const entries = Object.entries(args).map(([key, value]) => {
|
|
3900
3917
|
if (value === void 0 || value === false)
|
|
@@ -4020,11 +4037,11 @@ var WaitForTransactionReceiptTimeoutError = class extends BaseError3 {
|
|
|
4020
4037
|
}
|
|
4021
4038
|
};
|
|
4022
4039
|
|
|
4023
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
4040
|
+
// ../../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
|
|
4024
4041
|
var getContractAddress = (address) => address;
|
|
4025
4042
|
var getUrl = (url) => url;
|
|
4026
4043
|
|
|
4027
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
4044
|
+
// ../../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
|
|
4028
4045
|
var CallExecutionError = class extends BaseError3 {
|
|
4029
4046
|
constructor(cause, { account: account_, docsPath: docsPath6, chain, data, gas, gasPrice, maxFeePerGas, maxPriorityFeePerGas, nonce, to, value, stateOverride }) {
|
|
4030
4047
|
const account = account_ ? parseAccount(account_) : void 0;
|
|
@@ -4262,7 +4279,7 @@ var RawContractError = class extends BaseError3 {
|
|
|
4262
4279
|
}
|
|
4263
4280
|
};
|
|
4264
4281
|
|
|
4265
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
4282
|
+
// ../../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
|
|
4266
4283
|
var docsPath = "/docs/contract/decodeFunctionResult";
|
|
4267
4284
|
function decodeFunctionResult(parameters) {
|
|
4268
4285
|
const { abi, args, functionName, data } = parameters;
|
|
@@ -4285,7 +4302,7 @@ function decodeFunctionResult(parameters) {
|
|
|
4285
4302
|
return void 0;
|
|
4286
4303
|
}
|
|
4287
4304
|
|
|
4288
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
4305
|
+
// ../../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
|
|
4289
4306
|
var docsPath2 = "/docs/contract/encodeDeployData";
|
|
4290
4307
|
function encodeDeployData(parameters) {
|
|
4291
4308
|
const { abi, args, bytecode } = parameters;
|
|
@@ -4302,7 +4319,7 @@ function encodeDeployData(parameters) {
|
|
|
4302
4319
|
return concatHex([bytecode, data]);
|
|
4303
4320
|
}
|
|
4304
4321
|
|
|
4305
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
4322
|
+
// ../../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
|
|
4306
4323
|
var docsPath3 = "/docs/contract/encodeFunctionData";
|
|
4307
4324
|
function prepareEncodeFunctionData(parameters) {
|
|
4308
4325
|
const { abi, args, functionName } = parameters;
|
|
@@ -4325,7 +4342,7 @@ function prepareEncodeFunctionData(parameters) {
|
|
|
4325
4342
|
};
|
|
4326
4343
|
}
|
|
4327
4344
|
|
|
4328
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
4345
|
+
// ../../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
|
|
4329
4346
|
function encodeFunctionData(parameters) {
|
|
4330
4347
|
const { args } = parameters;
|
|
4331
4348
|
const { abi, functionName } = (() => {
|
|
@@ -4339,7 +4356,7 @@ function encodeFunctionData(parameters) {
|
|
|
4339
4356
|
return concatHex([signature, data ?? "0x"]);
|
|
4340
4357
|
}
|
|
4341
4358
|
|
|
4342
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
4359
|
+
// ../../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
|
|
4343
4360
|
function getChainContractAddress({ blockNumber, chain, contract: name }) {
|
|
4344
4361
|
const contract = chain?.contracts?.[name];
|
|
4345
4362
|
if (!contract)
|
|
@@ -4359,7 +4376,7 @@ function getChainContractAddress({ blockNumber, chain, contract: name }) {
|
|
|
4359
4376
|
return contract.address;
|
|
4360
4377
|
}
|
|
4361
4378
|
|
|
4362
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
4379
|
+
// ../../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
|
|
4363
4380
|
var ExecutionRevertedError = class extends BaseError3 {
|
|
4364
4381
|
constructor({ cause, message } = {}) {
|
|
4365
4382
|
const reason = message?.replace("execution reverted: ", "")?.replace("execution reverted", "");
|
|
@@ -4538,7 +4555,7 @@ var UnknownNodeError = class extends BaseError3 {
|
|
|
4538
4555
|
}
|
|
4539
4556
|
};
|
|
4540
4557
|
|
|
4541
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
4558
|
+
// ../../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
|
|
4542
4559
|
var HttpRequestError = class extends BaseError3 {
|
|
4543
4560
|
constructor({ body, cause, details, headers, status, url }) {
|
|
4544
4561
|
super("HTTP request failed.", {
|
|
@@ -4664,7 +4681,7 @@ var TimeoutError = class extends BaseError3 {
|
|
|
4664
4681
|
}
|
|
4665
4682
|
};
|
|
4666
4683
|
|
|
4667
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
4684
|
+
// ../../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/rpc.js
|
|
4668
4685
|
var unknownErrorCode = -1;
|
|
4669
4686
|
var RpcError = class extends BaseError3 {
|
|
4670
4687
|
constructor(cause, { code, docsPath: docsPath6, metaMessages, name, shortMessage }) {
|
|
@@ -5083,6 +5100,21 @@ Object.defineProperty(AtomicityNotSupportedError, "code", {
|
|
|
5083
5100
|
writable: true,
|
|
5084
5101
|
value: 5760
|
|
5085
5102
|
});
|
|
5103
|
+
var WalletConnectSessionSettlementError = class _WalletConnectSessionSettlementError extends ProviderRpcError {
|
|
5104
|
+
constructor(cause) {
|
|
5105
|
+
super(cause, {
|
|
5106
|
+
code: _WalletConnectSessionSettlementError.code,
|
|
5107
|
+
name: "WalletConnectSessionSettlementError",
|
|
5108
|
+
shortMessage: "WalletConnect session settlement failed."
|
|
5109
|
+
});
|
|
5110
|
+
}
|
|
5111
|
+
};
|
|
5112
|
+
Object.defineProperty(WalletConnectSessionSettlementError, "code", {
|
|
5113
|
+
enumerable: true,
|
|
5114
|
+
configurable: true,
|
|
5115
|
+
writable: true,
|
|
5116
|
+
value: 7e3
|
|
5117
|
+
});
|
|
5086
5118
|
var UnknownRpcError = class extends RpcError {
|
|
5087
5119
|
constructor(cause) {
|
|
5088
5120
|
super(cause, {
|
|
@@ -5092,7 +5124,7 @@ var UnknownRpcError = class extends RpcError {
|
|
|
5092
5124
|
}
|
|
5093
5125
|
};
|
|
5094
5126
|
|
|
5095
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
5127
|
+
// ../../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
|
|
5096
5128
|
function getNodeError(err, args) {
|
|
5097
5129
|
const message = (err.details || "").toLowerCase();
|
|
5098
5130
|
const executionRevertedError = err instanceof BaseError3 ? err.walk((e) => e?.code === ExecutionRevertedError.code) : err;
|
|
@@ -5141,7 +5173,7 @@ function getNodeError(err, args) {
|
|
|
5141
5173
|
});
|
|
5142
5174
|
}
|
|
5143
5175
|
|
|
5144
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
5176
|
+
// ../../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
|
|
5145
5177
|
function getCallError(err, { docsPath: docsPath6, ...args }) {
|
|
5146
5178
|
const cause = (() => {
|
|
5147
5179
|
const cause2 = getNodeError(err, args);
|
|
@@ -5155,7 +5187,7 @@ function getCallError(err, { docsPath: docsPath6, ...args }) {
|
|
|
5155
5187
|
});
|
|
5156
5188
|
}
|
|
5157
5189
|
|
|
5158
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
5190
|
+
// ../../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
|
|
5159
5191
|
function extract(value_, { format }) {
|
|
5160
5192
|
if (!format)
|
|
5161
5193
|
return {};
|
|
@@ -5174,7 +5206,7 @@ function extract(value_, { format }) {
|
|
|
5174
5206
|
return value;
|
|
5175
5207
|
}
|
|
5176
5208
|
|
|
5177
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
5209
|
+
// ../../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/formatter.js
|
|
5178
5210
|
function defineFormatter(type, format) {
|
|
5179
5211
|
return ({ exclude, format: overrides }) => {
|
|
5180
5212
|
return {
|
|
@@ -5196,7 +5228,7 @@ function defineFormatter(type, format) {
|
|
|
5196
5228
|
};
|
|
5197
5229
|
}
|
|
5198
5230
|
|
|
5199
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
5231
|
+
// ../../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
|
|
5200
5232
|
var rpcTransactionType = {
|
|
5201
5233
|
legacy: "0x0",
|
|
5202
5234
|
eip2930: "0x1",
|
|
@@ -5257,7 +5289,7 @@ function formatAuthorizationList(authorizationList) {
|
|
|
5257
5289
|
}));
|
|
5258
5290
|
}
|
|
5259
5291
|
|
|
5260
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
5292
|
+
// ../../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
|
|
5261
5293
|
function withResolvers() {
|
|
5262
5294
|
let resolve = () => void 0;
|
|
5263
5295
|
let reject = () => void 0;
|
|
@@ -5268,7 +5300,7 @@ function withResolvers() {
|
|
|
5268
5300
|
return { promise, resolve, reject };
|
|
5269
5301
|
}
|
|
5270
5302
|
|
|
5271
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
5303
|
+
// ../../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
|
|
5272
5304
|
var schedulerCache = /* @__PURE__ */ new Map();
|
|
5273
5305
|
function createBatchScheduler({ fn, id, shouldSplitBatch, wait = 0, sort }) {
|
|
5274
5306
|
const exec = async () => {
|
|
@@ -5314,7 +5346,7 @@ function createBatchScheduler({ fn, id, shouldSplitBatch, wait = 0, sort }) {
|
|
|
5314
5346
|
};
|
|
5315
5347
|
}
|
|
5316
5348
|
|
|
5317
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
5349
|
+
// ../../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
|
|
5318
5350
|
function serializeStateMapping(stateMapping) {
|
|
5319
5351
|
if (!stateMapping || stateMapping.length === 0)
|
|
5320
5352
|
return void 0;
|
|
@@ -5367,7 +5399,7 @@ function serializeStateOverride(parameters) {
|
|
|
5367
5399
|
return rpcStateOverride;
|
|
5368
5400
|
}
|
|
5369
5401
|
|
|
5370
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
5402
|
+
// ../../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/number.js
|
|
5371
5403
|
var maxInt8 = 2n ** (8n - 1n) - 1n;
|
|
5372
5404
|
var maxInt16 = 2n ** (16n - 1n) - 1n;
|
|
5373
5405
|
var maxInt24 = 2n ** (24n - 1n) - 1n;
|
|
@@ -5465,7 +5497,7 @@ var maxUint240 = 2n ** 240n - 1n;
|
|
|
5465
5497
|
var maxUint248 = 2n ** 248n - 1n;
|
|
5466
5498
|
var maxUint256 = 2n ** 256n - 1n;
|
|
5467
5499
|
|
|
5468
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
5500
|
+
// ../../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
|
|
5469
5501
|
function assertRequest(args) {
|
|
5470
5502
|
const { account: account_, maxFeePerGas, maxPriorityFeePerGas, to } = args;
|
|
5471
5503
|
const account = account_ ? parseAccount(account_) : void 0;
|
|
@@ -5479,7 +5511,7 @@ function assertRequest(args) {
|
|
|
5479
5511
|
throw new TipAboveFeeCapError({ maxFeePerGas, maxPriorityFeePerGas });
|
|
5480
5512
|
}
|
|
5481
5513
|
|
|
5482
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
5514
|
+
// ../../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
|
|
5483
5515
|
async function call(client, args) {
|
|
5484
5516
|
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;
|
|
5485
5517
|
const account = account_ ? parseAccount(account_) : void 0;
|
|
@@ -5564,7 +5596,7 @@ async function call(client, args) {
|
|
|
5564
5596
|
return { data: response };
|
|
5565
5597
|
} catch (err) {
|
|
5566
5598
|
const data2 = getRevertErrorData(err);
|
|
5567
|
-
const { offchainLookup: offchainLookup2, offchainLookupSignature: offchainLookupSignature2 } = await import("./ccip-
|
|
5599
|
+
const { offchainLookup: offchainLookup2, offchainLookupSignature: offchainLookupSignature2 } = await import("./ccip-RFS3A6PR.mjs");
|
|
5568
5600
|
if (client.ccipRead !== false && data2?.slice(0, 10) === offchainLookupSignature2 && to)
|
|
5569
5601
|
return { data: await offchainLookup2(client, { data: data2, to }) };
|
|
5570
5602
|
if (deploylessCall && data2?.slice(0, 10) === "0x101bb98d")
|
|
@@ -5677,7 +5709,7 @@ function getRevertErrorData(err) {
|
|
|
5677
5709
|
return typeof error?.data === "object" ? error.data?.data : error.data;
|
|
5678
5710
|
}
|
|
5679
5711
|
|
|
5680
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
5712
|
+
// ../../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
|
|
5681
5713
|
var OffchainLookupError = class extends BaseError3 {
|
|
5682
5714
|
constructor({ callbackSelector, cause, data, extraData, sender, urls }) {
|
|
5683
5715
|
super(cause.shortMessage || "An error occurred while fetching for an offchain result.", {
|
|
@@ -5722,7 +5754,7 @@ var OffchainLookupSenderMismatchError = class extends BaseError3 {
|
|
|
5722
5754
|
}
|
|
5723
5755
|
};
|
|
5724
5756
|
|
|
5725
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
5757
|
+
// ../../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
|
|
5726
5758
|
function isAddressEqual(a, b) {
|
|
5727
5759
|
if (!isAddress(a, { strict: false }))
|
|
5728
5760
|
throw new InvalidAddressError({ address: a });
|
|
@@ -5731,7 +5763,7 @@ function isAddressEqual(a, b) {
|
|
|
5731
5763
|
return a.toLowerCase() === b.toLowerCase();
|
|
5732
5764
|
}
|
|
5733
5765
|
|
|
5734
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
5766
|
+
// ../../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
|
|
5735
5767
|
function decodeFunctionData(parameters) {
|
|
5736
5768
|
const { abi, data } = parameters;
|
|
5737
5769
|
const signature = slice3(data, 0, 4);
|
|
@@ -5746,7 +5778,7 @@ function decodeFunctionData(parameters) {
|
|
|
5746
5778
|
};
|
|
5747
5779
|
}
|
|
5748
5780
|
|
|
5749
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
5781
|
+
// ../../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
|
|
5750
5782
|
var docsPath4 = "/docs/contract/encodeErrorResult";
|
|
5751
5783
|
function encodeErrorResult(parameters) {
|
|
5752
5784
|
const { abi, errorName, args } = parameters;
|
|
@@ -5770,7 +5802,7 @@ function encodeErrorResult(parameters) {
|
|
|
5770
5802
|
return concatHex([signature, data]);
|
|
5771
5803
|
}
|
|
5772
5804
|
|
|
5773
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
5805
|
+
// ../../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
|
|
5774
5806
|
var docsPath5 = "/docs/contract/encodeFunctionResult";
|
|
5775
5807
|
function encodeFunctionResult(parameters) {
|
|
5776
5808
|
const { abi, functionName, result } = parameters;
|
|
@@ -5797,7 +5829,7 @@ function encodeFunctionResult(parameters) {
|
|
|
5797
5829
|
return encodeAbiParameters(abiItem.outputs, values);
|
|
5798
5830
|
}
|
|
5799
5831
|
|
|
5800
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
5832
|
+
// ../../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
|
|
5801
5833
|
var localBatchGatewayUrl = "x-batch-gateway:true";
|
|
5802
5834
|
async function localBatchGatewayRequest(parameters) {
|
|
5803
5835
|
const { data, ccipRequest: ccipRequest2 } = parameters;
|
|
@@ -5833,7 +5865,7 @@ function encodeError(error) {
|
|
|
5833
5865
|
});
|
|
5834
5866
|
}
|
|
5835
5867
|
|
|
5836
|
-
// ../../node_modules/.pnpm/viem@2.45.
|
|
5868
|
+
// ../../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
|
|
5837
5869
|
var offchainLookupSignature = "0x556f1830";
|
|
5838
5870
|
var offchainLookupAbiItem = {
|
|
5839
5871
|
name: "OffchainLookup",
|
|
@@ -6041,6 +6073,7 @@ export {
|
|
|
6041
6073
|
BundleTooLargeError,
|
|
6042
6074
|
AtomicReadyWalletRejectedUpgradeError,
|
|
6043
6075
|
AtomicityNotSupportedError,
|
|
6076
|
+
WalletConnectSessionSettlementError,
|
|
6044
6077
|
UnknownRpcError,
|
|
6045
6078
|
FeeCapTooHighError,
|
|
6046
6079
|
TipAboveFeeCapError,
|