PageSourceSearch

https://myproceeds.xyz/_next/static/immutable/chunks/23m3prr-1ib42.js

js myproceeds.xyz collected 2026-10-04 05:51:30 UTC 53,250 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,82387,796747,275146,618874,234984,263396,e=>{"use strict";var t=e.i(975948),a=e.i(189991),n=e.i(611573),r=e.i(467125),i=e.i(826051),s=e.i(569934),o=e.i(878023),u=e.i(959953),p=s;class c extends p.BaseError{constructor({cause:e}){super("Smart Account is not deployed.",{cause:e,metaMessages:["This could arise when:","- No `factory`/`factoryData` or `initCode` properties are provided for Smart Account deployment.","- An incorrect `sender` address is provided."],name:"AccountNotDeployedError"})}}Object.defineProperty(c,"message",{enumerable:!0,configurable:!0,writable:!0,value:/aa20/});class m extends p.BaseError{constructor({cause:e,data:t,message:a}={}){const n=a?.replace("execution reverted: ","")?.replace("execution reverted","");super(`Execution reverted ${n?`with reason: ${n}`:"for an unknown reason"}.`,{cause:e,name:"ExecutionRevertedError"}),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.data=t}}Object.defineProperty(m,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32521}),Object.defineProperty(m,"message",{enumerable:!0,configurable:!0,writable:!0,value:/execution reverted/});class d extends p.BaseError{constructor({cause:e}){super("Failed to send funds to beneficiary.",{cause:e,name:"FailedToSendToBeneficiaryError"})}}Object.defineProperty(d,"message",{enumerable:!0,configurable:!0,writable:!0,value:/aa91/});class y extends p.BaseError{constructor({cause:e}){super("Gas value overflowed.",{cause:e,metaMessages:["This could arise when:","- one of the gas values exceeded 2**120 (uint120)"].filter(
vendor: 4,113 bytes, line 1
1Boolean),name:"GasValuesOverflowError"})}}Object.defineProperty(y,"message",{enumerable:!0,configurable:!0,writable:!0,value:/aa94/});class l extends p.BaseError{constructor({cause:e}){super("The `handleOps` function was called by the Bundler with a gas limit too low.",{cause:e,name:"HandleOpsOutOfGasError"})}}Object.defineProperty(l,"message",{enumerable:!0,configurable:!0,writable:!0,value:/aa95/});class f extends p.BaseError{constructor({cause:e,factory:t,factoryData:a,initCode:n}){super("Failed to simulate deployment for Smart Account.",{cause:e,metaMessages:["This could arise when:","- Invalid `factory`/`factoryData` or `initCode` properties are present","- Smart Account deployment execution ran out of gas (low `verificationGasLimit` value)","- Smart Account deployment execution reverted with an error\n",t&&`factory: ${t}`,a&&`factoryData: ${a}`,n&&`initCode: ${n}`].filter(Boolean),name:"InitCodeFailedError"})}}Object.defineProperty(f,"message",{enumerable:!0,configurable:!0,writable:!0,value:/aa13/});class g extends p.BaseError{constructor({cause:e,factory:t,factoryData:a,initCode:n}){super("Smart Account initialization implementation did not create an account.",{cause:e,metaMessages:["This could arise when:","- `factory`/`factoryData` or `initCode` properties are invalid","- Smart Account initialization implementation is incorrect\n",t&&`factory: ${t}`,a&&`factoryData: ${a}`,n&&`initCode: ${n}`].filter(Boolean),name:"InitCodeMustCreateSenderError"})}}Object.defineProperty(g,"message",{enumerable:!0,configurable:!0,writable:!0,value:/aa15/});class b extends p.BaseError{constructor({cause:e,factory:t,factoryData:a,initCode:n,sender:r}){super("Smart Account initialization implementation does not return the expected sender.",{cause:e,metaMessages:["This could arise when:","Smart Account initialization implementation does not return a sender address\n",t&&`factory: ${t}`,a&&`factoryData: ${a}`,n&&`initCode: ${n}`,r&&`sender: ${r}`].filter(Boolean),name:"InitCodeMustReturnSenderError"})}}Object.defineProperty(b,"message",{enumerable:!0,configurable:!0,writable:!0,value:/aa14/});class v extends p.BaseError{constructor({cause:e}){super("Smart Account does not have sufficient funds to execute the User Operation.",{cause:e,metaMessages:["This could arise when:","- the Smart Account does not have sufficient funds to cover the required prefund, or","- a Paymaster was not provided"].filter(Boolean),name:"InsufficientPrefundError"})}}Object.defineProperty(v,"message",{enumerable:!0,configurable:!0,writable:!0,value:/aa21/});class x extends p.BaseError{constructor({cause:e}){super("Bundler attempted to call an invalid function on the EntryPoint.",{cause:e,name:"InternalCallOnlyError"})}}Object.defineProperty(x,"message",{enumerable:!0,configurable:!0,writable:!0,value:/aa92/});class w extends p.BaseError{constructor({cause:e}){super("Bundler used an invalid aggregator for handling aggregated User Operations.",{cause:e,name:"InvalidAggregatorError"})}}Object.defineProperty(w,"message",{enumerable:!0,configurable:!0,writable:!0,value:/aa96/});class h extends p.BaseError{constructor({cause:e,nonce:t}){super("Invalid Smart Account nonce used for User Operation.",{cause:e,metaMessages:[t&&`nonce: ${t}`].filter(Boolean),name:"InvalidAccountNonceError"})}}Object.defineProperty(h,"message",{enumerable:!0,configurable:!0,writable:!0,value:/aa25/});class P extends p.BaseError{constructor({cause:e}){super("Bundler has not set a beneficiary address.",{cause:e,name:"InvalidBeneficiaryError"})}}Object.defineProperty(P,"message",{enumerable:!0,configurable:!0,writable:!0,value:/aa90/});class G extends p.BaseError{constructor({cause:e}){super("Invalid fields set on User Operation.",{cause:e,name:"InvalidFieldsError"})}}Object.defineProperty(G,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32602});class O extends p.BaseError{constructor({cause:e,paymasterAndData:t}){super("Paymaster properties provided are invalid.",{cause:e,metaMessages:["This could arise when:","- the `paymasterAndData` property is of an incorrect length\n",t&&`paymasterAndData: ${t}
1`].filter(Boolean),name:"InvalidPaymasterAndDataError"})}}Object.defineProperty(O,"message",{enumerable:!0,configurable:!0,writable:!0,value:/aa93/});class A extends p.BaseError{constructor({cause:e}){super("Paymaster deposit for the User Operation is too low.",{cause:e,metaMessages:["This could arise when:","- the Paymaster has deposited less than the expected amount via the `deposit` function"].filter(Boolean),name:"PaymasterDepositTooLowError"})}}Object.defineProperty(A,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32508}),Object.defineProperty(A,"message",{enumerable:!0,configurable:!0,writable:!0,value:/aa31/});class D extends p.BaseError{constructor({cause:e}){super("The `validatePaymasterUserOp` function on the Paymaster reverted.",{cause:e,name:"PaymasterFunctionRevertedError"})}}Object.defineProperty(D,"message",{enumerable:!0,configurable:!0,writable:!0,value:/aa33/});class E extends p.BaseError{constructor({cause:e}){super("The Paymaster contract has not been deployed.",{cause:e,name:"PaymasterNotDeployedError"})}}Object.defineProperty(E,"message",{enumerable:!0,configurable:!0,writable:!0,value:/aa30/});class L extends p.BaseError{constructor({cause:e}){super("UserOperation rejected because paymaster (or signature aggregator) is throttled/banned.",{cause:e,name:"PaymasterRateLimitError"})}}Object.defineProperty(L,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32504});class B extends p.BaseError{constructor({cause:e}){super("UserOperation rejected because paymaster (or signature aggregator) stake or unstake-delay is too low.",{cause:e,name:"PaymasterStakeTooLowError"})}}Object.defineProperty(B,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32505});class S extends p.BaseError{constructor({cause:e}){super("Paymaster `postOp` function reverted.",{cause:e,name:"PaymasterPostOpFunctionRevertedError"})}}Object.defineProperty(S,"message",{enumerable:!0,configurable:!0,writable:!0,value:/aa50/});class U extends p.BaseError{constructor({cause:e,factory:t,factoryData:a,initCode:n}){super("Smart Account has already been deployed.",{cause:e,metaMessages:["Remove the following properties and try again:",t&&"`factory`",a&&"`factoryData`",n&&"`initCode`"].filter(Boolean),name:"SenderAlreadyConstructedError"})}}Object.defineProperty(U,"message",{enumerable:!0,configurable:!0,writable:!0,value:/aa10/});class F extends p.BaseError{constructor({cause:e}){super("UserOperation rejected because account signature check failed (or paymaster signature, if the paymaster uses its data as signature).",{cause:e,name:"SignatureCheckFailedError"})}}Object.defineProperty(F,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32507});class k extends p.BaseError{constructor({cause:e}){super("The `validateUserOp` function on the Smart Account reverted.",{cause:e,name:"SmartAccountFunctionRevertedError"})}}Object.defineProperty(k,"message",{enumerable:!0,configurable:!0,writable:!0,value:/aa23/});class C extends p.BaseError{constructor({cause:e}){super("UserOperation rejected because account specified unsupported signature aggregator.",{cause:e,name:"UnsupportedSignatureAggregatorError"})}}Object.defineProperty(C,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32506});class T extends p.BaseError{constructor({cause:e}){super("User Operation expired.",{cause:e,metaMessages:["This could arise when:","- the `validAfter` or `validUntil` values returned from `validateUserOp` on the Smart Account are not satisfied"].filter(Boolean),name:"UserOperationExpiredError"})}}Object.defineProperty(T,"message",{enumerable:!0,configurable:!0,writable:!0,value:/aa22/});class I extends p.BaseError{constructor({cause:e}){super("Paymaster for User Operation expired.",{cause:e,metaMessages:["This could arise when:","- the `validAfter` or `validUntil` values returned from `validatePaymasterUserOp` on the Paymaster are not satisfied"].filter(Boolean),name:"UserOperationPaymasterExpiredError"})}}Object.defineProperty(I,"message",{enumerable:!0,configurable:!0,writable:!0,value:/aa32/});class M extends p.BaseError{constructor({cause:e}
vendor: 7,232 bytes, line 1
1){super("Signature provided for the User Operation is invalid.",{cause:e,metaMessages:["This could arise when:","- the `signature` for the User Operation is incorrectly computed, and unable to be verified by the Smart Account"].filter(Boolean),name:"UserOperationSignatureError"})}}Object.defineProperty(M,"message",{enumerable:!0,configurable:!0,writable:!0,value:/aa24/});class V extends p.BaseError{constructor({cause:e}){super("Signature provided for the User Operation is invalid.",{cause:e,metaMessages:["This could arise when:","- the `signature` for the User Operation is incorrectly computed, and unable to be verified by the Paymaster"].filter(Boolean),name:"UserOperationPaymasterSignatureError"})}}Object.defineProperty(V,"message",{enumerable:!0,configurable:!0,writable:!0,value:/aa34/});class j extends p.BaseError{constructor({cause:e}){super("User Operation rejected by EntryPoint's `simulateValidation` during account creation or validation.",{cause:e,name:"UserOperationRejectedByEntryPointError"})}}Object.defineProperty(j,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32500});class R extends p.BaseError{constructor({cause:e}){super("User Operation rejected by Paymaster's `validatePaymasterUserOp`.",{cause:e,name:"UserOperationRejectedByPaymasterError"})}}Object.defineProperty(R,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32501});class H extends p.BaseError{constructor({cause:e}){super("User Operation rejected with op code validation error.",{cause:e,name:"UserOperationRejectedByOpCodeError"})}}Object.defineProperty(H,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32502});class z extends p.BaseError{constructor({cause:e}){super("UserOperation out of time-range: either wallet or paymaster returned a time-range, and it is already expired (or will expire soon).",{cause:e,name:"UserOperationOutOfTimeRangeError"})}}Object.defineProperty(z,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32503});class N extends p.BaseError{constructor({cause:e}){super(`An error occurred while executing user operation: ${e?.shortMessage}`,{cause:e,name:"UnknownBundlerError"})}}class $ extends p.BaseError{constructor({cause:e}){super("User Operation verification gas limit exceeded.",{cause:e,metaMessages:["This could arise when:","- the gas used for verification exceeded the `verificationGasLimit`"].filter(Boolean),name:"VerificationGasLimitExceededError"})}}Object.defineProperty($,"message",{enumerable:!0,configurable:!0,writable:!0,value:/aa40/});class q extends p.BaseError{constructor({cause:e}){super("User Operation verification gas limit is too low.",{cause:e,metaMessages:["This could arise when:","- the `verificationGasLimit` is too low to verify the User Operation"].filter(Boolean),name:"VerificationGasLimitTooLowError"})}}Object.defineProperty(q,"message",{enumerable:!0,configurable:!0,writable:!0,value:/aa41/});var _=s,W=e.i(393702),K=e.i(976486);class Z extends _.BaseError{constructor(e,{callData:t,callGasLimit:a,docsPath:n,factory:r,factoryData:i,initCode:s,maxFeePerGas:o,maxPriorityFeePerGas:u,nonce:p,paymaster:c,paymasterAndData:m,paymasterData:d,paymasterPostOpGasLimit:y,paymasterVerificationGasLimit:l,preVerificationGas:f,sender:g,signature:b,verificationGasLimit:v}){const x=(0,W.prettyPrint)({callData:t,callGasLimit:a,factory:r,factoryData:i,initCode:s,maxFeePerGas:void 0!==o&&`${(0,K.formatGwei)(o)} gwei`,maxPriorityFeePerGas:void 0!==u&&`${(0,K.formatGwei)(u)} gwei`,nonce:p,paymaster:c,paymasterAndData:m,paymasterData:d,paymasterPostOpGasLimit:y,paymasterVerificationGasLimit:l,preVerificationGas:f,sender:g,signature:b,verificationGasLimit:v});super(e.shortMessage,{cause:e,docsPath:n,metaMessages:[...e.metaMessages?[...e.metaMessages," "]:[],"Request Arguments:",x].filter(Boolean),name:"UserOperationExecutionError"}),Object.defineProperty(this,"cause",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.cause=e}}class J extends _.BaseError{constructor({hash:e}){super(`User Operation receipt with hash "${e}" could not be found. The User Operation may not have been processed yet.`,{name:"UserOperationReceiptNotFoundError"})}}class Q extends _.BaseError{constructor({hash:e}){super(`User Operation with hash "${e}" could not be found.`,{name:"UserOperationNotFoundError"})}}class X extends _.BaseError{constructor({hash:e}){super(`Timed out while waiting for User Operation with hash "${e}" to be confirmed.`,{name:"WaitForUserOperationReceiptTimeoutError"})}}let Y=[m,G,A,L,B,F,C,z,j,R,H];function ee(e,{calls:t,docsPath:a,...n}){return new Z((()=>{let a=function(e,t){let a=(e.details||"").toLowerCase();if(c.message.test(a))return new c({cause:e});if(d.message.test(a))return new d({cause:e});if(y.message.test(a))return new y({cause:e});if(l.message.test(a))return new l({cause:e});if(f.message.test(a))return new f({cause:e,factory:t.factory,factoryData:t.factoryData,initCode:t.initCode});if(g.message.test(a))return new g({cause:e,factory:t.factory,factoryData:t.factoryData,initCode:t.initCode});if(b.message.test(a))return new b({cause:e,factory:t.factory,factoryData:t.factoryData,initCode:t.initCode,sender:t.sender});if(v.message.test(a))return new v({cause:e});if(x.message.test(a))return new x({cause:e});if(h.message.test(a))return new h({cause:e,nonce:t.nonce});if(w.message.test(a))return new w({cause:e});if(P.message.test(a))return new P({cause:e});if(O.message.test(a))return new O({cause:e});if(A.message.test(a))return new A({cause:e});if(D.message.test(a))return new D({cause:e});if(E.message.test(a))return new E({cause:e});if(S.message.test(a))return new S({cause:e});if(k.message.test(a))return new k({cause:e});if(U.message.test(a))return new U({cause:e,factory:t.factory,factoryData:t.factoryData,initCode:t.initCode});if(T.message.test(a))return new T({cause:e});if(I.message.test(a))return new I({cause:e});if(V.message.test(a))return new V({cause:e});if(M.message.test(a))return new M({cause:e});if($.message.test(a))return new $({cause:e});if(q.message.test(a))return new q({cause:e});let n=e.walk(e=>Y.some(t=>t.code===e.code));if(n){if(n.code===m.code)return new m({cause:e,data:n.data,message:n.details});if(n.code===G.code)return new G({cause:e});if(n.code===A.code)return new A({cause:e});if(n.code===L.code)return new L({cause:e});if(n.code===B.code)return new B({cause:e});if(n.code===F.code)return new F({cause:e});if(n.code===C.code)return new C({cause:e});if(n.code===z.code)return new z({cause:e});if(n.code===j.code)return new j({cause:e});if(n.code===R.code)return new R({cause:e});if(n.code===H.code)return new H({cause:e})}return new N({cause:e})}(e,n);if(t&&a instanceof m){let e,n=(a.walk(t=>{if("string"==typeof t.data||"string"==typeof t.data?.revertData||!(t instanceof s.BaseError)&&"string"==typeof t.message){let a=(t.data?.revertData||t.data||t.message).match?.(/(0x[A-Za-z0-9]*)/);if(a)return e=a[1],!0}return!1}),e),r=t?.filter(e=>e.abi);if(n&&r.length>0)return function(e){let{calls:t,revertData:a}=e,{abi:n,functionName:r,args:i,to:s}=(()=>{let e=t?.filter(e=>!!e.abi);if(1===e.length)return e[0];let n=e.filter(e=>{try{return!!(0,u.decodeErrorResult)({abi:e.abi,data:a})}catch{return!1}});return 1===n.length?n[0]:{abi:[],functionName:e.reduce((e,t)=>
1`${e?`${e} | `:""}${t.functionName}`,""),args:void 0,to:void 0}})(),p="0x"===a?new o.ContractFunctionZeroDataError({functionName:r}):new o.ContractFunctionRevertedError({abi:n,data:a,functionName:r});return new o.ContractFunctionExecutionError(p,{abi:n,args:i,contractAddress:s,functionName:r})}({calls:r,revertData:n})}return a})(),{docsPath:a,...n})}var et=e.i(675107),ea=e.i(22411);function en(e){var t;let a={};return void 0!==e.callData&&(a.callData=e.callData),void 0!==e.callGasLimit&&(a.callGasLimit=(0,et.numberToHex)(e.callGasLimit)),void 0!==e.factory&&(a.factory=e.factory),void 0!==e.factoryData&&(a.factoryData=e.factoryData),void 0!==e.initCode&&(a.initCode=e.initCode),void 0!==e.maxFeePerGas&&(a.maxFeePerGas=(0,et.numberToHex)(e.maxFeePerGas)),void 0!==e.maxPriorityFeePerGas&&(a.maxPriorityFeePerGas=(0,et.numberToHex)(e.maxPriorityFeePerGas)),void 0!==e.nonce&&(a.nonce=(0,et.numberToHex)(e.nonce)),void 0!==e.paymaster&&(a.paymaster=e.paymaster),void 0!==e.paymasterAndData&&(a.paymasterAndData=e.paymasterAndData||"0x"),void 0!==e.paymasterData&&(a.paymasterData=e.paymasterData),void 0!==e.paymasterPostOpGasLimit&&(a.paymasterPostOpGasLimit=(0,et.numberToHex)(e.paymasterPostOpGasLimit)),void 0!==e.paymasterSignature&&(a.paymasterSignature=e.paymasterSignature),void 0!==e.paymasterVerificationGasLimit&&(a.paymasterVerificationGasLimit=(0,et.numberToHex)(e.paymasterVerificationGasLimit)),void 0!==e.preVerificationGas&&(a.preVerificationGas=(0,et.numberToHex)(e.preVerificationGas)),void 0!==e.sender&&(a.sender=e.sender),void 0!==e.signature&&(a.signature=e.signature),void 0!==e.verificationGasLimit&&(a.verificationGasLimit=(0,et.numberToHex)(e.verificationGasLimit)),void 0!==e.authorization&&(a.eip7702Auth={address:(t=e.authorization).address,chainId:(0,et.numberToHex)(t.chainId),nonce:(0,et.numberToHex)(t.nonce),r:t.r?(0,et.numberToHex)(BigInt(t.r),{size:32}):(0,ea.pad)("0x",{size:32}),s:t.s?(0,et.numberToHex)(BigInt(t.s),{size:32}):(0,ea.pad)("0x",{size:32}),yParity:t.yParity?(0,et.numberToHex)(t.yParity,{size:1}):(0,ea.pad)("0x",{size:32})}),a}var er=e.i(829897),ei=e.i(972960),es=e.i(656679),eo=e.i(147526),eu=e.i(450323);async function ep(e,t){let{chainId:a,entryPointAddress:n,context:r,...i}=t,s=en(i),{paymasterPostOpGasLimit:o,paymasterVerificationGasLimit:u,...p}=await e.request({method:"pm_getPaymasterData",params:[{...s,callGasLimit:s.callGasLimit??"0x0",verificationGasLimit:s.verificationGasLimit??"0x0",preVerificationGas:s.preVerificationGas??"0x0"},n,(0,et.numberToHex)(a),r]});return{...p,...o&&{paymasterPostOpGasLimit:(0,eu.hexToBigInt)(o)},...u&&{paymasterVerificationGasLimit:(0,eu.hexToBigInt)(u)}}}async function ec(e,t){let{chainId:a,entryPointAddress:n,context:r,...i}=t,s=en(i),{paymasterPostOpGasLimit:o,paymasterVerificationGasLimit:u,...p}=await e.request({method:"pm_getPaymasterStubData",params:[{...s,callGasLimit:s.callGasLimit??"0x0",verificationGasLimit:s.verificationGasLimit??"0x0",preVerificationGas:s.preVerificationGas??"0x0"},n,(0,et.numberToHex)(a),r]});return{...p,...o&&{paymasterPostOpGasLimit:(0,eu.hexToBigInt)(o)},...u&&{paymasterVerificationGasLimit:(0,eu.hexToBigInt)(u)}}}e.s(["getPaymasterData",0,ep],796747),e.s(["getPaymasterStubData",0,ec],275146);let em=["factory","fees","gas","paymaster","nonce","signature","authorization"];async function ed(e,i){let s,{account:o=e.account,dataSuffix:u="string"==typeof e.dataSuffix?e.dataSuffix:e.dataSuffix?.value,parameters:p=em,stateOverride:c}=i;if(!o)throw new n.AccountNotFoundError;let m=(0,a.parseAccount)(o),d=i.paymaster??e?.paymaster,y="string"==typeof d?d:void 0,{getPaymasterStubData:l,getPaymasterData:f}=(()=>{if(!0===d)return{getPaymasterStubData:t=>(0,r.getAction)(e,ec,"getPaymasterStubData")(t),getPaymasterData:t=>(0,r.getAction)(e,ep,"getPaymasterData")(t)};if("object"==typeof d){let{getPaymasterStubData:e,getPaymasterData:t}=d;return{getPaymasterStubData:t&&e?e:t,getPaymasterData:t&&e?t:void 0}}return{getPaymasterStubData:void 0,getPaymasterData:void 0}})(),g=i.paymasterContext?i.paymasterContext:e?.paymasterContext,b={...i,paymaster:y,sender:m.address},[v,x,w,h,P]=await Promise.all([(async()=>i.calls?m.encodeCalls(i.calls.map(e=>e.abi?{data:(0,es.encodeFunctionData)(e),to:e.to,value:e.value}:e)):i.callData)(),(async()=>
1{if(!p.includes("factory"))return;if(i.initCode)return{initCode:i.initCode};if(i.factory&&i.factoryData)return{factory:i.factory,factoryData:i.factoryData};let{factory:e,factoryData:t}=await m.getFactoryArgs();return"0.6"===m.entryPoint.version?{initCode:e&&t?(0,eo.concat)([e,t]):void 0}:{factory:e,factoryData:t}})(),(async()=>{if(p.includes("fees")){if("bigint"==typeof i.maxFeePerGas&&"bigint"==typeof i.maxPriorityFeePerGas)return b;if(e?.userOperation?.estimateFeesPerGas){let t=await e.userOperation.estimateFeesPerGas({account:m,bundlerClient:e,userOperation:b});return{...b,...t}}try{let t=e.client??e,a=await (0,r.getAction)(t,ei.estimateFeesPerGas,"estimateFeesPerGas")({chain:t.chain,type:"eip1559"});return{maxFeePerGas:"bigint"==typeof i.maxFeePerGas?i.maxFeePerGas:BigInt(2n*a.maxFeePerGas),maxPriorityFeePerGas:"bigint"==typeof i.maxPriorityFeePerGas?i.maxPriorityFeePerGas:BigInt(2n*a.maxPriorityFeePerGas)}}catch{return}}})(),(async()=>{if(p.includes("nonce"))return"bigint"==typeof i.nonce?i.nonce:m.getNonce()})(),(async()=>{if(p.includes("authorization")){if("object"==typeof i.authorization)return i.authorization;if(m.authorization&&!await m.isDeployed())return{...await (0,er.prepareAuthorization)(m.client,m.authorization),r:"0xfffffffffffffffffffffffffffffff000000000000000000000000000000000",s:"0x7aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",yParity:1}}})()]);async function G(){return s||(e.chain?e.chain.id:s=await (0,r.getAction)(e,t.getChainId,"getChainId")({}))}void 0!==v&&(b.callData=u?(0,eo.concat)([v,u]):v),void 0!==x&&(b={...b,...x}),void 0!==w&&(b={...b,...w}),void 0!==h&&(b.nonce=h),void 0!==P&&(b.authorization=P),p.includes("signature")&&(void 0!==i.signature?b.signature=i.signature:b.signature=await m.getStubSignature(b)),"0.6"!==m.entryPoint.version||b.initCode||(b.initCode="0x");let O=!1;if(p.includes("paymaster")&&l&&!y&&!i.paymasterAndData){let{isFinal:e=!1,sponsor:t,...a}=await l({chainId:await G(),entryPointAddress:m.entryPoint.address,context:g,...b});O=e,b={...b,...a}}if("0.6"!==m.entryPoint.version||b.paymasterAndData||(b.paymasterAndData="0x"),p.includes("gas")){if(m.userOperation?.estimateGas){let e=await m.userOperation.estimateGas(b);b={...b,...e}}if(void 0===b.callGasLimit||void 0===b.preVerificationGas||void 0===b.verificationGasLimit||b.paymaster&&void 0===b.paymasterPostOpGasLimit||b.paymaster&&void 0===b.paymasterVerificationGasLimit){let t=await (0,r.getAction)(e,ey,"estimateUserOperationGas")({account:m,callGasLimit:0n,preVerificationGas:0n,verificationGasLimit:0n,stateOverride:c,...b.paymaster?{paymasterPostOpGasLimit:0n,paymasterVerificationGasLimit:0n}:{},...b});b={...b,callGasLimit:b.callGasLimit??t.callGasLimit,preVerificationGas:b.preVerificationGas??t.preVerificationGas,verificationGasLimit:b.verificationGasLimit??t.verificationGasLimit,paymasterPostOpGasLimit:b.paymasterPostOpGasLimit??t.paymasterPostOpGasLimit,paymasterVerificationGasLimit:b.paymasterVerificationGasLimit??t.paymasterVerificationGasLimit}}}if(p.includes("paymaster")&&f&&!y&&!i.paymasterAndData&&!O){let e=await f({chainId:await G(),entryPointAddress:m.entryPoint.address,context:g,...b});b={...b,...e}}return delete b.calls,delete b.parameters,delete b.paymasterContext,"string"!=typeof b.paymaster&&delete b.paymaster,b}async function ey(e,t){let{account:s=e.account,entryPointAddress:o,stateOverride:u}=t;if(!s&&!t.sender)throw new n.AccountNotFoundError;let p=s?(0,a.parseAccount)(s):void 0,c=(0,i.serializeStateOverride)(u),m=p?await (0,r.getAction)(e,ed,"prepareUserOperation")({...t,parameters:["authorization","factory","fees","nonce","paymaster","signature"]}):t;try{var d;let t,a=[en(m),o??p?.entryPoint?.address];return d=await e.request({method:"eth_estimateUserOperationGas",params:c?[...a,c]:[...a]}),t={},d.callGasLimit&&(t.callGasLimit=BigInt(d.callGasLimit)),d.preVerificationGas&&(t.preVerificationGas=BigInt(d.preVerificationGas)),d.verificationGasLimit&&(t.verificationGasLimit=BigInt(d.verificationGasLimit)),d.paymasterPostOpGasLimit&&(t.paymasterPostOpGasLimit=BigInt(d.paymasterPostOpGasLimit)),d.paymasterVerificationGasLimit&&(t.paymasterVerificationGasLimit=BigInt(d.paymasterVerificationGasLimit)),t}catch(a){let e=t.calls;throw ee(a,{...m,...e?{calls:e}:{}})}}async function el(e,{hash:t}){let a,n=await e.request({method:"eth_getUserOperationByHash",params:[t]},{dedupe:!0});if(!n)throw new Q({hash:t});let{blockHash:r,blockNumber:i,entryPoint:s,transactionHash:o,userOperation:u}=n;return{blockHash:r,blockNumber:BigInt(i),entryPoint:s,transactionHash:o,userOperation:(a={...u},u.callGasLimit&&(a.callGasLimit=BigInt(u.callGasLimit)),u.maxFeePerGas&&(a.maxFeePerGas=BigInt(u.maxFeePerGas)),u.maxPriorityFeePerGas&&(a.maxPriorityFeePerGas=BigInt(u.maxPriorityFeePerGas)),u.nonce&&(a.nonce=BigInt(u.nonce)),u.paymasterPostOpGasLimit&&(a.paymasterPostOpGasLimit=BigInt(u.paymasterPostOpGasLimit)),u.paymasterVerificationGasLimit&&(a.paymasterVerificationGasLimit=BigInt(u.paymasterVerificationGasLimit)),u.preVerificationGas&&(a.preVerificationGas=BigInt(u.preVerificationGas)),u.verificationGasLimit&&(a.verificationGasLimit=BigInt(u.verificationGasLimit)),a)}}var ef=e.i(755148),eg=e.i(839080);async function eb(e,{hash:t}){let a,n=await e.request({method:"eth_getUserOperationReceipt",params:[t]},{dedupe:!0});if(!n)throw new J({hash:t});return a={...n},n.actualGasCost&&(a.actualGasCost=BigInt(n.actualGasCost)),n.actualGasUsed&&(a.actualGasUsed=BigInt(n.actualGasUsed)),n.logs&&(a.logs=n.logs.map(e=>(0,ef.formatLog)(e))),n.receipt&&(a.receipt=(0,eg.formatTransactionReceipt)(a.receipt)),a}async function ev(e,t){let{account:i=e.account,entryPointAddress:s}=t;if(!i&&!t.sender)throw new n.AccountNotFoundError;let o=i?(0,a.parseAccount)(i):void 0,u=o?await (0,r.getAction)(e,ed,"prepareUserOperation")(t):t,p=t.signature||await o?.signUserOperation?.(u),c=en({...u,signature:p});try{return await e.request({method:"eth_sendUserOperation",params:[c,s??o?.entryPoint?.address]},{retryCount:0})}catch(a){let e=t.calls;throw ee(a,{...u,...e?{calls:e}:{},signature:p})}}e.s(["getUserOperationReceipt",0,eb],618874),e.s(["sendUserOperation",0,ev],234984);var ex=e.i(43473),ew=e.i(976215),eh=e.i(34888);function eP(e,t){let{hash:a,pollingInterval:n=e.pollingInterval,retryCount:i,timeout:s=12e4}=t,o=0,u=(0,eh.stringify)(["waitForUserOperationReceipt",e.uid,a]);return new Promise((t,p)=>{let c=(0,ex.observe)(u,{resolve:t,reject:p},t=>{let u=e=>{m(),e(),c()},p=s?setTimeout(()=>u(()=>t.reject(new X({hash:a}))),s):void 0,m=(0,ew.poll)(async()=>{i&&o>=i&&(clearTimeout(p),u(()=>t.reject(new X({hash:a}))));try{let n=await (0,r.getAction)(e,eb,"getUserOperationReceipt")({hash:a});clearTimeout(p),u(()=>t.resolve(n))}catch(e){"UserOperationReceiptNotFoundError"!==e.name&&(clearTimeout(p),u(()=>t.reject(e)))}o++},{emitOnBegin:!0,interval:n});return m})})}e.s(["waitForUserOperationReceipt",0,eP],263396),e.s(["bundlerActions",0,function(e){return{estimateUserOperationGas:t=>ey(e,t),getChainId:()=>(0,t.getChainId)(e),getSupportedEntryPoints:()=>e.request({method:"eth_supportedEntryPoints"}),getUserOperation:t=>el(e,t),getUserOperationReceipt:t=>eb(e,t),prepareUserOperation:t=>ed(e,t),sendUserOperation:t=>ev(e,t),waitForUserOperationReceipt:t=>eP(e,t)}}],82387)},594734,713764,547160,875740,e=>{"use strict";let t=[{inputs:[{name:"preOpGas",type:"uint256"},{name:"paid",type:"uint256"},{name:"validAfter",type:"uint48"},{name:"validUntil",type:"uint48"},{name:"targetSuccess",type:"bool"},{name:"targetResult",type:"bytes"}],name:"ExecutionResult",type:"error"},{inputs:[{name:"opIndex",type:"uint256"},{name:"reason",type:"string"}],name:"FailedOp",type:"error"},{inputs:[{name:"sender",type:"address"}],name:"SenderAddressResult",type:"error"},{inputs:[{name:"aggregator",type:"address"}],name:"SignatureValidationFailed",type:"error"},{inputs:[{components:[{name:"preOpGas",type:"uint256"},{name:"prefund",type:"uint256"},{name:"sigFailed",type:"bool"},{name:"validAfter",type:"uint48"},{name:"validUntil",type:"uint48"},{name:"paymasterContext",type:"bytes"}],name:"returnInfo",type:"tuple"},{components:[{name:"stake",type:"uint256"},{name:"unstakeDelaySec",type:"uint256"}],name:"senderInfo",type:"tuple"},{components:[{name:"stake",type:"uint256"},{name:"unstakeDelaySec",type:"uint256"}],name:"factoryInfo",type:"tuple"},{components:[{name:"stake",type:"uint256"},{name:"unstakeDelaySec",type:"uint256"}],name:"paymasterInfo",type:"tuple"}],name:"ValidationResult",type:"error"},{inputs:[{components:[{name:"preOpGas",type:"uint256"},{name:"prefund",type:"uint256"},{name:"sigFailed",type:"bool"},{name:"validAfter",type:"uint48"},{name:"validUntil",type:"uint48"},{name:"paymasterContext",type:"bytes"}],name:"returnInfo",type:"tuple"},{components:[{name:"stake",type:"uint256"},{name:"unstakeDelaySec",type:"uint256"}],name:"senderInfo",type:"tuple"},{components:[{name:"stake",type:"uint256"},{name:"unstakeDelaySec",type:"uint256"}],name:"factoryInfo",type:"tuple"},{components:[{name:"stake",type:"uint256"},{name:"unstakeDelaySec",type:"uint256"}],name:"paymasterInfo",type:"tuple"},{components:[{name:"aggregator",type:"address"},{components:[{name:"stake",type:"uint256"},{name:"unstakeDelaySec",type:"uint256"}],name:"stakeInfo",type:"tuple"}],name:"aggregatorInfo",type:"tuple"}],name:"ValidationResultWithAggregation",type:"error"},{anonymous:!1,inputs:[{indexed:!0,name:"userOpHash",type:"bytes32"},{indexed:!0,name:"sender",type:"address"},{indexed:!1,name:"factory",type:"address"},{indexed:!1,name:"paymaster",type:"address"}],name:"AccountDeployed",type:"event"},{anonymous:!1,inputs:[],name:"BeforeExecution",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"account",type:"address"},{indexed:!1,name:"totalDeposit",type:"uint256"}],name:"Deposited",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"aggregator",type:"address"}],name:"SignatureAggregatorChanged",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"account",type:"address"},{indexed:!1,name:"totalStaked",type:"uint256"},{indexed:!1,name:"unstakeDelaySec",type:"uint256"}],name:"StakeLocked",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"account",type:"address"},{indexed:!1,name:"withdrawTime",type:"uint256"}],name:"StakeUnlocked",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"account",type:"address"},{indexed:!1,name:"withdrawAddress",type:"address"},{indexed:!1,name:"amount",type:"uint256"}],name:"StakeWithdrawn",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"userOpHash",type:"bytes32"},{indexed:!0,name:"sender",type:"address"},{indexed:!0,name:"paymaster",type:"address"},{indexed:!1,name:"nonce",type:"uint256"},{indexed:!1,name:"success",type:"bool"},{indexed:!1,name:"actualGasCost",type:"uint256"},{indexed:!1,name:"actualGasUsed",type:"uint256"}],name:"UserOperationEvent",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"userOpHash",type:"bytes32"},{indexed:!0,name:"sender",type:"address"},{indexed:!1,name:"nonce",type:"uint256"},{indexed:!1,name:"revertReason",type:"bytes"}],name:"UserOperationRevertReason",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"account",type:"address"},{indexed:!1,name:"withdrawAddress",type:"address"},{indexed:!1,name:"amount",type:"uint256"}],name:"Withdrawn",type:"event"},{inputs:[],name:"SIG_VALIDATION_FAILED",outputs:[{name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{name:"initCode",type:"bytes"},{name:"sender",type:"address"},{name:"paymasterAndData",type:"bytes"}],name:"_validateSenderAndPaymaster",outputs:[],stateMutability:"view",type:"function"},{inputs:[{name:"unstakeDelaySec",type:"uint32"}],name:"addStake",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{name:"account",type:"address"}],name:"balanceOf",outputs:[{name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{name:"account",type:"address"}],name:"depositTo",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{name:"",type:"address"}],name:"deposits",outputs:[{name:"deposit",type:"uint112"},{name:"staked",type:"bool"},{name:"stake",type:"uint112"},{name:"unstakeDelaySec",type:"uint32"},{name:"withdrawTime",type:"uint48"}],stateMutability:"view",type:"function"},{inputs:[{name:"account",type:"address"}],name:"getDepositInfo",outputs:[{components:[{name:"deposit",type:"uint112"},{name:"staked",type:"bool"},{name:"stake",type:"uint112"},{name:"unstakeDelaySec",type:"uint32"},{name:"withdrawTime",type:"uint48"}],name:"info",type:"tuple"}],stateMutability:"view",type:"function"},{inputs:[{name:"sender",type:"address"},{name:"key",type:"uint192"}],name:"getNonce",outputs:[{name:"nonce",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{name:"initCode",type:"bytes"}],name:"getSenderAddress",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{components:[{name:"sender",type:"address"},{name:"nonce",type:"uint256"},{name:"initCode",type:"bytes"},{name:"callData",type:"bytes"},{name:"callGasLimit",type:"uint256"},{name:"verificationGasLimit",type:"uint256"},{name:"preVerificationGas",type:"uint256"},{name:"maxFeePerGas",type:"uint256"},{name:"maxPriorityFeePerGas",type:"uint256"},{name:"paymasterAndData",type:"bytes"},{name:"signature",type:"bytes"}],name:"userOp",type:"tuple"}],name:"getUserOpHash",outputs:[{name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[{components:[{components:[{name:"sender",type:"address"},{name:"nonce",type:"uint256"},{name:"initCode",type:"bytes"},{name:"callData",type:"bytes"},{name:"callGasLimit",type:"uint256"},{name:"verificationGasLimit",type:"uint256"},{name:"preVerificationGas",type:"uint256"},{name:"maxFeePerGas",type:"uint256"},{name:"maxPriorityFeePerGas",type:"uint256"},{name:"paymasterAndData",type:"bytes"},{name:"signature",type:"bytes"}],name:"userOps",type:"tuple[]"},{name:"aggregator",type:"address"},{name:"signature",type:"bytes"}],name:"opsPerAggregator",type:"tuple[]"},{name:"beneficiary",type:"address"}],name:"handleAggregatedOps",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{components:[{name:"sender",type:"address"},{name:"nonce",type:"uint256"},{name:"initCode",type:"bytes"},{name:"callData",type:"bytes"},{name:"callGasLimit",type:"uint256"},{name:"verificationGasLimit",type:"uint256"},{name:"preVerificationGas",type:"uint256"},{name:"maxFeePerGas",type:"uint256"},{name:"maxPriorityFeePerGas",type:"uint256"},{name:"paymasterAndData",type:"bytes"},{name:"signature",type:"bytes"}],name:"ops",type:"tuple[]"},{name:"beneficiary",type:"address"}],name:"handleOps",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{name:"key",type:"uint192"}],name:"incrementNonce",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{name:"callData",type:"bytes"},{components:[{components:[{name:"sender",type:"address"},{name:"nonce",type:"uint256"},{name:"callGasLimit",type:"uint256"},{name:"verificationGasLimit",type:"uint256"},{name:"preVerificationGas",type:"uint256"},{name:"paymaster",type:"address"},{name:"maxFeePerGas",type:"uint256"},{name:"maxPriorityFeePerGas",type:"uint256"}],name:"mUserOp",type:"tuple"},{name:"userOpHash",type:"bytes32"},{name:"prefund",type:"uint256"},{name:"contextOffset",type:"uint256"},{name:"preOpGas",type:"uint256"}],name:"opInfo",type:"tuple"},{name:"context",type:"bytes"}],name:"innerHandleOp",outputs:[{name:"actualGasCost",type:"uint256"}],stateMutability:"nonpayable",type:"function"},{inputs:[{name:"",type:"address"},{name:"",type:"uint192"}],name:"nonceSequenceNumber",outputs:[{name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{components:[{name:"sender",type:"address"},{name:"nonce",type:"uint256"},{name:"initCode",type:"bytes"},{name:"callData",type:"bytes"},{name:"callGasLimit",type:"uint256"},{name:"verificationGasLimit",type:"uint256"},{name:"preVerificationGas",type:"uint256"},{name:"maxFeePerGas",type:"uint256"},{name:"maxPriorityFeePerGas",type:"uint256"},{name:"paymasterAndData",type:"bytes"},{name:"signature",type:"bytes"}],name:"op",type:"tuple"},{name:"target",type:"address"},{name:"targetCallData",type:"bytes"}],name:"simulateHandleOp",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{components:[{name:"sender",type:"address"},{name:"nonce",type:"uint256"},{name:"initCode",type:"bytes"},{name:"callData",type:"bytes"},{name:"callGasLim
1it",type:"uint256"},{name:"verificationGasLimit",type:"uint256"},{name:"preVerificationGas",type:"uint256"},{name:"maxFeePerGas",type:"uint256"},{name:"maxPriorityFeePerGas",type:"uint256"},{name:"paymasterAndData",type:"bytes"},{name:"signature",type:"bytes"}],name:"userOp",type:"tuple"}],name:"simulateValidation",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"unlockStake",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{name:"withdrawAddress",type:"address"}],name:"withdrawStake",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{name:"withdrawAddress",type:"address"},{name:"withdrawAmount",type:"uint256"}],name:"withdrawTo",outputs:[],stateMutability:"nonpayable",type:"function"},{stateMutability:"payable",type:"receive"}],a=[{inputs:[{name:"success",type:"bool"},{name:"ret",type:"bytes"}],name:"DelegateAndRevert",type:"error"},{inputs:[{name:"opIndex",type:"uint256"},{name:"reason",type:"string"}],name:"FailedOp",type:"error"},{inputs:[{name:"opIndex",type:"uint256"},{name:"reason",type:"string"},{name:"inner",type:"bytes"}],name:"FailedOpWithRevert",type:"error"},{inputs:[{name:"returnData",type:"bytes"}],name:"PostOpReverted",type:"error"},{inputs:[],name:"ReentrancyGuardReentrantCall",type:"error"},{inputs:[{name:"sender",type:"address"}],name:"SenderAddressResult",type:"error"},{inputs:[{name:"aggregator",type:"address"}],name:"SignatureValidationFailed",type:"error"},{anonymous:!1,inputs:[{indexed:!0,name:"userOpHash",type:"bytes32"},{indexed:!0,name:"sender",type:"address"},{indexed:!1,name:"factory",type:"address"},{indexed:!1,name:"paymaster",type:"address"}],name:"AccountDeployed",type:"event"},{anonymous:!1,inputs:[],name:"BeforeExecution",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"account",type:"address"},{indexed:!1,name:"totalDeposit",type:"uint256"}],name:"Deposited",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"userOpHash",type:"bytes32"},{indexed:!0,name:"sender",type:"address"},{indexed:!1,name:"nonce",type:"uint256"},{indexed:!1,name:"revertReason",type:"bytes"}],name:"PostOpRevertReason",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"aggregator",type:"address"}],name:"SignatureAggregatorChanged",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"account",type:"address"},{indexed:!1,name:"totalStaked",type:"uint256"},{indexed:!1,name:"unstakeDelaySec",type:"uint256"}],name:"StakeLocked",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"account",type:"address"},{indexed:!1,name:"withdrawTime",type:"uint256"}],name:"StakeUnlocked",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"account",type:"address"},{indexed:!1,name:"withdrawAddress",type:"address"},{indexed:!1,name:"amount",type:"uint256"}],name:"StakeWithdrawn",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"userOpHash",type:"bytes32"},{indexed:!0,name:"sender",type:"address"},{indexed:!0,name:"paymaster",type:"address"},{indexed:!1,name:"nonce",type:"uint256"},{indexed:!1,name:"success",type:"bool"},{indexed:!1,name:"actualGasCost",type:"uint256"},{indexed:!1,name:"actualGasUsed",type:"uint256"}],name:"UserOperationEvent",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"userOpHash",type:"bytes32"},{indexed:!0,name:"sender",type:"address"},{indexed:!1,name:"nonce",type:"uint256"}],name:"UserOperationPrefundTooLow",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"userOpHash",type:"bytes32"},{indexed:!0,name:"sender",type:"address"},{indexed:!1,name:"nonce",type:"uint256"},{indexed:!1,name:"revertReason",type:"bytes"}],name:"UserOperationRevertReason",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"account",type:"address"},{indexed:!1,name:"withdrawAddress",type:"address"},{indexed:!1,name:"amount",type:"uint256"}],name:"Withdrawn",type:"event"},{inputs:[{name:"unstakeDelaySec",type:"uint32"}],name:"addStake",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{name:"account",type:"address"}],name:"balanceOf",outputs:[{name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{name:"target",type:"address"},{name:"data",type:"bytes"}],name:"delegateAndRevert",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{name:"account",type:"address"}],name:"depositTo",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{name:"",type:"address"}],name:"deposits",outputs:[{name:"deposit",type:"uint256"},{name:"staked",type:"bool"},{name:"stake",type:"uint112"},{name:"unstakeDelaySec",type:"uint32"},{name:"withdrawTime",type:"uint48"}],stateMutability:"view",type:"function"},{inputs:[{name:"account",type:"address"}],name:"getDepositInfo",outputs:[{components:[{name:"deposit",type:"uint256"},{name:"staked",type:"bool"},{name:"stake",type:"uint112"},{name:"unstakeDelaySec",type:"uint32"},{name:"withdrawTime",type:"uint48"}],name:"info",type:"tuple"}],stateMutability:"view",type:"function"},{inputs:[{name:"sender",type:"address"},{name:"key",type:"uint192"}],name:"getNonce",outputs:[{name:"nonce",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{name:"initCode",type:"bytes"}],name:"getSenderAddress",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{components:[{name:"sender",type:"address"},{name:"nonce",type:"uint256"},{name:"initCode",type:"bytes"},{name:"callData",type:"bytes"},{name:"accountGasLimits",type:"bytes32"},{name:"preVerificationGas",type:"uint256"},{name:"gasFees",type:"bytes32"},{name:"paymasterAndData",type:"bytes"},{name:"signature",type:"bytes"}],name:"userOp",type:"tuple"}],name:"getUserOpHash",outputs:[{name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[{components:[{components:[{name:"sender",type:"address"},{name:"nonce",type:"uint256"},{name:"initCode",type:"bytes"},{name:"callData",type:"bytes"},{name:"accountGasLimits",type:"bytes32"},{name:"preVerificationGas",type:"uint256"},{name:"gasFees",type:"bytes32"},{name:"paymasterAndData",type:"bytes"},{name:"signature",type:"bytes"}],name:"userOps",type:"tuple[]"},{name:"aggregator",type:"address"},{name:"signature",type:"bytes"}],name:"opsPerAggregator",type:"tuple[]"},{name:"beneficiary",type:"address"}],name:"handleAggregatedOps",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{components:[{name:"sender",type:"address"},{name:"nonce",type:"uint256"},{name:"initCode",type:"bytes"},{name:"callData",type:"bytes"},{name:"accountGasLimits",type:"bytes32"},{name:"preVerificationGas",type:"uint256"},{name:"gasFees",type:"bytes32"},{name:"paymasterAndData",type:"bytes"},{name:"signature",type:"bytes"}],name:"ops",type:"tuple[]"},{name:"beneficiary",type:"address"}],name:"handleOps",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{name:"key",type:"uint192"}],name:"incrementNonce",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{name:"callData",type:"bytes"},{components:[{components:[{name:"sender",type:"address"},{name:"nonce",type:"uint256"},{name:"verificationGasLimit",type:"uint256"},{name:"callGasLimit",type:"uint256"},{name:"paymasterVerificationGasLimit",type:"uint256"},{name:"paymasterPostOpGasLimit",type:"uint256"},{name:"preVerificationGas",type:"uint256"},{name:"paymaster",type:"address"},{name:"maxFeePerGas",type:"uint256"},{name:"maxPriorityFeePerGas",type:"uint256"}],name:"mUserOp",type:"tuple"},{name:"userOpHash",type:"bytes32"},{name:"prefund",type:"uint256"},{name:"contextOffset",type:"uint256"},{name:"preOpGas",type:"uint256"}],name:"opInfo",type:"tuple"},{name:"context",type:"bytes"}],name:"innerHandleOp",outputs:[{name:"actualGasCost",type:"uint256"}],stateMutability:"nonpayable",type:"function"},{inputs:[{name:"",type:"address"},{name:"",type:"uint192"}],name:"nonceSequenceNumber",outputs:[{name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{name:"interfaceId",type:"bytes4"}],name:"supportsInterface",outputs:[{name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"unlockStake",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{name:"withdrawAddress",type:"address"}],name:"withdrawStake",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{name:"withdrawAddress",type:"address"},{name:"withdrawAmount",type:"uint256"}],name:"withdrawTo",outputs:[],stateMutability:"nonpayable",type:"function"},{stateMutability:"payable",type:"receive"}];e.s(["entryPoint06Abi",0,t,"entryPoint07Abi",0,a],594734),e.s(["entryPoint06Address",0,"0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789","entryPoint07Address",0,"0x0000000071727De22E5E9d8BAf0edAc6f37da032"],713764);var n=e.i(704434),r=e.i(831095),i=e.i(995062),s=e.i(147526);function o(e,t={}){let{forHash:a}=t,{authorization:n,factory:r,factoryData:i}=e;return a&&("0x7702"===r||"0x7702000000000000000000000000000000000000"===r)?n?(0,s.concat)([n.address,i??"0x"]):"0x7702000000000000000000000000000000000000":r?(0,s.concat)([r,i??"0x"]):"0x"}var u=e.i(22411),p=e.i(401319),c=e.i(675107);let m="0x22e325a297439656";function d(e,t={}){let{callGasLimit:a,callData:n,maxPriorityFeePerGas:r,maxFeePerGas:i,paymaster:y,paymasterData:l,paymasterPostOpGasLimit:f,paymasterSignature:g,paymasterVerificationGasLimit:b,sender:v,signature:x="0x",verificationGasLimit:w}
1=e,h=(0,s.concat)([(0,u.pad)((0,c.numberToHex)(w||0n),{size:16}),(0,u.pad)((0,c.numberToHex)(a||0n),{size:16})]),P=o(e,t),G=(0,s.concat)([(0,u.pad)((0,c.numberToHex)(r||0n),{size:16}),(0,u.pad)((0,c.numberToHex)(i||0n),{size:16})]),O=e.nonce??0n;return{accountGasLimits:h,callData:n,initCode:P,gasFees:G,nonce:O,paymasterAndData:y?(0,s.concat)([y,(0,u.pad)((0,c.numberToHex)(b||0n),{size:16}),(0,u.pad)((0,c.numberToHex)(f||0n),{size:16}),l||"0x",...g?t.forHash?[m]:[g,(0,u.pad)((0,c.numberToHex)((0,p.size)(g)),{size:2}),m]:[]]):"0x",preVerificationGas:e.preVerificationGas??0n,sender:v,signature:x}}let y={PackedUserOperation:[{type:"address",name:"sender"},{type:"uint256",name:"nonce"},{type:"bytes",name:"initCode"},{type:"bytes",name:"callData"},{type:"bytes32",name:"accountGasLimits"},{type:"uint256",name:"preVerificationGas"},{type:"bytes32",name:"gasFees"},{type:"bytes",name:"paymasterAndData"}]};e.s(["getUserOperationHash",0,function(e){let{chainId:t,entryPointAddress:a,entryPointVersion:s}=e,u=e.userOperation,{authorization:p,callData:c="0x",callGasLimit:m,maxFeePerGas:l,maxPriorityFeePerGas:f,nonce:g,paymasterAndData:b="0x",preVerificationGas:v,sender:x,verificationGasLimit:w}=u;if("0.8"===s||"0.9"===s)return(0,i.hashTypedData)(function(e){let{chainId:t,entryPointAddress:a,userOperation:n}=e;return{types:y,primaryType:"PackedUserOperation",domain:{name:"ERC4337",version:"1",chainId:t,verifyingContract:a},message:d(n,{forHash:!0})}}({chainId:t,entryPointAddress:a,userOperation:u}));let h=(()=>{if("0.6"===s){let e=o({authorization:p,factory:u.initCode?.slice(0,42),factoryData:u.initCode?.slice(42)},{forHash:!0});return(0,n.encodeAbiParameters)([{type:"address"},{type:"uint256"},{type:"bytes32"},{type:"bytes32"},{type:"uint256"},{type:"uint256"},{type:"uint256"},{type:"uint256"},{type:"uint256"},{type:"bytes32"}],[x,g,(0,r.keccak256)(e),(0,r.keccak256)(c),m,w,v,l,f,(0,r.keccak256)(b)])}if("0.7"===s){let e=d(u,{forHash:!0});return(0,n.encodeAbiParameters)([{type:"address"},{type:"uint256"},{type:"bytes32"},{type:"bytes32"},{type:"bytes32"},{type:"uint256"},{type:"bytes32"},{type:"bytes32"}],[e.sender,e.nonce,(0,r.keccak256)(e.initCode),(0,r.keccak256)(e.callData),e.accountGasLimits,e.preVerificationGas,e.gasFees,(0,r.keccak256)(e.paymasterAndData)])}throw Error(`entryPointVersion "${s}" not supported.`)})();return(0,r.keccak256)((0,n.encodeAbiParameters)([{type:"bytes32"},{type:"address"},{type:"uint256"}],[(0,r.keccak256)(h),a,BigInt(t)]))}],547160);var l=e.i(137195),f=e.i(528804),g=e.i(388750),b=e.i(467125),v=(e.i(937445),e.i(976677)),x=e.i(785904),w=e.i(769936);function h(e){let{address:t,data:a,signature:r,to:i="hex"}=e,o=(0,s.concatHex)([(0,n.encodeAbiParameters)([{type:"address"},{type:"bytes"},{type:"bytes"}],[t,a,r]),x.erc6492MagicBytes]);return"hex"===i?o:(0,w.hexToBytes)(o)}async function P(e){let{extend:t,nonceKeyManager:a=function(e){let{source:t}=e,a=new Map,n=new v.LruMap(8192),r=new Map,i=({address:e,chainId:t})=>`${e}.${t}`,s=e=>{a.delete(e),r.delete(e)};return{async consume({address:e,chainId:a,client:r}){let s=i({address:e,chainId:a}),o=this.get({address:e,chainId:a,client:r});this.increment({address:e,chainId:a});let u=await o;return await t.set({address:e,chainId:a},u),n.set(s,u),u},async increment({address:e,chainId:t}){let n=i({address:e,chainId:t}),r=a.get(n)??0;a.set(n,r+1)},async get({address:e,chainId:o,client:u}){let p=i({address:e,chainId:o}),c=r.get(p);return c||(c=(async()=>{try{let a=await t.get({address:e,chainId:o,client:u}),r=n.get(p)??0;if(r>0&&a<=r)return r+1;return n.delete(p),a}finally{s(p)}})(),r.set(p,c)),(a.get(p)??0)+await c},reset({address:e,chainId:t}){let a=i({address:e,chainId:t});n.delete(a),s(a)}}}({source:{get:()=>Date.now(),set(){}}}),...n}=e,r=!1,i=await e.getAddress();return{...t,...n,address:i,async getFactoryArgs(){return"isDeployed"in this&&await this.isDeployed()?{factory:void 0,factoryData:void 0}:e.getFactoryArgs()},async getNonce(t){let n=t?.key??BigInt(await a.consume({address:i,chainId:e.client.chain.id,client:e.client}));return e.getNonce?await e.getNonce({...t,key:n}):await (0,g.readContract)(e.client,{abi:(0,l.parseAbi)(["function getNonce(address, uint192) pure returns (uint256)"]),address:e.entryPoint.address,functionName:"getNonce",args:[i,n]})},isDeployed:async()=>!!r||(r=!!await (0,b.getAction)(e.client,f.getCode,"getCode")({address:i})),...e.sign?{async sign(t){let[{factory:a,factoryData:n},r]=await Promise.all([this.getFactoryArgs(),e.sign(t)]);return a&&n?h({address:a,data:n,signature:r}):r}}:{},async signMessage(t){let[{factory:a,factoryData:n},r]=await Promise.all([this.getFactoryArgs(),e.signMessage(t)]);return a&&n&&"0x7702"!==a?h({address:a,data:n,signature:r}):r},async signTypedData(t){let[{factory:a,factoryData:n},r]=await Promise.all([this.getFactoryArgs(),e.signTypedData(t)]);return a&&n&&"0x7702"!==a?h({address:a,data:n,signature:r}):r},type:"smart"}}e.s(["toSmartAccount",0,P],875740)},975721,e=>{"use strict";var t=e.i(70204),a=e.i(608861),n=e.i(796516),r=e.i(147526),i=e.i(22411),s=e.i(675107),o=e.i(342692);e.s(["encodePacked",0,function(e,u){if(e.length!==u.length)throw new t.AbiEncodingLengthMismatchError({expectedLength:e.length,givenLength:u.length});let p=[];for(let c=0;c<e.length;c++){let m=e[c],d=u[c];p.push(function e(u,p,c=!1){if("address"===u){if(!(0,n.isAddress)(p))throw new a.InvalidAddressError({address:p});return(0,i.pad)(p.toLowerCase(),{size:c?32:null})}if("string"===u)return(0,s.stringToHex)(p);if("bytes"===u)return p;if("bool"===u)return(0,i.pad)((0,s.boolToHex)(p),{size:c?32:1});let m=u.match(o.integerRegex);if(m){let[e,t,a="256"]=m,n=Number.parseInt(a,10)/8;return(0,s.numberToHex)(p,{size:c?32:n,signed:"int"===t})}let d=u.match(o.bytesRegex);if(d){let[e,a]=d;if(Number.parseInt(a,10)!==(p.length-2)/2)throw new t.BytesSizeMismatchError({expectedSize:Number.parseInt(a,10),givenSize:(p.length-2)/2});return(0,i.pad)(p,{dir:"right",size:c?32:null})}let y=u.match(o.arrayRegex);
1if(y&&Array.isArray(p)){let[t,a]=y,n=[];for(let t=0;t<p.length;t++)n.push(e(a,p[t],!0));return 0===n.length?"0x":(0,r.concatHex)(n)}throw new t.UnsupportedPackedAbiType(u)}(m,d))}return(0,r.concatHex)(p)}])}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.