@gardenfi/swap 0.1.1 → 0.1.3
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/index100.cjs +1 -1
- package/dist/index100.js +33 -3
- package/dist/index101.cjs +1 -1
- package/dist/index101.js +51 -7
- package/dist/index102.cjs +1 -1
- package/dist/index102.js +37 -5
- package/dist/index103.cjs +1 -1
- package/dist/index103.js +16 -13
- package/dist/index104.cjs +1 -1
- package/dist/index104.js +12 -171
- package/dist/index105.cjs +1 -1
- package/dist/index105.js +24 -33
- package/dist/index106.cjs +1 -1
- package/dist/index106.js +21 -46
- package/dist/index107.cjs +1 -1
- package/dist/index107.js +4 -37
- package/dist/index108.cjs +1 -1
- package/dist/index108.js +6 -24
- package/dist/index113.cjs +1 -1
- package/dist/index113.js +4 -4
- package/dist/index114.cjs +1 -1
- package/dist/index114.js +4 -4
- package/dist/index115.cjs +1 -1
- package/dist/index115.js +1 -1
- package/dist/index116.cjs +1 -1
- package/dist/index116.js +2 -2
- package/dist/index117.cjs +1 -1
- package/dist/index117.js +2 -2
- package/dist/index118.cjs +1 -1
- package/dist/index118.js +3 -3
- package/dist/index119.cjs +1 -1
- package/dist/index119.js +1 -1
- package/dist/index120.cjs +1 -1
- package/dist/index120.js +1 -1
- package/dist/index121.cjs +1 -1
- package/dist/index121.js +1 -1
- package/dist/index122.cjs +1 -1
- package/dist/index122.js +1 -1
- package/dist/index123.cjs +1 -1
- package/dist/index123.js +1 -1
- package/dist/index124.cjs +1 -1
- package/dist/index124.js +2 -2
- package/dist/index125.cjs +1 -1
- package/dist/index125.js +1 -1
- package/dist/index126.cjs +1 -1
- package/dist/index126.js +1 -1
- package/dist/index127.cjs +1 -1
- package/dist/index127.js +1 -1
- package/dist/index128.cjs +1 -1
- package/dist/index128.js +2 -2
- package/dist/index135.cjs +1 -1
- package/dist/index135.js +1 -1
- package/dist/index136.cjs +1 -1
- package/dist/index136.js +2 -2
- package/dist/index138.cjs +1 -1
- package/dist/index138.js +1 -1
- package/dist/index139.cjs +1 -1
- package/dist/index139.js +1 -1
- package/dist/index141.cjs +1 -1
- package/dist/index141.js +1 -1
- package/dist/index145.cjs +1 -1
- package/dist/index145.js +1 -1
- package/dist/index148.cjs +1 -1
- package/dist/index148.js +5 -5
- package/dist/index149.cjs +1 -1
- package/dist/index149.js +4 -4
- package/dist/index150.cjs +1 -1
- package/dist/index150.js +2 -2
- package/dist/index151.cjs +1 -1
- package/dist/index151.js +3 -3
- package/dist/index153.cjs +1 -1
- package/dist/index153.js +2 -2
- package/dist/index154.cjs +1 -1
- package/dist/index154.js +2 -2
- package/dist/index155.cjs +1 -1
- package/dist/index155.js +3 -3
- package/dist/index156.cjs +1 -1
- package/dist/index156.js +3 -3
- package/dist/index157.cjs +1 -1
- package/dist/index157.js +3 -3
- package/dist/index158.cjs +1 -1
- package/dist/index158.js +4 -4
- package/dist/index159.cjs +1 -1
- package/dist/index159.js +4 -4
- package/dist/index160.cjs +1 -1
- package/dist/index160.js +3 -3
- package/dist/index161.cjs +1 -1
- package/dist/index161.js +1 -1
- package/dist/index162.cjs +1 -1
- package/dist/index162.js +1 -1
- package/dist/index169.cjs +1 -1
- package/dist/index169.js +1 -1
- package/dist/index175.cjs +1 -1
- package/dist/index175.js +1 -1
- package/dist/index183.cjs +1 -1
- package/dist/index183.js +1 -1
- package/dist/index198.cjs +1 -1
- package/dist/index198.js +3 -3
- package/dist/index200.cjs +1 -1
- package/dist/index200.js +2 -2
- package/dist/index201.cjs +1 -1
- package/dist/index201.js +2 -2
- package/dist/index202.cjs +1 -1
- package/dist/index202.js +1 -1
- package/dist/index203.cjs +1 -1
- package/dist/index203.js +2 -2
- package/dist/index205.cjs +1 -1
- package/dist/index205.js +1 -1
- package/dist/index214.cjs +1 -1
- package/dist/index214.js +1 -1
- package/dist/index217.cjs +1 -1
- package/dist/index217.js +1 -1
- package/dist/index223.cjs +1 -1
- package/dist/index223.js +1 -1
- package/dist/index225.cjs +1 -1
- package/dist/index225.js +1 -1
- package/dist/index228.cjs +1 -1
- package/dist/index228.js +3 -3
- package/dist/index232.cjs +1 -1
- package/dist/index232.js +1 -1
- package/dist/index234.cjs +1 -1
- package/dist/index234.js +1 -1
- package/dist/index24.cjs +1 -1
- package/dist/index24.js +2 -2
- package/dist/index243.cjs +1 -1
- package/dist/index243.js +1 -1
- package/dist/index245.cjs +1 -1
- package/dist/index245.js +1 -1
- package/dist/index246.cjs +1 -1
- package/dist/index246.js +1 -1
- package/dist/index247.cjs +1 -1
- package/dist/index247.js +2 -2
- package/dist/index250.cjs +1 -1
- package/dist/index250.js +1 -1
- package/dist/index269.cjs +1 -1
- package/dist/index269.js +1 -1
- package/dist/index272.cjs +1 -1
- package/dist/index272.js +1 -1
- package/dist/index29.cjs +1 -1
- package/dist/index29.js +1 -1
- package/dist/index299.cjs +1 -1
- package/dist/index299.js +7 -37
- package/dist/index30.cjs +1 -1
- package/dist/index30.js +2 -2
- package/dist/index300.cjs +1 -1
- package/dist/index300.js +36 -14
- package/dist/index301.cjs +1 -1
- package/dist/index301.js +15 -8
- package/dist/index302.cjs +1 -1
- package/dist/index302.js +8 -7
- package/dist/index303.cjs +1 -1
- package/dist/index303.js +1 -1
- package/dist/index314.cjs +1 -1
- package/dist/index314.js +1 -1
- package/dist/index324.cjs +1 -1
- package/dist/index324.js +1 -1
- package/dist/index348.cjs +1 -1
- package/dist/index348.js +1 -1
- package/dist/index358.cjs +1 -1
- package/dist/index358.js +204 -50
- package/dist/index359.cjs +1 -1
- package/dist/index359.js +50 -204
- package/dist/index362.cjs +1 -1
- package/dist/index362.js +1 -1
- package/dist/index367.cjs +1 -1
- package/dist/index367.js +1 -1
- package/dist/index368.cjs +1 -1
- package/dist/index368.js +1 -1
- package/dist/index39.cjs +1 -1
- package/dist/index39.js +24 -83
- package/dist/index40.cjs +1 -1
- package/dist/index40.js +15 -11
- package/dist/index41.cjs +1 -1
- package/dist/index41.js +103 -24
- package/dist/index42.cjs +1 -1
- package/dist/index42.js +86 -16
- package/dist/index43.cjs +1 -1
- package/dist/index43.js +11 -105
- package/dist/index71.cjs +1 -1
- package/dist/index71.js +3 -3
- package/dist/index72.cjs +1 -1
- package/dist/index72.js +1 -1
- package/dist/index73.cjs +1 -1
- package/dist/index73.js +1 -1
- package/dist/index74.cjs +1 -1
- package/dist/index74.js +2 -2
- package/dist/index79.cjs +1 -1
- package/dist/index79.js +1 -1
- package/dist/index81.cjs +1 -1
- package/dist/index81.js +1 -1
- package/dist/index83.cjs +1 -1
- package/dist/index83.js +1 -1
- package/dist/index86.cjs +1 -1
- package/dist/index86.js +9 -26
- package/dist/index87.cjs +1 -1
- package/dist/index87.js +156 -4
- package/dist/index88.cjs +1 -1
- package/dist/index88.js +5 -7
- package/dist/index89.cjs +3 -1
- package/dist/index89.js +215 -16
- package/dist/index90.cjs +1 -1
- package/dist/index90.js +18 -12
- package/dist/index91.cjs +1 -1
- package/dist/index91.js +10 -9
- package/dist/index92.cjs +1 -1
- package/dist/index92.js +20 -155
- package/dist/index93.cjs +1 -1
- package/dist/index93.js +10 -5
- package/dist/index94.cjs +1 -3
- package/dist/index94.js +9 -215
- package/dist/index95.cjs +1 -1
- package/dist/index95.js +3 -18
- package/dist/index96.cjs +1 -1
- package/dist/index96.js +7 -10
- package/dist/index97.cjs +1 -1
- package/dist/index97.js +5 -21
- package/dist/index98.cjs +1 -1
- package/dist/index98.js +13 -9
- package/dist/index99.cjs +1 -1
- package/dist/index99.js +171 -9
- package/dist/src/lib/store/swapStore.d.ts +1 -1
- package/package.json +4 -4
package/dist/index108.js
CHANGED
|
@@ -1,27 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
eip4844: "0x3",
|
|
7
|
-
eip7702: "0x4"
|
|
8
|
-
};
|
|
9
|
-
function c(e, n) {
|
|
10
|
-
const f = {};
|
|
11
|
-
return typeof e.authorizationList < "u" && (f.authorizationList = y(e.authorizationList)), typeof e.accessList < "u" && (f.accessList = e.accessList), typeof e.blobVersionedHashes < "u" && (f.blobVersionedHashes = e.blobVersionedHashes), typeof e.blobs < "u" && (typeof e.blobs[0] != "string" ? f.blobs = e.blobs.map((d) => o(d)) : f.blobs = e.blobs), typeof e.data < "u" && (f.data = e.data), e.account && (f.from = e.account.address), typeof e.from < "u" && (f.from = e.from), typeof e.gas < "u" && (f.gas = i(e.gas)), typeof e.gasPrice < "u" && (f.gasPrice = i(e.gasPrice)), typeof e.maxFeePerBlobGas < "u" && (f.maxFeePerBlobGas = i(e.maxFeePerBlobGas)), typeof e.maxFeePerGas < "u" && (f.maxFeePerGas = i(e.maxFeePerGas)), typeof e.maxPriorityFeePerGas < "u" && (f.maxPriorityFeePerGas = i(e.maxPriorityFeePerGas)), typeof e.nonce < "u" && (f.nonce = i(e.nonce)), typeof e.to < "u" && (f.to = e.to), typeof e.type < "u" && (f.type = a[e.type]), typeof e.value < "u" && (f.value = i(e.value)), f;
|
|
12
|
-
}
|
|
13
|
-
function y(e) {
|
|
14
|
-
return e.map((n) => ({
|
|
15
|
-
address: n.address,
|
|
16
|
-
r: n.r ? i(BigInt(n.r)) : n.r,
|
|
17
|
-
s: n.s ? i(BigInt(n.s)) : n.s,
|
|
18
|
-
chainId: i(n.chainId),
|
|
19
|
-
nonce: i(n.nonce),
|
|
20
|
-
...typeof n.yParity < "u" ? { yParity: i(n.yParity) } : {},
|
|
21
|
-
...typeof n.v < "u" && typeof n.yParity > "u" ? { v: i(n.v) } : {}
|
|
22
|
-
}));
|
|
1
|
+
function f(e, { dir: n = "left" } = {}) {
|
|
2
|
+
let t = typeof e == "string" ? e.replace("0x", "") : e, i = 0;
|
|
3
|
+
for (let l = 0; l < t.length - 1 && t[n === "left" ? l : t.length - l - 1].toString() === "0"; l++)
|
|
4
|
+
i++;
|
|
5
|
+
return t = n === "left" ? t.slice(i) : t.slice(0, t.length - i), typeof e == "string" ? (t.length === 1 && n === "right" && (t = `${t}0`), `0x${t.length % 2 === 1 ? `0${t}` : t}`) : t;
|
|
23
6
|
}
|
|
24
7
|
export {
|
|
25
|
-
|
|
26
|
-
a as rpcTransactionType
|
|
8
|
+
f as trim
|
|
27
9
|
};
|
package/dist/index113.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index114.cjs"),o=require("./index115.cjs"),n=require("./index116.cjs"),i=require("./index117.cjs"),c=require("./index118.cjs"),g=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index114.cjs"),o=require("./index115.cjs"),n=require("./index116.cjs"),i=require("./index117.cjs"),c=require("./index118.cjs"),g=require("./index99.cjs"),u=require("./index119.cjs"),q=require("./index120.cjs"),l=require("./index121.cjs"),T=require("./index122.cjs"),m=require("./index123.cjs"),C=require("./index124.cjs"),F=require("./index125.cjs"),d=require("./index126.cjs"),v=require("./index127.cjs"),E=require("./index128.cjs"),B=require("./index129.cjs"),w=require("./index130.cjs"),y=require("./index131.cjs"),h=require("./index132.cjs"),f=require("./index133.cjs"),k=require("./index134.cjs"),r=require("./index86.cjs"),P=require("./index135.cjs"),p=require("./index136.cjs"),R=require("./index137.cjs"),G=require("./index138.cjs"),A=require("./index139.cjs"),b=require("./index140.cjs"),S=require("./index141.cjs"),M=require("./index142.cjs"),L=require("./index143.cjs"),N=require("./index144.cjs"),x=require("./index145.cjs"),D=require("./index146.cjs"),H=require("./index147.cjs"),I=require("./index148.cjs"),j=require("./index100.cjs"),a=require("./index149.cjs"),O=require("./index150.cjs"),z=require("./index151.cjs"),J=require("./index152.cjs"),K=require("./index87.cjs"),Q=require("./index153.cjs"),U=require("./index154.cjs"),V=require("./index155.cjs"),W=require("./index156.cjs"),X=require("./index157.cjs"),Y=require("./index158.cjs"),Z=require("./index159.cjs"),_=require("./index160.cjs"),$=require("./index161.cjs"),ee=require("./index162.cjs"),te=require("./index163.cjs"),re=require("./index164.cjs");function ae(t){return{call:e=>g.call(t,e),createAccessList:e=>u.createAccessList(t,e),createBlockFilter:()=>q.createBlockFilter(t),createContractEventFilter:e=>l.createContractEventFilter(t,e),createEventFilter:e=>T.createEventFilter(t,e),createPendingTransactionFilter:()=>m.createPendingTransactionFilter(t),estimateContractGas:e=>C.estimateContractGas(t,e),estimateGas:e=>d.estimateGas(t,e),getBalance:e=>B.getBalance(t,e),getBlobBaseFee:()=>w.getBlobBaseFee(t),getBlock:e=>y.getBlock(t,e),getBlockNumber:e=>h.getBlockNumber(t,e),getBlockTransactionCount:e=>f.getBlockTransactionCount(t,e),getBytecode:e=>r.getCode(t,e),getChainId:()=>k.getChainId(t),getCode:e=>r.getCode(t,e),getContractEvents:e=>P.getContractEvents(t,e),getEip712Domain:e=>p.getEip712Domain(t,e),getEnsAddress:e=>s.getEnsAddress(t,e),getEnsAvatar:e=>o.getEnsAvatar(t,e),getEnsName:e=>n.getEnsName(t,e),getEnsResolver:e=>i.getEnsResolver(t,e),getEnsText:e=>c.getEnsText(t,e),getFeeHistory:e=>R.getFeeHistory(t,e),estimateFeesPerGas:e=>F.estimateFeesPerGas(t,e),getFilterChanges:e=>G.getFilterChanges(t,e),getFilterLogs:e=>A.getFilterLogs(t,e),getGasPrice:()=>b.getGasPrice(t),getLogs:e=>S.getLogs(t,e),getProof:e=>M.getProof(t,e),estimateMaxPriorityFeePerGas:e=>v.estimateMaxPriorityFeePerGas(t,e),fillTransaction:e=>E.fillTransaction(t,e),getStorageAt:e=>L.getStorageAt(t,e),getTransaction:e=>N.getTransaction(t,e),getTransactionConfirmations:e=>x.getTransactionConfirmations(t,e),getTransactionCount:e=>D.getTransactionCount(t,e),getTransactionReceipt:e=>H.getTransactionReceipt(t,e),multicall:e=>I.multicall(t,e),prepareTransactionRequest:e=>ee.prepareTransactionRequest(t,e),readContract:e=>j.readContract(t,e),sendRawTransaction:e=>te.sendRawTransaction(t,e),sendRawTransactionSync:e=>re.sendRawTransactionSync(t,e),simulate:e=>a.simulateBlocks(t,e),simulateBlocks:e=>a.simulateBlocks(t,e),simulateCalls:e=>O.simulateCalls(t,e),simulateContract:e=>z.simulateContract(t,e),verifyHash:e=>K.verifyHash(t,e),verifyMessage:e=>Q.verifyMessage(t,e),verifySiweMessage:e=>$.verifySiweMessage(t,e),verifyTypedData:e=>U.verifyTypedData(t,e),uninstallFilter:e=>J.uninstallFilter(t,e),waitForTransactionReceipt:e=>V.waitForTransactionReceipt(t,e),watchBlocks:e=>X.watchBlocks(t,e),watchBlockNumber:e=>W.watchBlockNumber(t,e),watchContractEvent:e=>Y.watchContractEvent(t,e),watchEvent:e=>Z.watchEvent(t,e),watchPendingTransactions:e=>_.watchPendingTransactions(t,e)}}exports.publicActions=ae;
|
package/dist/index113.js
CHANGED
|
@@ -3,7 +3,7 @@ import { getEnsAvatar as m } from "./index115.js";
|
|
|
3
3
|
import { getEnsName as s } from "./index116.js";
|
|
4
4
|
import { getEnsResolver as i } from "./index117.js";
|
|
5
5
|
import { getEnsText as f } from "./index118.js";
|
|
6
|
-
import { call as p } from "./
|
|
6
|
+
import { call as p } from "./index99.js";
|
|
7
7
|
import { createAccessList as g } from "./index119.js";
|
|
8
8
|
import { createBlockFilter as n } from "./index120.js";
|
|
9
9
|
import { createContractEventFilter as c } from "./index121.js";
|
|
@@ -20,7 +20,7 @@ import { getBlock as y } from "./index131.js";
|
|
|
20
20
|
import { getBlockNumber as h } from "./index132.js";
|
|
21
21
|
import { getBlockTransactionCount as k } from "./index133.js";
|
|
22
22
|
import { getChainId as P } from "./index134.js";
|
|
23
|
-
import { getCode as o } from "./
|
|
23
|
+
import { getCode as o } from "./index86.js";
|
|
24
24
|
import { getContractEvents as R } from "./index135.js";
|
|
25
25
|
import { getEip712Domain as G } from "./index136.js";
|
|
26
26
|
import { getFeeHistory as A } from "./index137.js";
|
|
@@ -35,12 +35,12 @@ import { getTransactionConfirmations as D } from "./index145.js";
|
|
|
35
35
|
import { getTransactionCount as H } from "./index146.js";
|
|
36
36
|
import { getTransactionReceipt as q } from "./index147.js";
|
|
37
37
|
import { multicall as I } from "./index148.js";
|
|
38
|
-
import { readContract as j } from "./
|
|
38
|
+
import { readContract as j } from "./index100.js";
|
|
39
39
|
import { simulateBlocks as e } from "./index149.js";
|
|
40
40
|
import { simulateCalls as z } from "./index150.js";
|
|
41
41
|
import { simulateContract as J } from "./index151.js";
|
|
42
42
|
import { uninstallFilter as K } from "./index152.js";
|
|
43
|
-
import { verifyHash as O } from "./
|
|
43
|
+
import { verifyHash as O } from "./index87.js";
|
|
44
44
|
import { verifyMessage as Q } from "./index153.js";
|
|
45
45
|
import { verifyTypedData as U } from "./index154.js";
|
|
46
46
|
import { waitForTransactionReceipt as V } from "./index155.js";
|
package/dist/index114.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index46.cjs"),R=require("./index209.cjs"),b=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index46.cjs"),R=require("./index209.cjs"),b=require("./index91.cjs"),m=require("./index84.cjs"),y=require("./index108.cjs"),C=require("./index81.cjs"),w=require("./index303.cjs"),T=require("./index230.cjs"),v=require("./index233.cjs"),x=require("./index304.cjs"),B=require("./index96.cjs"),N=require("./index100.cjs");async function k(a,n){const{blockNumber:c,blockTag:f,coinType:i,name:t,gatewayUrls:h,strict:A}=n,{chain:r}=a,g=(()=>{if(n.universalResolverAddress)return n.universalResolverAddress;if(!r)throw new Error("client chain not configured. universalResolverAddress is required.");return m.getChainContractAddress({blockNumber:c,chain:r,contract:"ensUniversalResolver"})})(),u=r==null?void 0:r.ensTlds;if(u&&!u.some(e=>t.endsWith(e)))return null;const d=i!=null?[v.namehash(t),BigInt(i)]:[v.namehash(t)];try{const e=b.encodeFunctionData({abi:o.addressResolverAbi,functionName:"addr",args:d}),q={address:g,abi:o.universalResolverResolveAbi,functionName:"resolveWithGateways",args:[C.toHex(x.packetToBytes(t)),e,h??[T.localBatchGatewayUrl]],blockNumber:c,blockTag:f},l=await B.getAction(a,N.readContract,"readContract")(q);if(l[0]==="0x")return null;const s=R.decodeFunctionResult({abi:o.addressResolverAbi,args:d,functionName:"addr",data:l[0]});return s==="0x"||y.trim(s)==="0x00"?null:s}catch(e){if(A)throw e;if(w.isNullUniversalResolverError(e))return null;throw e}}exports.getEnsAddress=k;
|
package/dist/index114.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { addressResolverAbi as u, universalResolverResolveAbi as R } from "./index46.js";
|
|
2
2
|
import { decodeFunctionResult as g } from "./index209.js";
|
|
3
|
-
import { encodeFunctionData as b } from "./
|
|
3
|
+
import { encodeFunctionData as b } from "./index91.js";
|
|
4
4
|
import { getChainContractAddress as w } from "./index84.js";
|
|
5
|
-
import { trim as y } from "./
|
|
5
|
+
import { trim as y } from "./index108.js";
|
|
6
6
|
import { toHex as C } from "./index81.js";
|
|
7
7
|
import { isNullUniversalResolverError as x } from "./index303.js";
|
|
8
8
|
import { localBatchGatewayUrl as N } from "./index230.js";
|
|
9
9
|
import { namehash as m } from "./index233.js";
|
|
10
10
|
import { packetToBytes as T } from "./index304.js";
|
|
11
|
-
import { getAction as U } from "./
|
|
12
|
-
import { readContract as k } from "./
|
|
11
|
+
import { getAction as U } from "./index96.js";
|
|
12
|
+
import { readContract as k } from "./index100.js";
|
|
13
13
|
async function K(s, o) {
|
|
14
14
|
const { blockNumber: i, blockTag: f, coinType: a, name: e, gatewayUrls: v, strict: p } = o, { chain: t } = s, A = (() => {
|
|
15
15
|
if (o.universalResolverAddress)
|
package/dist/index115.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index305.cjs"),g=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index305.cjs"),g=require("./index96.cjs"),l=require("./index118.cjs");async function v(t,{blockNumber:r,blockTag:a,assetGatewayUrls:n,name:s,gatewayUrls:c,strict:o,universalResolverAddress:u}){const e=await g.getAction(t,l.getEnsText,"getEnsText")({blockNumber:r,blockTag:a,key:"avatar",name:s,universalResolverAddress:u,gatewayUrls:c,strict:o});if(!e)return null;try{return await i.parseAvatarRecord(t,{record:e,gatewayUrls:n})}catch{return null}}exports.getEnsAvatar=v;
|
package/dist/index115.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { parseAvatarRecord as m } from "./index305.js";
|
|
2
|
-
import { getAction as u } from "./
|
|
2
|
+
import { getAction as u } from "./index96.js";
|
|
3
3
|
import { getEnsText as f } from "./index118.js";
|
|
4
4
|
async function y(t, { blockNumber: a, blockTag: e, assetGatewayUrls: n, name: o, gatewayUrls: c, strict: i, universalResolverAddress: s }) {
|
|
5
5
|
const r = await u(t, f, "getEnsText")({
|
package/dist/index116.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=require("./index46.cjs"),h=require("./index84.cjs"),A=require("./index303.cjs"),w=require("./index230.cjs"),y=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=require("./index46.cjs"),h=require("./index84.cjs"),A=require("./index303.cjs"),w=require("./index230.cjs"),y=require("./index96.cjs"),C=require("./index100.cjs");async function R(t,r){const{address:a,blockNumber:s,blockTag:o,coinType:c=60n,gatewayUrls:i,strict:l}=r,{chain:n}=t,u=(()=>{if(r.universalResolverAddress)return r.universalResolverAddress;if(!n)throw new Error("client chain not configured. universalResolverAddress is required.");return h.getChainContractAddress({blockNumber:s,chain:n,contract:"ensUniversalResolver"})})();try{const e={address:u,abi:g.universalResolverReverseAbi,args:[a,c,i??[w.localBatchGatewayUrl]],functionName:"reverseWithGateways",blockNumber:s,blockTag:o},d=y.getAction(t,C.readContract,"readContract"),[v]=await d(e);return v||null}catch(e){if(l)throw e;if(A.isNullUniversalResolverError(e))return null;throw e}}exports.getEnsName=R;
|
package/dist/index116.js
CHANGED
|
@@ -2,8 +2,8 @@ import { universalResolverReverseAbi as m } from "./index46.js";
|
|
|
2
2
|
import { getChainContractAddress as f } from "./index84.js";
|
|
3
3
|
import { isNullUniversalResolverError as h } from "./index303.js";
|
|
4
4
|
import { localBatchGatewayUrl as w } from "./index230.js";
|
|
5
|
-
import { getAction as A } from "./
|
|
6
|
-
import { readContract as R } from "./
|
|
5
|
+
import { getAction as A } from "./index96.js";
|
|
6
|
+
import { readContract as R } from "./index100.js";
|
|
7
7
|
async function U(t, e) {
|
|
8
8
|
const { address: n, blockNumber: o, blockTag: a, coinType: i = 60n, gatewayUrls: c, strict: l } = e, { chain: s } = t, d = (() => {
|
|
9
9
|
if (e.universalResolverAddress)
|
package/dist/index117.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index84.cjs"),l=require("./index81.cjs"),v=require("./index304.cjs"),y=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index84.cjs"),l=require("./index81.cjs"),v=require("./index304.cjs"),y=require("./index96.cjs"),f=require("./index100.cjs");async function g(n,r){const{blockNumber:o,blockTag:i,name:s}=r,{chain:e}=n,a=(()=>{if(r.universalResolverAddress)return r.universalResolverAddress;if(!e)throw new Error("client chain not configured. universalResolverAddress is required.");return u.getChainContractAddress({blockNumber:o,chain:e,contract:"ensUniversalResolver"})})(),t=e==null?void 0:e.ensTlds;if(t&&!t.some(d=>s.endsWith(d)))throw new Error(`${s} is not a valid ENS TLD (${t==null?void 0:t.join(", ")}) for chain "${e.name}" (id: ${e.id}).`);const[c]=await y.getAction(n,f.readContract,"readContract")({address:a,abi:[{inputs:[{type:"bytes"}],name:"findResolver",outputs:[{type:"address"},{type:"bytes32"},{type:"uint256"}],stateMutability:"view",type:"function"}],functionName:"findResolver",args:[l.toHex(v.packetToBytes(s))],blockNumber:o,blockTag:i});return c}exports.getEnsResolver=g;
|
package/dist/index117.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { getChainContractAddress as l } from "./index84.js";
|
|
2
2
|
import { toHex as u } from "./index81.js";
|
|
3
3
|
import { packetToBytes as v } from "./index304.js";
|
|
4
|
-
import { getAction as f } from "./
|
|
5
|
-
import { readContract as m } from "./
|
|
4
|
+
import { getAction as f } from "./index96.js";
|
|
5
|
+
import { readContract as m } from "./index100.js";
|
|
6
6
|
async function g(s, t) {
|
|
7
7
|
const { blockNumber: n, blockTag: i, name: o } = t, { chain: e } = s, a = (() => {
|
|
8
8
|
if (t.universalResolverAddress)
|
package/dist/index118.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index46.cjs"),q=require("./index209.cjs"),A=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index46.cjs"),q=require("./index209.cjs"),A=require("./index91.cjs"),R=require("./index84.cjs"),b=require("./index81.cjs"),f=require("./index303.cjs"),y=require("./index230.cjs"),C=require("./index233.cjs"),w=require("./index304.cjs"),x=require("./index96.cjs"),m=require("./index100.cjs");async function T(o,r){const{blockNumber:a,blockTag:l,key:d,name:n,gatewayUrls:v,strict:h}=r,{chain:t}=o,g=(()=>{if(r.universalResolverAddress)return r.universalResolverAddress;if(!t)throw new Error("client chain not configured. universalResolverAddress is required.");return R.getChainContractAddress({blockNumber:a,chain:t,contract:"ensUniversalResolver"})})(),c=t==null?void 0:t.ensTlds;if(c&&!c.some(e=>n.endsWith(e)))return null;try{const e={address:g,abi:s.universalResolverResolveAbi,args:[b.toHex(w.packetToBytes(n)),A.encodeFunctionData({abi:s.textResolverAbi,functionName:"text",args:[C.namehash(n),d]}),v??[y.localBatchGatewayUrl]],functionName:"resolveWithGateways",blockNumber:a,blockTag:l},i=await x.getAction(o,m.readContract,"readContract")(e);if(i[0]==="0x")return null;const u=q.decodeFunctionResult({abi:s.textResolverAbi,functionName:"text",data:i[0]});return u===""?null:u}catch(e){if(h)throw e;if(f.isNullUniversalResolverError(e))return null;throw e}}exports.getEnsText=T;
|
package/dist/index118.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { textResolverAbi as l, universalResolverResolveAbi as p } from "./index46.js";
|
|
2
2
|
import { decodeFunctionResult as h } from "./index209.js";
|
|
3
|
-
import { encodeFunctionData as A } from "./
|
|
3
|
+
import { encodeFunctionData as A } from "./index91.js";
|
|
4
4
|
import { getChainContractAddress as R } from "./index84.js";
|
|
5
5
|
import { toHex as b } from "./index81.js";
|
|
6
6
|
import { isNullUniversalResolverError as g } from "./index303.js";
|
|
7
7
|
import { localBatchGatewayUrl as w } from "./index230.js";
|
|
8
8
|
import { namehash as x } from "./index233.js";
|
|
9
9
|
import { packetToBytes as y } from "./index304.js";
|
|
10
|
-
import { getAction as C } from "./
|
|
11
|
-
import { readContract as N } from "./
|
|
10
|
+
import { getAction as C } from "./index96.js";
|
|
11
|
+
import { readContract as N } from "./index100.js";
|
|
12
12
|
async function j(n, e) {
|
|
13
13
|
const { blockNumber: s, blockTag: m, key: d, name: o, gatewayUrls: u, strict: f } = e, { chain: t } = n, v = (() => {
|
|
14
14
|
if (e.universalResolverAddress)
|
package/dist/index119.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const k=require("./index111.cjs"),R=require("./index81.cjs"),F=require("./index269.cjs"),H=require("./index271.cjs"),T=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const k=require("./index111.cjs"),R=require("./index81.cjs"),F=require("./index269.cjs"),H=require("./index271.cjs"),T=require("./index105.cjs"),G=require("./index249.cjs");async function N(e,t){var a,o,n;const{account:s=e.account,blockNumber:r,blockTag:b="latest",blobs:l,data:q,gas:f,gasPrice:d,maxFeePerBlobGas:g,maxFeePerGas:x,maxPriorityFeePerGas:h,to:p,value:y,...A}=t,c=s?k.parseAccount(s):void 0;try{G.assertRequest(t);const L=(typeof r=="bigint"?R.numberToHex(r):void 0)||b,i=(n=(o=(a=e.chain)==null?void 0:a.formatters)==null?void 0:o.transactionRequest)==null?void 0:n.format,P=(i||T.formatTransactionRequest)({...H.extract(A,{format:i}),account:c,blobs:l,data:q,gas:f,gasPrice:d,maxFeePerBlobGas:g,maxFeePerGas:x,maxPriorityFeePerGas:h,to:p,value:y},"createAccessList"),m=await e.request({method:"eth_createAccessList",params:[P,L]});return{accessList:m.accessList,gasUsed:BigInt(m.gasUsed)}}catch(u){throw F.getCallError(u,{...t,account:c,chain:e.chain})}}exports.createAccessList=N;
|
package/dist/index119.js
CHANGED
|
@@ -2,7 +2,7 @@ import { parseAccount as A } from "./index111.js";
|
|
|
2
2
|
import { numberToHex as F } from "./index81.js";
|
|
3
3
|
import { getCallError as G } from "./index269.js";
|
|
4
4
|
import { extract as H } from "./index271.js";
|
|
5
|
-
import { formatTransactionRequest as N } from "./
|
|
5
|
+
import { formatTransactionRequest as N } from "./index105.js";
|
|
6
6
|
import { assertRequest as R } from "./index249.js";
|
|
7
7
|
async function E(t, e) {
|
|
8
8
|
var a, c, n;
|
package/dist/index120.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index299.cjs");async function o(e){const r=c.createFilterRequestScope(e,{method:"eth_newBlockFilter"}),t=await e.request({method:"eth_newBlockFilter"});return{id:t,request:r(t),type:"block"}}exports.createBlockFilter=o;
|
package/dist/index120.js
CHANGED
package/dist/index121.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("./index213.cjs"),s=require("./index81.cjs"),q=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("./index213.cjs"),s=require("./index81.cjs"),q=require("./index299.cjs");async function b(r,a){const{address:u,abi:n,args:c,eventName:e,fromBlock:t,strict:l,toBlock:o}=a,d=q.createFilterRequestScope(r,{method:"eth_newFilter"}),p=e?m.encodeEventTopics({abi:n,args:c,eventName:e}):void 0,i=await r.request({method:"eth_newFilter",params:[{address:u,fromBlock:typeof t=="bigint"?s.numberToHex(t):t,toBlock:typeof o=="bigint"?s.numberToHex(o):o,topics:p}]});return{abi:n,args:c,eventName:e,id:i,request:d(i),strict:!!l,type:"event"}}exports.createContractEventFilter=b;
|
package/dist/index121.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { encodeEventTopics as l } from "./index213.js";
|
|
2
2
|
import { numberToHex as s } from "./index81.js";
|
|
3
|
-
import { createFilterRequestScope as u } from "./
|
|
3
|
+
import { createFilterRequestScope as u } from "./index299.js";
|
|
4
4
|
async function h(r, a) {
|
|
5
5
|
const { address: m, abi: n, args: i, eventName: e, fromBlock: t, strict: p, toBlock: o } = a, f = u(r, {
|
|
6
6
|
method: "eth_newFilter"
|
package/dist/index122.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("./index213.cjs"),u=require("./index81.cjs"),q=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("./index213.cjs"),u=require("./index81.cjs"),q=require("./index299.cjs");async function f(o,{address:d,args:s,event:e,events:p,fromBlock:n,strict:b,toBlock:i}={}){const r=p??(e?[e]:void 0),l=q.createFilterRequestScope(o,{method:"eth_newFilter"});let t=[];r&&(t=[r.flatMap(a=>m.encodeEventTopics({abi:[a],eventName:a.name,args:s}))],e&&(t=t[0]));const c=await o.request({method:"eth_newFilter",params:[{address:d,fromBlock:typeof n=="bigint"?u.numberToHex(n):n,toBlock:typeof i=="bigint"?u.numberToHex(i):i,...t.length?{topics:t}:{}}]});return{abi:r,args:s,eventName:e?e.name:void 0,fromBlock:n,id:c,request:l(c),strict:!!b,toBlock:i,type:"event"}}exports.createEventFilter=f;
|
package/dist/index122.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { encodeEventTopics as b } from "./index213.js";
|
|
2
2
|
import { numberToHex as m } from "./index81.js";
|
|
3
|
-
import { createFilterRequestScope as h } from "./
|
|
3
|
+
import { createFilterRequestScope as h } from "./index299.js";
|
|
4
4
|
async function l(r, { address: p, args: a, event: e, events: c, fromBlock: n, strict: f, toBlock: i } = {}) {
|
|
5
5
|
const o = c ?? (e ? [e] : void 0), u = h(r, {
|
|
6
6
|
method: "eth_newFilter"
|
package/dist/index123.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index299.cjs");async function i(e){const n=r.createFilterRequestScope(e,{method:"eth_newPendingTransactionFilter"}),t=await e.request({method:"eth_newPendingTransactionFilter"});return{id:t,request:n(t),type:"transaction"}}exports.createPendingTransactionFilter=i;
|
package/dist/index123.js
CHANGED
package/dist/index124.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=require("./index111.cjs"),m=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=require("./index111.cjs"),m=require("./index91.cjs"),f=require("./index234.cjs"),q=require("./index96.cjs"),G=require("./index126.cjs");async function C(i,u){const{abi:a,address:r,args:c,functionName:n,dataSuffix:o,...t}=u,d=m.encodeFunctionData({abi:a,args:c,functionName:n});try{return await q.getAction(i,G.estimateGas,"estimateGas")({data:`${d}${o?o.replace("0x",""):""}`,to:r,...t})}catch(s){const e=t.account?g.parseAccount(t.account):void 0;throw f.getContractError(s,{abi:a,address:r,args:c,docsPath:"/docs/contract/estimateContractGas",functionName:n,sender:e==null?void 0:e.address})}}exports.estimateContractGas=C;
|
package/dist/index124.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { parseAccount as f } from "./index111.js";
|
|
2
|
-
import { encodeFunctionData as u } from "./
|
|
2
|
+
import { encodeFunctionData as u } from "./index91.js";
|
|
3
3
|
import { getContractError as p } from "./index234.js";
|
|
4
|
-
import { getAction as g } from "./
|
|
4
|
+
import { getAction as g } from "./index96.js";
|
|
5
5
|
import { estimateGas as G } from "./index126.js";
|
|
6
6
|
async function A(i, m) {
|
|
7
7
|
const { abi: o, address: r, args: e, functionName: s, dataSuffix: c, ...t } = m, d = u({
|
package/dist/index125.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index192.cjs"),G=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index192.cjs"),G=require("./index96.cjs"),b=require("./index127.cjs"),p=require("./index131.cjs"),y=require("./index140.cjs");async function k(s,o){return m(s,o)}async function m(s,o){var f,g;const{block:i,chain:t=s.chain,request:e,type:l="eip1559"}=o||{},n=await(async()=>{var r,a;return typeof((r=t==null?void 0:t.fees)==null?void 0:r.baseFeeMultiplier)=="function"?t.fees.baseFeeMultiplier({block:i,client:s,request:e}):((a=t==null?void 0:t.fees)==null?void 0:a.baseFeeMultiplier)??1.2})();if(n<1)throw new u.BaseFeeScalarError;const F=10**(((f=n.toString().split(".")[1])==null?void 0:f.length)??0),c=r=>r*BigInt(Math.ceil(n*F))/BigInt(F),P=i||await G.getAction(s,p.getBlock,"getBlock")({});if(typeof((g=t==null?void 0:t.fees)==null?void 0:g.estimateFeesPerGas)=="function"){const r=await t.fees.estimateFeesPerGas({block:i,client:s,multiply:c,request:e,type:l});if(r!==null)return r}if(l==="eip1559"){if(typeof P.baseFeePerGas!="bigint")throw new u.Eip1559FeesNotSupportedError;const r=typeof(e==null?void 0:e.maxPriorityFeePerGas)=="bigint"?e.maxPriorityFeePerGas:await b.internal_estimateMaxPriorityFeePerGas(s,{block:P,chain:t,request:e}),a=c(P.baseFeePerGas);return{maxFeePerGas:(e==null?void 0:e.maxFeePerGas)??a+r,maxPriorityFeePerGas:r}}return{gasPrice:(e==null?void 0:e.gasPrice)??c(await G.getAction(s,y.getGasPrice,"getGasPrice")({}))}}exports.estimateFeesPerGas=k;exports.internal_estimateFeesPerGas=m;
|
package/dist/index125.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BaseFeeScalarError as G, Eip1559FeesNotSupportedError as b } from "./index192.js";
|
|
2
|
-
import { getAction as F } from "./
|
|
2
|
+
import { getAction as F } from "./index96.js";
|
|
3
3
|
import { internal_estimateMaxPriorityFeePerGas as g } from "./index127.js";
|
|
4
4
|
import { getBlock as y } from "./index131.js";
|
|
5
5
|
import { getGasPrice as u } from "./index140.js";
|
package/dist/index126.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const O=require("./index111.cjs"),P=require("./index177.cjs"),E=require("./index272.cjs"),F=require("./index81.cjs"),S=require("./index306.cjs"),B=require("./index271.cjs"),N=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const O=require("./index111.cjs"),P=require("./index177.cjs"),E=require("./index272.cjs"),F=require("./index81.cjs"),S=require("./index306.cjs"),B=require("./index271.cjs"),N=require("./index105.cjs"),_=require("./index275.cjs"),g=require("./index249.cjs"),V=require("./index162.cjs");async function j(t,e){var u,m,d;const{account:c=t.account,prepare:o=!0}=e,r=c?O.parseAccount(c):void 0,q=(()=>{if(Array.isArray(o))return o;if((r==null?void 0:r.type)!=="local")return["blobVersionedHashes"]})();try{const a=await(async()=>{if(e.to)return e.to;if(e.authorizationList&&e.authorizationList.length>0)return await E.recoverAuthorizationAddress({authorization:e.authorizationList[0]}).catch(()=>{throw new P.BaseError("`to` is required. Could not infer from `authorizationList`")})})(),{accessList:l,authorizationList:p,blobs:x,blobVersionedHashes:y,blockNumber:b,blockTag:v,data:z,gas:s,gasPrice:G,maxFeePerBlobGas:A,maxFeePerGas:w,maxPriorityFeePerGas:R,nonce:T,value:k,stateOverride:H,...L}=o?await V.prepareTransactionRequest(t,{...e,parameters:q,to:a}):e;if(s&&e.gas!==s)return s;const i=(typeof b=="bigint"?F.numberToHex(b):void 0)||v,h=_.serializeStateOverride(H);g.assertRequest(e);const f=(d=(m=(u=t.chain)==null?void 0:u.formatters)==null?void 0:m.transactionRequest)==null?void 0:d.format,n=(f||N.formatTransactionRequest)({...B.extract(L,{format:f}),account:r,accessList:l,authorizationList:p,blobs:x,blobVersionedHashes:y,data:z,gasPrice:G,maxFeePerBlobGas:A,maxFeePerGas:w,maxPriorityFeePerGas:R,nonce:T,to:a,value:k},"estimateGas");return BigInt(await t.request({method:"eth_estimateGas",params:h?[n,i??t.experimental_blockTag??"latest",h]:i?[n,i]:[n]}))}catch(a){throw S.getEstimateGasError(a,{...e,account:r,chain:t.chain})}}exports.estimateGas=j;
|
package/dist/index126.js
CHANGED
|
@@ -4,7 +4,7 @@ import { recoverAuthorizationAddress as B } from "./index272.js";
|
|
|
4
4
|
import { numberToHex as E } from "./index81.js";
|
|
5
5
|
import { getEstimateGasError as N } from "./index306.js";
|
|
6
6
|
import { extract as O } from "./index271.js";
|
|
7
|
-
import { formatTransactionRequest as _ } from "./
|
|
7
|
+
import { formatTransactionRequest as _ } from "./index105.js";
|
|
8
8
|
import { serializeStateOverride as S } from "./index275.js";
|
|
9
9
|
import { assertRequest as V } from "./index249.js";
|
|
10
10
|
import { prepareTransactionRequest as C } from "./index162.js";
|
package/dist/index127.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./index192.cjs"),m=require("./index71.cjs"),n=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./index192.cjs"),m=require("./index71.cjs"),n=require("./index96.cjs"),y=require("./index131.cjs"),G=require("./index140.cjs");async function F(e,i){return f(e,i)}async function f(e,i){var c,P;const{block:a,chain:t=e.chain,request:g}=i||{};try{const r=((c=t==null?void 0:t.fees)==null?void 0:c.maxPriorityFeePerGas)??((P=t==null?void 0:t.fees)==null?void 0:P.defaultPriorityFee);if(typeof r=="function"){const o=a||await n.getAction(e,y.getBlock,"getBlock")({}),u=await r({block:o,client:e,request:g});if(u===null)throw new Error;return u}if(typeof r<"u")return r;const s=await e.request({method:"eth_maxPriorityFeePerGas"});return m.hexToBigInt(s)}catch{const[r,s]=await Promise.all([a?Promise.resolve(a):n.getAction(e,y.getBlock,"getBlock")({}),n.getAction(e,G.getGasPrice,"getGasPrice")({})]);if(typeof r.baseFeePerGas!="bigint")throw new l.Eip1559FeesNotSupportedError;const o=s-r.baseFeePerGas;return o<0n?0n:o}}exports.estimateMaxPriorityFeePerGas=F;exports.internal_estimateMaxPriorityFeePerGas=f;
|
package/dist/index127.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Eip1559FeesNotSupportedError as y } from "./index192.js";
|
|
2
2
|
import { hexToBigInt as p } from "./index71.js";
|
|
3
|
-
import { getAction as n } from "./
|
|
3
|
+
import { getAction as n } from "./index96.js";
|
|
4
4
|
import { getBlock as c } from "./index131.js";
|
|
5
5
|
import { getGasPrice as F } from "./index140.js";
|
|
6
6
|
async function k(e, i) {
|
package/dist/index128.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const y=require("./index111.cjs"),j=require("./index192.cjs"),z=require("./index307.cjs"),N=require("./index271.cjs"),O=require("./index73.cjs"),V=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const y=require("./index111.cjs"),j=require("./index192.cjs"),z=require("./index307.cjs"),N=require("./index271.cjs"),O=require("./index73.cjs"),V=require("./index105.cjs"),h=require("./index96.cjs"),$=require("./index249.cjs"),D=require("./index131.cjs"),J=require("./index134.cjs");async function K(r,a){var P,g,m,d,F;const{account:s=r.account,accessList:w,authorizationList:B,chain:t=r.chain,blobVersionedHashes:T,blobs:I,data:M,gas:k,gasPrice:A,maxFeePerBlobGas:p,maxFeePerGas:R,maxPriorityFeePerGas:S,nonce:n,nonceManager:u,to:v,type:C,value:E,..._}=a,H=await(async()=>{if(!s||!u||typeof n<"u")return n;const o=y.parseAccount(s),x=t?t.id:await h.getAction(r,J.getChainId,"getChainId")({});return await u.consume({address:o.address,chainId:x,client:r})})();$.assertRequest(a);const f=(g=(P=t==null?void 0:t.formatters)==null?void 0:P.transactionRequest)==null?void 0:g.format,l=(f||V.formatTransactionRequest)({...N.extract(_,{format:f}),account:s?y.parseAccount(s):void 0,accessList:w,authorizationList:B,blobs:I,blobVersionedHashes:T,data:M,gas:k,gasPrice:A,maxFeePerBlobGas:p,maxFeePerGas:R,maxPriorityFeePerGas:S,nonce:H,to:v,type:C,value:E},"fillTransaction");try{const o=await r.request({method:"eth_fillTransaction",params:[l]}),e=(((d=(m=t==null?void 0:t.formatters)==null?void 0:m.transaction)==null?void 0:d.format)||O.formatTransaction)(o.tx);delete e.blockHash,delete e.blockNumber,delete e.r,delete e.s,delete e.transactionIndex,delete e.v,delete e.yParity,e.data=e.input,e.gas&&(e.gas=a.gas??e.gas),e.gasPrice&&(e.gasPrice=a.gasPrice??e.gasPrice),e.maxFeePerBlobGas&&(e.maxFeePerBlobGas=a.maxFeePerBlobGas??e.maxFeePerBlobGas),e.maxFeePerGas&&(e.maxFeePerGas=a.maxFeePerGas??e.maxFeePerGas),e.maxPriorityFeePerGas&&(e.maxPriorityFeePerGas=a.maxPriorityFeePerGas??e.maxPriorityFeePerGas),e.nonce&&(e.nonce=a.nonce??e.nonce);const c=await(async()=>{var i,q;if(typeof((i=t==null?void 0:t.fees)==null?void 0:i.baseFeeMultiplier)=="function"){const L=await h.getAction(r,D.getBlock,"getBlock")({});return t.fees.baseFeeMultiplier({block:L,client:r,request:a})}return((q=t==null?void 0:t.fees)==null?void 0:q.baseFeeMultiplier)??1.2})();if(c<1)throw new j.BaseFeeScalarError;const G=10**(((F=c.toString().split(".")[1])==null?void 0:F.length)??0),b=i=>i*BigInt(Math.ceil(c*G))/BigInt(G);return e.maxFeePerGas&&!a.maxFeePerGas&&(e.maxFeePerGas=b(e.maxFeePerGas)),e.gasPrice&&!a.gasPrice&&(e.gasPrice=b(e.gasPrice)),{raw:o.raw,transaction:{from:l.from,...e}}}catch(o){throw z.getTransactionError(o,{...a,chain:r.chain})}}exports.fillTransaction=K;
|
package/dist/index128.js
CHANGED
|
@@ -3,8 +3,8 @@ import { BaseFeeScalarError as z } from "./index192.js";
|
|
|
3
3
|
import { getTransactionError as N } from "./index307.js";
|
|
4
4
|
import { extract as V } from "./index271.js";
|
|
5
5
|
import { formatTransaction as j } from "./index73.js";
|
|
6
|
-
import { formatTransactionRequest as D } from "./
|
|
7
|
-
import { getAction as w } from "./
|
|
6
|
+
import { formatTransactionRequest as D } from "./index105.js";
|
|
7
|
+
import { getAction as w } from "./index96.js";
|
|
8
8
|
import { assertRequest as J } from "./index249.js";
|
|
9
9
|
import { getBlock as K } from "./index131.js";
|
|
10
10
|
import { getChainId as O } from "./index134.js";
|
package/dist/index135.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const v=require("./index183.cjs"),b=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const v=require("./index183.cjs"),b=require("./index96.cjs"),f=require("./index141.cjs");async function m(o,s){const{abi:e,address:r,args:c,blockHash:i,eventName:t,fromBlock:g,toBlock:a,strict:u}=s,n=t?v.getAbiItem({abi:e,name:t}):void 0,d=n?void 0:e.filter(l=>l.type==="event");return b.getAction(o,f.getLogs,"getLogs")({address:r,args:c,blockHash:i,event:n,events:d,fromBlock:g,toBlock:a,strict:u})}exports.getContractEvents=m;
|
package/dist/index135.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { getAbiItem as p } from "./index183.js";
|
|
2
|
-
import { getAction as v } from "./
|
|
2
|
+
import { getAction as v } from "./index96.js";
|
|
3
3
|
import { getLogs as l } from "./index141.js";
|
|
4
4
|
async function y(n, r) {
|
|
5
5
|
const { abi: t, address: s, args: c, blockHash: i, eventName: e, fromBlock: m, toBlock: a, strict: f } = r, o = e ? p({ abi: t, name: e }) : void 0, g = o ? void 0 : t.filter((d) => d.type === "event");
|
package/dist/index136.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("./index308.cjs"),d=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("./index308.cjs"),d=require("./index96.cjs"),f=require("./index100.cjs");async function g(a,i){const{address:n,factory:r,factoryData:o}=i;try{const[e,t,c,s,u,m,y]=await d.getAction(a,f.readContract,"readContract")({abi:l,address:n,functionName:"eip712Domain",factory:r,factoryData:o});return{domain:{name:t,version:c,chainId:Number(s),verifyingContract:u,salt:m},extensions:y,fields:e}}catch(e){const t=e;throw t.name==="ContractFunctionExecutionError"&&t.cause.name==="ContractFunctionZeroDataError"?new p.Eip712DomainNotFoundError({address:n}):t}}const l=[{inputs:[],name:"eip712Domain",outputs:[{name:"fields",type:"bytes1"},{name:"name",type:"string"},{name:"version",type:"string"},{name:"chainId",type:"uint256"},{name:"verifyingContract",type:"address"},{name:"salt",type:"bytes32"},{name:"extensions",type:"uint256[]"}],stateMutability:"view",type:"function"}];exports.getEip712Domain=g;
|
package/dist/index136.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Eip712DomainNotFoundError as u } from "./index308.js";
|
|
2
|
-
import { getAction as d } from "./
|
|
3
|
-
import { readContract as f } from "./
|
|
2
|
+
import { getAction as d } from "./index96.js";
|
|
3
|
+
import { readContract as f } from "./index100.js";
|
|
4
4
|
async function E(a, o) {
|
|
5
5
|
const { address: e, factory: r, factoryData: i } = o;
|
|
6
6
|
try {
|
package/dist/index138.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index217.cjs"),a=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index217.cjs"),a=require("./index104.cjs");async function i(g,{filter:t}){const n="strict"in t&&t.strict,e=await t.request({method:"eth_getFilterChanges",params:[t.id]});if(typeof e[0]=="string")return e;const s=e.map(o=>a.formatLog(o));return!("abi"in t)||!t.abi?s:r.parseEventLogs({abi:t.abi,logs:s,strict:n})}exports.getFilterChanges=i;
|
package/dist/index138.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { parseEventLogs as a } from "./index217.js";
|
|
2
|
-
import { formatLog as i } from "./
|
|
2
|
+
import { formatLog as i } from "./index104.js";
|
|
3
3
|
async function m(e, { filter: t }) {
|
|
4
4
|
const n = "strict" in t && t.strict, o = await t.request({
|
|
5
5
|
method: "eth_getFilterChanges",
|
package/dist/index139.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index217.cjs"),a=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index217.cjs"),a=require("./index104.cjs");async function g(n,{filter:t}){const o=t.strict??!1,e=(await t.request({method:"eth_getFilterLogs",params:[t.id]})).map(s=>a.formatLog(s));return t.abi?r.parseEventLogs({abi:t.abi,logs:e,strict:o}):e}exports.getFilterLogs=g;
|
package/dist/index139.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { parseEventLogs as a } from "./index217.js";
|
|
2
|
-
import { formatLog as e } from "./
|
|
2
|
+
import { formatLog as e } from "./index104.js";
|
|
3
3
|
async function c(g, { filter: t }) {
|
|
4
4
|
const s = t.strict ?? !1, o = (await t.request({
|
|
5
5
|
method: "eth_getFilterLogs",
|
package/dist/index141.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./index213.cjs"),q=require("./index217.cjs"),m=require("./index81.cjs"),y=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./index213.cjs"),q=require("./index217.cjs"),m=require("./index81.cjs"),y=require("./index104.cjs");async function T(i,{address:a,blockHash:g,fromBlock:o,toBlock:s,event:n,events:c,args:u,strict:L}={}){const b=L??!1,t=c??(n?[n]:void 0);let e=[];t&&(e=[t.flatMap(p=>l.encodeEventTopics({abi:[p],eventName:p.name,args:c?void 0:u}))],n&&(e=e[0]));let r;g?r=await i.request({method:"eth_getLogs",params:[{address:a,topics:e,blockHash:g}]}):r=await i.request({method:"eth_getLogs",params:[{address:a,topics:e,fromBlock:typeof o=="bigint"?m.numberToHex(o):o,toBlock:typeof s=="bigint"?m.numberToHex(s):s}]});const d=r.map(f=>y.formatLog(f));return t?q.parseEventLogs({abi:t,args:u,logs:d,strict:b}):d}exports.getLogs=T;
|
package/dist/index141.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { encodeEventTopics as h } from "./index213.js";
|
|
2
2
|
import { parseEventLogs as l } from "./index217.js";
|
|
3
3
|
import { numberToHex as u } from "./index81.js";
|
|
4
|
-
import { formatLog as y } from "./
|
|
4
|
+
import { formatLog as y } from "./index104.js";
|
|
5
5
|
async function T(n, { address: a, blockHash: m, fromBlock: o, toBlock: i, event: r, events: f, args: g, strict: L } = {}) {
|
|
6
6
|
const b = L ?? !1, e = f ?? (r ? [r] : void 0);
|
|
7
7
|
let t = [];
|
package/dist/index145.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index96.cjs"),i=require("./index132.cjs"),g=require("./index144.cjs");async function b(r,{hash:n,transactionReceipt:e}){const[c,o]=await Promise.all([u.getAction(r,i.getBlockNumber,"getBlockNumber")({}),n?u.getAction(r,g.getTransaction,"getTransaction")({hash:n}):void 0]),t=(e==null?void 0:e.blockNumber)||(o==null?void 0:o.blockNumber);return t?c-t+1n:0n}exports.getTransactionConfirmations=b;
|
package/dist/index145.js
CHANGED
package/dist/index148.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("./index46.cjs"),O=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("./index46.cjs"),O=require("./index88.cjs"),x=require("./index175.cjs"),B=require("./index177.cjs"),T=require("./index89.cjs"),$=require("./index209.cjs"),L=require("./index91.cjs"),M=require("./index84.cjs"),S=require("./index234.cjs"),Z=require("./index96.cjs"),G=require("./index100.cjs");async function H(i,o){var y;const{account:m,authorizationList:j,allowFailure:d=!0,blockNumber:w,blockOverrides:R,blockTag:v,stateOverride:z}=o,h=o.contracts,{batchSize:C=o.batchSize??1024,deployless:N=o.deployless??!1}=typeof((y=i.batch)==null?void 0:y.multicall)=="object"?i.batch.multicall:{},q=(()=>{if(o.multicallAddress)return o.multicallAddress;if(N)return null;if(i.chain)return M.getChainContractAddress({blockNumber:w,chain:i.chain,contract:"multicall3"});throw new Error("client chain not configured. multicallAddress is required.")})(),r=[[]];let c=0,f=0;for(let t=0;t<h.length;t++){const{abi:a,address:s,args:e,functionName:u}=h[t];try{const n=L.encodeFunctionData({abi:a,args:e,functionName:u});f+=(n.length-2)/2,C>0&&f>C&&r[c].length>0&&(c++,f=(n.length-2)/2,r[c]=[]),r[c]=[...r[c],{allowFailure:!0,callData:n,target:s}]}catch(n){const b=S.getContractError(n,{abi:a,address:s,args:e,docsPath:"/docs/contract/multicall",functionName:u,sender:m});if(!d)throw b;r[c]=[...r[c],{allowFailure:!0,callData:"0x",target:s}]}}const A=await Promise.allSettled(r.map(t=>Z.getAction(i,G.readContract,"readContract")({...q===null?{code:O.multicall3Bytecode}:{address:q},abi:p.multicall3Abi,account:m,args:[t],authorizationList:j,blockNumber:w,blockOverrides:R,blockTag:v,functionName:"aggregate3",stateOverride:z}))),l=[];for(let t=0;t<A.length;t++){const a=A[t];if(a.status==="rejected"){if(!d)throw a.reason;for(let e=0;e<r[t].length;e++)l.push({status:"failure",error:a.reason,result:void 0});continue}const s=a.value;for(let e=0;e<s.length;e++){const{returnData:u,success:n}=s[e],{callData:b}=r[t][e],{abi:D,address:P,functionName:E,args:F}=h[l.length];try{if(b==="0x")throw new x.AbiDecodingZeroDataError;if(!n)throw new T.RawContractError({data:u});const g=$.decodeFunctionResult({abi:D,args:F,data:u,functionName:E});l.push(d?{result:g,status:"success"}:g)}catch(g){const k=S.getContractError(g,{abi:D,address:P,args:F,docsPath:"/docs/contract/multicall",functionName:E});if(!d)throw k;l.push({error:k,result:void 0,status:"failure"})}}}if(l.length!==h.length)throw new B.BaseError("multicall results mismatch");return l}exports.multicall=H;
|
package/dist/index148.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { multicall3Abi as P } from "./index46.js";
|
|
2
|
-
import { multicall3Bytecode as B } from "./
|
|
2
|
+
import { multicall3Bytecode as B } from "./index88.js";
|
|
3
3
|
import { AbiDecodingZeroDataError as O } from "./index175.js";
|
|
4
4
|
import { BaseError as q } from "./index177.js";
|
|
5
|
-
import { RawContractError as L } from "./
|
|
5
|
+
import { RawContractError as L } from "./index89.js";
|
|
6
6
|
import { decodeFunctionResult as T } from "./index209.js";
|
|
7
|
-
import { encodeFunctionData as Z } from "./
|
|
7
|
+
import { encodeFunctionData as Z } from "./index91.js";
|
|
8
8
|
import { getChainContractAddress as G } from "./index84.js";
|
|
9
9
|
import { getContractError as j } from "./index234.js";
|
|
10
|
-
import { getAction as H } from "./
|
|
11
|
-
import { readContract as I } from "./
|
|
10
|
+
import { getAction as H } from "./index96.js";
|
|
11
|
+
import { readContract as I } from "./index100.js";
|
|
12
12
|
async function tt(i, c) {
|
|
13
13
|
var y;
|
|
14
14
|
const { account: w, authorizationList: z, allowFailure: d = !0, blockNumber: b, blockOverrides: N, blockTag: R, stateOverride: S } = c, h = c.contracts, { batchSize: p = c.batchSize ?? 1024, deployless: v = c.deployless ?? !1 } = typeof ((y = i.batch) == null ? void 0 : y.multicall) == "object" ? i.batch.multicall : {}, C = (() => {
|
package/dist/index149.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const y=require("./index273.cjs"),B=require("./index111.cjs"),D=require("./index175.cjs"),F=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const y=require("./index273.cjs"),B=require("./index111.cjs"),D=require("./index175.cjs"),F=require("./index89.cjs"),C=require("./index194.cjs"),H=require("./index209.cjs"),A=require("./index91.cjs"),U=require("./index80.cjs"),_=require("./index81.cjs"),j=require("./index234.cjs"),z=require("./index270.cjs"),I=require("./index72.cjs"),L=require("./index104.cjs"),M=require("./index105.cjs"),P=require("./index275.cjs"),V=require("./index249.cjs");async function Z(m,v){const{blockNumber:q,blockTag:O=m.experimental_blockTag??"latest",blocks:g,returnFullTransactions:w,traceTransfers:N,validation:R}=v;try{const a=[];for(const t of g){const f=t.blockOverrides?y.toRpc(t.blockOverrides):void 0,r=t.calls.map(c=>{const e=c,o=e.account?B.parseAccount(e.account):void 0,i=e.abi?A.encodeFunctionData(e):e.data,s={...e,account:o,data:e.dataSuffix?U.concat([i||"0x",e.dataSuffix]):i,from:e.from??(o==null?void 0:o.address)};return V.assertRequest(s),M.formatTransactionRequest(s)}),b=t.stateOverrides?P.serializeStateOverride(t.stateOverrides):void 0;a.push({blockOverrides:f,calls:r,stateOverrides:b})}const u=(typeof q=="bigint"?_.numberToHex(q):void 0)||O;return(await m.request({method:"eth_simulateV1",params:[{blockStateCalls:a,returnFullTransactions:w,traceTransfers:N,validation:R},u]})).map((t,f)=>({...I.formatBlock(t),calls:t.calls.map((r,b)=>{var k,p;const{abi:c,args:e,functionName:o,to:i}=g[f].calls[b],s=((k=r.error)==null?void 0:k.data)??r.returnData,E=BigInt(r.gasUsed),T=(p=r.logs)==null?void 0:p.map(n=>L.formatLog(n)),d=r.status==="0x1"?"success":"failure",h=c&&d==="success"&&s!=="0x"?H.decodeFunctionResult({abi:c,data:s,functionName:o}):null,S=(()=>{var x;if(d==="success")return;let n;if(((x=r.error)==null?void 0:x.data)==="0x"?n=new D.AbiDecodingZeroDataError:r.error&&(n=new F.RawContractError(r.error)),!!n)return j.getContractError(n,{abi:c??[],address:i??"0x",args:e,functionName:o??"<unknown>"})})();return{data:s,gasUsed:E,logs:T,status:d,...d==="success"?{result:h}:{error:S}}})}))}catch(a){const l=a,u=z.getNodeError(l,{});throw u instanceof C.UnknownNodeError?l:u}}exports.simulateBlocks=Z;
|
package/dist/index149.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { toRpc as S } from "./index273.js";
|
|
2
2
|
import { parseAccount as y } from "./index111.js";
|
|
3
3
|
import { AbiDecodingZeroDataError as B } from "./index175.js";
|
|
4
|
-
import { RawContractError as C } from "./
|
|
4
|
+
import { RawContractError as C } from "./index89.js";
|
|
5
5
|
import { UnknownNodeError as F } from "./index194.js";
|
|
6
6
|
import { decodeFunctionResult as H } from "./index209.js";
|
|
7
|
-
import { encodeFunctionData as U } from "./
|
|
7
|
+
import { encodeFunctionData as U } from "./index91.js";
|
|
8
8
|
import { concat as A } from "./index80.js";
|
|
9
9
|
import { numberToHex as _ } from "./index81.js";
|
|
10
10
|
import { getContractError as z } from "./index234.js";
|
|
11
11
|
import { getNodeError as I } from "./index270.js";
|
|
12
12
|
import { formatBlock as L } from "./index72.js";
|
|
13
|
-
import { formatLog as V } from "./
|
|
14
|
-
import { formatTransactionRequest as Z } from "./
|
|
13
|
+
import { formatLog as V } from "./index104.js";
|
|
14
|
+
import { formatTransactionRequest as Z } from "./index105.js";
|
|
15
15
|
import { serializeStateOverride as j } from "./index275.js";
|
|
16
16
|
import { assertRequest as G } from "./index249.js";
|
|
17
17
|
async function ir(p, w) {
|