Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@funkit/core

Package Overview
Dependencies
Maintainers
1
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@funkit/core - npm Package Compare versions

Comparing version 0.10.2 to 0.10.3

2

dist/src/abis/ApproveAndExec.json

@@ -1,1 +0,1 @@

{ "name": "ApproveAndExec", "abi": [{ "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "dest", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "value", "type": "uint256" }, { "indexed": false, "internalType": "bytes", "name": "executeData", "type": "bytes" }, { "indexed": false, "internalType": "address", "name": "token", "type": "address" }, { "indexed": false, "internalType": "bytes", "name": "approveData", "type": "bytes" }], "name": "ApproveAndExecute", "type": "event" }, { "inputs": [], "name": "EMPTY_STATE", "outputs": [{ "internalType": "bytes", "name": "", "type": "bytes" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "dest", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" }, { "internalType": "bytes", "name": "executeData", "type": "bytes" }, { "internalType": "address", "name": "token", "type": "address" }, { "internalType": "bytes", "name": "approveData", "type": "bytes" }], "name": "approveAndExecute", "outputs": [{ "internalType": "bytes", "name": "", "type": "bytes" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "bytes", "name": "", "type": "bytes" }], "name": "execute", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "key", "type": "bytes32" }], "name": "getState", "outputs": [{ "internalType": "bytes", "name": "state", "type": "bytes" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "moduleId", "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "payFee", "outputs": [], "stateMutability": "nonpayable", "type": "function" }], "addresses": { "1": "0xD953Eda57EAB69F2EB0103bffA9acc66eA98e0aB", "5": "0xD953Eda57EAB69F2EB0103bffA9acc66eA98e0aB", "10": "0xD953Eda57EAB69F2EB0103bffA9acc66eA98e0aB", "137": "0xD953Eda57EAB69F2EB0103bffA9acc66eA98e0aB", "8453": "0xD953Eda57EAB69F2EB0103bffA9acc66eA98e0aB", "36865": "0xD953Eda57EAB69F2EB0103bffA9acc66eA98e0aB", "42161": "0xD953Eda57EAB69F2EB0103bffA9acc66eA98e0aB" } }
{ "name": "ApproveAndExec", "abi": [{ "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "dest", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "value", "type": "uint256" }, { "indexed": false, "internalType": "bytes", "name": "executeData", "type": "bytes" }, { "indexed": false, "internalType": "address", "name": "token", "type": "address" }, { "indexed": false, "internalType": "bytes", "name": "approveData", "type": "bytes" }], "name": "ApproveAndExecute", "type": "event" }, { "inputs": [], "name": "EMPTY_STATE", "outputs": [{ "internalType": "bytes", "name": "", "type": "bytes" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "dest", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" }, { "internalType": "bytes", "name": "executeData", "type": "bytes" }, { "internalType": "address", "name": "token", "type": "address" }, { "internalType": "bytes", "name": "approveData", "type": "bytes" }], "name": "approveAndExecute", "outputs": [{ "internalType": "bytes", "name": "", "type": "bytes" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "bytes", "name": "", "type": "bytes" }], "name": "execute", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "key", "type": "bytes32" }], "name": "getState", "outputs": [{ "internalType": "bytes", "name": "state", "type": "bytes" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "moduleId", "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "payFee", "outputs": [], "stateMutability": "nonpayable", "type": "function" }], "addresses": { "1": "0xD953Eda57EAB69F2EB0103bffA9acc66eA98e0aB", "5": "0xD953Eda57EAB69F2EB0103bffA9acc66eA98e0aB", "10": "0xD953Eda57EAB69F2EB0103bffA9acc66eA98e0aB", "137": "0xD953Eda57EAB69F2EB0103bffA9acc66eA98e0aB", "8453": "0xD953Eda57EAB69F2EB0103bffA9acc66eA98e0aB", "36865": "0xD953Eda57EAB69F2EB0103bffA9acc66eA98e0aB", "42161": "0xD953Eda57EAB69F2EB0103bffA9acc66eA98e0aB", "421614": "0xAC4663A7042887fdbB3535a4C058F825452633e1" } }

@@ -1,1 +0,1 @@

{ "name": "ApproveAndSwap", "abi": [{ "inputs": [{ "internalType": "address", "name": "_wethAddr", "type": "address" }, { "internalType": "address", "name": "_router", "type": "address" }], "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "tokenAddr", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "SwapERC20Executed", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "SwapETHExecuted", "type": "event" }, { "inputs": [], "name": "EMPTY_STATE", "outputs": [{ "internalType": "bytes", "name": "", "type": "bytes" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "bytes", "name": "", "type": "bytes" }], "name": "execute", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "tokenAddr", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }, { "internalType": "bytes", "name": "routerCallData", "type": "bytes" }], "name": "executeSwapERC20", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "amount", "type": "uint256" }, { "internalType": "bytes", "name": "routerCallData", "type": "bytes" }], "name": "executeSwapETH", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "key", "type": "bytes32" }], "name": "getState", "outputs": [{ "internalType": "bytes", "name": "state", "type": "bytes" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getWeth", "outputs": [{ "internalType": "contractIWETH9", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "moduleId", "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "payFee", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "router", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "weth", "outputs": [{ "internalType": "contractIWETH9", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }], "numDeployments": 1, "addresses": { "1": "0xe65d63A9B4842c0dc0916aE5368356Ca0212f2CB", "5": "0xe65d63A9B4842c0dc0916aE5368356Ca0212f2CB", "10": "0xe65d63A9B4842c0dc0916aE5368356Ca0212f2CB", "137": "0xe65d63A9B4842c0dc0916aE5368356Ca0212f2CB", "8453": "0xe65d63A9B4842c0dc0916aE5368356Ca0212f2CB", "36865": "0xe65d63A9B4842c0dc0916aE5368356Ca0212f2CB", "42161": "0xe65d63A9B4842c0dc0916aE5368356Ca0212f2CB" } }
{ "name": "ApproveAndSwap", "abi": [{ "inputs": [{ "internalType": "address", "name": "_wethAddr", "type": "address" }, { "internalType": "address", "name": "_router", "type": "address" }], "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "tokenAddr", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "SwapERC20Executed", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "SwapETHExecuted", "type": "event" }, { "inputs": [], "name": "EMPTY_STATE", "outputs": [{ "internalType": "bytes", "name": "", "type": "bytes" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "bytes", "name": "", "type": "bytes" }], "name": "execute", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "tokenAddr", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }, { "internalType": "bytes", "name": "routerCallData", "type": "bytes" }], "name": "executeSwapERC20", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "amount", "type": "uint256" }, { "internalType": "bytes", "name": "routerCallData", "type": "bytes" }], "name": "executeSwapETH", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "key", "type": "bytes32" }], "name": "getState", "outputs": [{ "internalType": "bytes", "name": "state", "type": "bytes" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getWeth", "outputs": [{ "internalType": "contractIWETH9", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "moduleId", "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "payFee", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "router", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "weth", "outputs": [{ "internalType": "contractIWETH9", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }], "numDeployments": 1, "addresses": { "1": "0xe65d63A9B4842c0dc0916aE5368356Ca0212f2CB", "5": "0xe65d63A9B4842c0dc0916aE5368356Ca0212f2CB", "10": "0xe65d63A9B4842c0dc0916aE5368356Ca0212f2CB", "137": "0xe65d63A9B4842c0dc0916aE5368356Ca0212f2CB", "8453": "0xe65d63A9B4842c0dc0916aE5368356Ca0212f2CB", "36865": "0xe65d63A9B4842c0dc0916aE5368356Ca0212f2CB", "42161": "0xe65d63A9B4842c0dc0916aE5368356Ca0212f2CB", "421614": "0x89810f97Ee7d57213a1F4072F3E77906b0b8614f" } }

@@ -1,1 +0,2 @@

{ "name": "EntryPoint", "abi": [{ "name": "ExecutionResult", "type": "error", "inputs": [{ "name": "preOpGas", "type": "uint256", "internalType": "uint256" }, { "name": "paid", "type": "uint256", "internalType": "uint256" }, { "name": "validAfter", "type": "uint48", "internalType": "uint48" }, { "name": "validUntil", "type": "uint48", "internalType": "uint48" }, { "name": "targetSuccess", "type": "bool", "internalType": "bool" }, { "name": "targetResult", "type": "bytes", "internalType": "bytes" }] }, { "name": "FailedOp", "type": "error", "inputs": [{ "name": "opIndex", "type": "uint256", "internalType": "uint256" }, { "name": "reason", "type": "string", "internalType": "string" }] }, { "name": "SenderAddressResult", "type": "error", "inputs": [{ "name": "sender", "type": "address", "internalType": "address" }] }, { "name": "SignatureValidationFailed", "type": "error", "inputs": [{ "name": "aggregator", "type": "address", "internalType": "address" }] }, { "name": "ValidationResult", "type": "error", "inputs": [{ "name": "returnInfo", "components": [{ "name": "preOpGas", "type": "uint256", "internalType": "uint256" }, { "name": "prefund", "type": "uint256", "internalType": "uint256" }, { "name": "sigFailed", "type": "bool", "internalType": "bool" }, { "name": "validAfter", "type": "uint48", "internalType": "uint48" }, { "name": "validUntil", "type": "uint48", "internalType": "uint48" }, { "name": "paymasterContext", "type": "bytes", "internalType": "bytes" }], "internalType": "structIEntryPoint.ReturnInfo", "type": "tuple" }, { "name": "senderInfo", "components": [{ "name": "stake", "type": "uint256", "internalType": "uint256" }, { "name": "unstakeDelaySec", "type": "uint256", "internalType": "uint256" }], "internalType": "structIStakeManager.StakeInfo", "type": "tuple" }, { "name": "factoryInfo", "components": [{ "name": "stake", "type": "uint256", "internalType": "uint256" }, { "name": "unstakeDelaySec", "type": "uint256", "internalType": "uint256" }], "internalType": "structIStakeManager.StakeInfo", "type": "tuple" }, { "name": "paymasterInfo", "components": [{ "name": "stake", "type": "uint256", "internalType": "uint256" }, { "name": "unstakeDelaySec", "type": "uint256", "internalType": "uint256" }], "internalType": "structIStakeManager.StakeInfo", "type": "tuple" }] }, { "name": "ValidationResultWithAggregation", "type": "error", "inputs": [{ "name": "returnInfo", "components": [{ "name": "preOpGas", "type": "uint256", "internalType": "uint256" }, { "name": "prefund", "type": "uint256", "internalType": "uint256" }, { "name": "sigFailed", "type": "bool", "internalType": "bool" }, { "name": "validAfter", "type": "uint48", "internalType": "uint48" }, { "name": "validUntil", "type": "uint48", "internalType": "uint48" }, { "name": "paymasterContext", "type": "bytes", "internalType": "bytes" }], "internalType": "structIEntryPoint.ReturnInfo", "type": "tuple" }, { "name": "senderInfo", "components": [{ "name": "stake", "type": "uint256", "internalType": "uint256" }, { "name": "unstakeDelaySec", "type": "uint256", "internalType": "uint256" }], "internalType": "structIStakeManager.StakeInfo", "type": "tuple" }, { "name": "factoryInfo", "components": [{ "name": "stake", "type": "uint256", "internalType": "uint256" }, { "name": "unstakeDelaySec", "type": "uint256", "internalType": "uint256" }], "internalType": "structIStakeManager.StakeInfo", "type": "tuple" }, { "name": "paymasterInfo", "components": [{ "name": "stake", "type": "uint256", "internalType": "uint256" }, { "name": "unstakeDelaySec", "type": "uint256", "internalType": "uint256" }], "internalType": "structIStakeManager.StakeInfo", "type": "tuple" }, { "name": "aggregatorInfo", "components": [{ "name": "aggregator", "type": "address", "internalType": "address" }, { "name": "stakeInfo", "components": [{ "name": "stake", "type": "uint256", "internalType": "uint256" }, { "name": "unstakeDelaySec", "type": "uint256", "internalType": "uint256" }], "internalType": "structIStakeManager.StakeInfo", "type": "tuple" }], "internalType": "structIEntryPoint.AggregatorStakeInfo", "type": "tuple" }] }, { "name": "AccountDeployed", "anonymous": false, "type": "event", "inputs": [{ "name": "userOpHash", "internalType": "bytes32", "type": "bytes32", "indexed": true }, { "name": "sender", "internalType": "address", "type": "address", "indexed": true }, { "name": "factory", "internalType": "address", "type": "address", "indexed": false }, { "name": "paymaster", "internalType": "address", "type": "address", "indexed": false }] }, { "name": "BeforeExecution", "anonymous": false, "type": "event", "inputs": [] }, { "name": "Deposited", "anonymous": false, "type": "event", "inputs": [{ "name": "account", "internalType": "address", "type": "address", "indexed": true }, { "name": "totalDeposit", "internalType": "uint256", "type": "uint256", "indexed": false }] }, { "name": "SignatureAggregatorChanged", "anonymous": false, "type": "event", "inputs": [{ "name": "aggregator", "internalType": "address", "type": "address", "indexed": true }] }, { "name": "StakeLocked", "anonymous": false, "type": "event", "inputs": [{ "name": "account", "internalType": "address", "type": "address", "indexed": true }, { "name": "totalStaked", "internalType": "uint256", "type": "uint256", "indexed": false }, { "name": "unstakeDelaySec", "internalType": "uint256", "type": "uint256", "indexed": false }] }, { "name": "StakeUnlocked", "anonymous": false, "type": "event", "inputs": [{ "name": "account", "internalType": "address", "type": "address", "indexed": true }, { "name": "withdrawTime", "internalType": "uint256", "type": "uint256", "indexed": false }] }, { "name": "StakeWithdrawn", "anonymous": false, "type": "event", "inputs": [{ "name": "account", "internalType": "address", "type": "address", "indexed": true }, { "name": "withdrawAddress", "internalType": "address", "type": "address", "indexed": false }, { "name": "amount", "internalType": "uint256", "type": "uint256", "indexed": false }] }, { "name": "UserOperationEvent", "anonymous": false, "type": "event", "inputs": [{ "name": "userOpHash", "internalType": "bytes32", "type": "bytes32", "indexed": true }, { "name": "sender", "internalType": "address", "type": "address", "indexed": true }, { "name": "paymaster", "internalType": "address", "type": "address", "indexed": true }, { "name": "nonce", "internalType": "uint256", "type": "uint256", "indexed": false }, { "name": "success", "internalType": "bool", "type": "bool", "indexed": false }, { "name": "actualGasCost", "internalType": "uint256", "type": "uint256", "indexed": false }, { "name": "actualGasUsed", "internalType": "uint256", "type": "uint256", "indexed": false }] }, { "name": "UserOperationRevertReason", "anonymous": false, "type": "event", "inputs": [{ "name": "userOpHash", "internalType": "bytes32", "type": "bytes32", "indexed": true }, { "name": "sender", "internalType": "address", "type": "address", "indexed": true }, { "name": "nonce", "internalType": "uint256", "type": "uint256", "indexed": false }, { "name": "revertReason", "internalType": "bytes", "type": "bytes", "indexed": false }] }, { "name": "Withdrawn", "anonymous": false, "type": "event", "inputs": [{ "name": "account", "internalType": "address", "type": "address", "indexed": true }, { "name": "withdrawAddress", "internalType": "address", "type": "address", "indexed": false }, { "name": "amount", "internalType": "uint256", "type": "uint256", "indexed": false }] }, { "name": "SIG_VALIDATION_FAILED", "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }], "stateMutability": "view", "type": "function", "inputs": [] }, { "name": "_validateSenderAndPaymaster", "outputs": [], "stateMutability": "view", "type": "function", "inputs": [{ "name": "initCode", "type": "bytes", "internalType": "bytes" }, { "name": "sender", "type": "address", "internalType": "address" }, { "name": "paymasterAndData", "type": "bytes", "internalType": "bytes" }] }, { "name": "addStake", "outputs": [], "stateMutability": "payable", "type": "function", "inputs": [{ "name": "unstakeDelaySec", "type": "uint32", "internalType": "uint32" }] }, { "name": "balanceOf", "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }], "stateMutability": "view", "type": "function", "inputs": [{ "name": "account", "type": "address", "internalType": "address" }] }, { "name": "depositTo", "outputs": [], "stateMutability": "payable", "type": "function", "inputs": [{ "name": "account", "type": "address", "internalType": "address" }] }, { "name": "deposits", "outputs": [{ "name": "deposit", "type": "uint112", "internalType": "uint112" }, { "name": "staked", "type": "bool", "internalType": "bool" }, { "name": "stake", "type": "uint112", "internalType": "uint112" }, { "name": "unstakeDelaySec", "type": "uint32", "internalType": "uint32" }, { "name": "withdrawTime", "type": "uint48", "internalType": "uint48" }], "stateMutability": "view", "type": "function", "inputs": [{ "name": "", "type": "address", "internalType": "address" }] }, { "name": "getDepositInfo", "outputs": [{ "name": "info", "components": [{ "name": "deposit", "type": "uint112", "internalType": "uint112" }, { "name": "staked", "type": "bool", "internalType": "bool" }, { "name": "stake", "type": "uint112", "internalType": "uint112" }, { "name": "unstakeDelaySec", "type": "uint32", "internalType": "uint32" }, { "name": "withdrawTime", "type": "uint48", "internalType": "uint48" }], "internalType": "structIStakeManager.DepositInfo", "type": "tuple" }], "stateMutability": "view", "type": "function", "inputs": [{ "name": "account", "type": "address", "internalType": "address" }] }, { "name": "getNonce", "outputs": [{ "name": "nonce", "type": "uint256", "internalType": "uint256" }], "stateMutability": "view", "type": "function", "inputs": [{ "name": "sender", "type": "address", "internalType": "address" }, { "name": "key", "type": "uint192", "internalType": "uint192" }] }, { "name": "getSenderAddress", "outputs": [], "stateMutability": "nonpayable", "type": "function", "inputs": [{ "name": "initCode", "type": "bytes", "internalType": "bytes" }] }, { "name": "getUserOpHash", "outputs": [{ "name": "", "type": "bytes32", "internalType": "bytes32" }], "stateMutability": "view", "type": "function", "inputs": [{ "name": "userOp", "components": [{ "name": "sender", "type": "address", "internalType": "address" }, { "name": "nonce", "type": "uint256", "internalType": "uint256" }, { "name": "initCode", "type": "bytes", "internalType": "bytes" }, { "name": "callData", "type": "bytes", "internalType": "bytes" }, { "name": "callGasLimit", "type": "uint256", "internalType": "uint256" }, { "name": "verificationGasLimit", "type": "uint256", "internalType": "uint256" }, { "name": "preVerificationGas", "type": "uint256", "internalType": "uint256" }, { "name": "maxFeePerGas", "type": "uint256", "internalType": "uint256" }, { "name": "maxPriorityFeePerGas", "type": "uint256", "internalType": "uint256" }, { "name": "paymasterAndData", "type": "bytes", "internalType": "bytes" }, { "name": "signature", "type": "bytes", "internalType": "bytes" }], "internalType": "structUserOperation", "type": "tuple" }] }, { "name": "handleAggregatedOps", "outputs": [], "stateMutability": "nonpayable", "type": "function", "inputs": [{ "name": "opsPerAggregator", "components": [{ "name": "userOps", "components": [{ "name": "sender", "type": "address", "internalType": "address" }, { "name": "nonce", "type": "uint256", "internalType": "uint256" }, { "name": "initCode", "type": "bytes", "internalType": "bytes" }, { "name": "callData", "type": "bytes", "internalType": "bytes" }, { "name": "callGasLimit", "type": "uint256", "internalType": "uint256" }, { "name": "verificationGasLimit", "type": "uint256", "internalType": "uint256" }, { "name": "preVerificationGas", "type": "uint256", "internalType": "uint256" }, { "name": "maxFeePerGas", "type": "uint256", "internalType": "uint256" }, { "name": "maxPriorityFeePerGas", "type": "uint256", "internalType": "uint256" }, { "name": "paymasterAndData", "type": "bytes", "internalType": "bytes" }, { "name": "signature", "type": "bytes", "internalType": "bytes" }], "internalType": "structUserOperation[]", "type": "tuple[]" }, { "name": "aggregator", "type": "address", "internalType": "contractIAggregator" }, { "name": "signature", "type": "bytes", "internalType": "bytes" }], "internalType": "structIEntryPoint.UserOpsPerAggregator[]", "type": "tuple[]" }, { "name": "beneficiary", "type": "address", "internalType": "addresspayable" }] }, { "name": "handleOps", "outputs": [], "stateMutability": "nonpayable", "type": "function", "inputs": [{ "name": "ops", "components": [{ "name": "sender", "type": "address", "internalType": "address" }, { "name": "nonce", "type": "uint256", "internalType": "uint256" }, { "name": "initCode", "type": "bytes", "internalType": "bytes" }, { "name": "callData", "type": "bytes", "internalType": "bytes" }, { "name": "callGasLimit", "type": "uint256", "internalType": "uint256" }, { "name": "verificationGasLimit", "type": "uint256", "internalType": "uint256" }, { "name": "preVerificationGas", "type": "uint256", "internalType": "uint256" }, { "name": "maxFeePerGas", "type": "uint256", "internalType": "uint256" }, { "name": "maxPriorityFeePerGas", "type": "uint256", "internalType": "uint256" }, { "name": "paymasterAndData", "type": "bytes", "internalType": "bytes" }, { "name": "signature", "type": "bytes", "internalType": "bytes" }], "internalType": "structUserOperation[]", "type": "tuple[]" }, { "name": "beneficiary", "type": "address", "internalType": "addresspayable" }] }, { "name": "incrementNonce", "outputs": [], "stateMutability": "nonpayable", "type": "function", "inputs": [{ "name": "key", "type": "uint192", "internalType": "uint192" }] }, { "name": "innerHandleOp", "outputs": [{ "name": "actualGasCost", "type": "uint256", "internalType": "uint256" }], "stateMutability": "nonpayable", "type": "function", "inputs": [{ "name": "callData", "type": "bytes", "internalType": "bytes" }, { "name": "opInfo", "components": [{ "name": "mUserOp", "components": [{ "name": "sender", "type": "address", "internalType": "address" }, { "name": "nonce", "type": "uint256", "internalType": "uint256" }, { "name": "callGasLimit", "type": "uint256", "internalType": "uint256" }, { "name": "verificationGasLimit", "type": "uint256", "internalType": "uint256" }, { "name": "preVerificationGas", "type": "uint256", "internalType": "uint256" }, { "name": "paymaster", "type": "address", "internalType": "address" }, { "name": "maxFeePerGas", "type": "uint256", "internalType": "uint256" }, { "name": "maxPriorityFeePerGas", "type": "uint256", "internalType": "uint256" }], "internalType": "structEntryPoint.MemoryUserOp", "type": "tuple" }, { "name": "userOpHash", "type": "bytes32", "internalType": "bytes32" }, { "name": "prefund", "type": "uint256", "internalType": "uint256" }, { "name": "contextOffset", "type": "uint256", "internalType": "uint256" }, { "name": "preOpGas", "type": "uint256", "internalType": "uint256" }], "internalType": "structEntryPoint.UserOpInfo", "type": "tuple" }, { "name": "context", "type": "bytes", "internalType": "bytes" }] }, { "name": "nonceSequenceNumber", "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }], "stateMutability": "view", "type": "function", "inputs": [{ "name": "", "type": "address", "internalType": "address" }, { "name": "", "type": "uint192", "internalType": "uint192" }] }, { "name": "simulateHandleOp", "outputs": [], "stateMutability": "nonpayable", "type": "function", "inputs": [{ "name": "op", "components": [{ "name": "sender", "type": "address", "internalType": "address" }, { "name": "nonce", "type": "uint256", "internalType": "uint256" }, { "name": "initCode", "type": "bytes", "internalType": "bytes" }, { "name": "callData", "type": "bytes", "internalType": "bytes" }, { "name": "callGasLimit", "type": "uint256", "internalType": "uint256" }, { "name": "verificationGasLimit", "type": "uint256", "internalType": "uint256" }, { "name": "preVerificationGas", "type": "uint256", "internalType": "uint256" }, { "name": "maxFeePerGas", "type": "uint256", "internalType": "uint256" }, { "name": "maxPriorityFeePerGas", "type": "uint256", "internalType": "uint256" }, { "name": "paymasterAndData", "type": "bytes", "internalType": "bytes" }, { "name": "signature", "type": "bytes", "internalType": "bytes" }], "internalType": "structUserOperation", "type": "tuple" }, { "name": "target", "type": "address", "internalType": "address" }, { "name": "targetCallData", "type": "bytes", "internalType": "bytes" }] }, { "name": "simulateValidation", "outputs": [], "stateMutability": "nonpayable", "type": "function", "inputs": [{ "name": "userOp", "components": [{ "name": "sender", "type": "address", "internalType": "address" }, { "name": "nonce", "type": "uint256", "internalType": "uint256" }, { "name": "initCode", "type": "bytes", "internalType": "bytes" }, { "name": "callData", "type": "bytes", "internalType": "bytes" }, { "name": "callGasLimit", "type": "uint256", "internalType": "uint256" }, { "name": "verificationGasLimit", "type": "uint256", "internalType": "uint256" }, { "name": "preVerificationGas", "type": "uint256", "internalType": "uint256" }, { "name": "maxFeePerGas", "type": "uint256", "internalType": "uint256" }, { "name": "maxPriorityFeePerGas", "type": "uint256", "internalType": "uint256" }, { "name": "paymasterAndData", "type": "bytes", "internalType": "bytes" }, { "name": "signature", "type": "bytes", "internalType": "bytes" }], "internalType": "structUserOperation", "type": "tuple" }] }, { "name": "unlockStake", "outputs": [], "stateMutability": "nonpayable", "type": "function", "inputs": [] }, { "name": "withdrawStake", "outputs": [], "stateMutability": "nonpayable", "type": "function", "inputs": [{ "name": "withdrawAddress", "type": "address", "internalType": "addresspayable" }] }, { "name": "withdrawTo", "outputs": [], "stateMutability": "nonpayable", "type": "function", "inputs": [{ "name": "withdrawAddress", "type": "address", "internalType": "addresspayable" }, { "name": "withdrawAmount", "type": "uint256", "internalType": "uint256" }] }, { "type": "receive", "stateMutability": "payable" }], "addresses": { "1": "0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789", "5": "0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789", "10": "0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789", "137": "0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789", "8453": "0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789", "36865": "0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789", "42161": "0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789" } }
{ "name": "EntryPoint", "abi": [{ "name": "ExecutionResult", "type": "error", "inputs": [{ "name": "preOpGas", "type": "uint256", "internalType": "uint256" }, { "name": "paid", "type": "uint256", "internalType": "uint256" }, { "name": "validAfter", "type": "uint48", "internalType": "uint48" }, { "name": "validUntil", "type": "uint48", "internalType": "uint48" }, { "name": "targetSuccess", "type": "bool", "internalType": "bool" }, { "name": "targetResult", "type": "bytes", "internalType": "bytes" }] }, { "name": "FailedOp", "type": "error", "inputs": [{ "name": "opIndex", "type": "uint256", "internalType": "uint256" }, { "name": "reason", "type": "string", "internalType": "string" }] }, { "name": "SenderAddressResult", "type": "error", "inputs": [{ "name": "sender", "type": "address", "internalType": "address" }] }, { "name": "SignatureValidationFailed", "type": "error", "inputs": [{ "name": "aggregator", "type": "address", "internalType": "address" }] }, { "name": "ValidationResult", "type": "error", "inputs": [{ "name": "returnInfo", "components": [{ "name": "preOpGas", "type": "uint256", "internalType": "uint256" }, { "name": "prefund", "type": "uint256", "internalType": "uint256" }, { "name": "sigFailed", "type": "bool", "internalType": "bool" }, { "name": "validAfter", "type": "uint48", "internalType": "uint48" }, { "name": "validUntil", "type": "uint48", "internalType": "uint48" }, { "name": "paymasterContext", "type": "bytes", "internalType": "bytes" }], "internalType": "structIEntryPoint.ReturnInfo", "type": "tuple" }, { "name": "senderInfo", "components": [{ "name": "stake", "type": "uint256", "internalType": "uint256" }, { "name": "unstakeDelaySec", "type": "uint256", "internalType": "uint256" }], "internalType": "structIStakeManager.StakeInfo", "type": "tuple" }, { "name": "factoryInfo", "components": [{ "name": "stake", "type": "uint256", "internalType": "uint256" }, { "name": "unstakeDelaySec", "type": "uint256", "internalType": "uint256" }], "internalType": "structIStakeManager.StakeInfo", "type": "tuple" }, { "name": "paymasterInfo", "components": [{ "name": "stake", "type": "uint256", "internalType": "uint256" }, { "name": "unstakeDelaySec", "type": "uint256", "internalType": "uint256" }], "internalType": "structIStakeManager.StakeInfo", "type": "tuple" }] }, { "name": "ValidationResultWithAggregation", "type": "error", "inputs": [{ "name": "returnInfo", "components": [{ "name": "preOpGas", "type": "uint256", "internalType": "uint256" }, { "name": "prefund", "type": "uint256", "internalType": "uint256" }, { "name": "sigFailed", "type": "bool", "internalType": "bool" }, { "name": "validAfter", "type": "uint48", "internalType": "uint48" }, { "name": "validUntil", "type": "uint48", "internalType": "uint48" }, { "name": "paymasterContext", "type": "bytes", "internalType": "bytes" }], "internalType": "structIEntryPoint.ReturnInfo", "type": "tuple" }, { "name": "senderInfo", "components": [{ "name": "stake", "type": "uint256", "internalType": "uint256" }, { "name": "unstakeDelaySec", "type": "uint256", "internalType": "uint256" }], "internalType": "structIStakeManager.StakeInfo", "type": "tuple" }, { "name": "factoryInfo", "components": [{ "name": "stake", "type": "uint256", "internalType": "uint256" }, { "name": "unstakeDelaySec", "type": "uint256", "internalType": "uint256" }], "internalType": "structIStakeManager.StakeInfo", "type": "tuple" }, { "name": "paymasterInfo", "components": [{ "name": "stake", "type": "uint256", "internalType": "uint256" }, { "name": "unstakeDelaySec", "type": "uint256", "internalType": "uint256" }], "internalType": "structIStakeManager.StakeInfo", "type": "tuple" }, { "name": "aggregatorInfo", "components": [{ "name": "aggregator", "type": "address", "internalType": "address" }, { "name": "stakeInfo", "components": [{ "name": "stake", "type": "uint256", "internalType": "uint256" }, { "name": "unstakeDelaySec", "type": "uint256", "internalType": "uint256" }], "internalType": "structIStakeManager.StakeInfo", "type": "tuple" }], "internalType": "structIEntryPoint.AggregatorStakeInfo", "type": "tuple" }] }, { "name": "AccountDeployed", "anonymous": false, "type": "event", "inputs": [{ "name": "userOpHash", "internalType": "bytes32", "type": "bytes32", "indexed": true }, { "name": "sender", "internalType": "address", "type": "address", "indexed": true }, { "name": "factory", "internalType": "address", "type": "address", "indexed": false }, { "name": "paymaster", "internalType": "address", "type": "address", "indexed": false }] }, { "name": "BeforeExecution", "anonymous": false, "type": "event", "inputs": [] }, { "name": "Deposited", "anonymous": false, "type": "event", "inputs": [{ "name": "account", "internalType": "address", "type": "address", "indexed": true }, { "name": "totalDeposit", "internalType": "uint256", "type": "uint256", "indexed": false }] }, { "name": "SignatureAggregatorChanged", "anonymous": false, "type": "event", "inputs": [{ "name": "aggregator", "internalType": "address", "type": "address", "indexed": true }] }, { "name": "StakeLocked", "anonymous": false, "type": "event", "inputs": [{ "name": "account", "internalType": "address", "type": "address", "indexed": true }, { "name": "totalStaked", "internalType": "uint256", "type": "uint256", "indexed": false }, { "name": "unstakeDelaySec", "internalType": "uint256", "type": "uint256", "indexed": false }] }, { "name": "StakeUnlocked", "anonymous": false, "type": "event", "inputs": [{ "name": "account", "internalType": "address", "type": "address", "indexed": true }, { "name": "withdrawTime", "internalType": "uint256", "type": "uint256", "indexed": false }] }, { "name": "StakeWithdrawn", "anonymous": false, "type": "event", "inputs": [{ "name": "account", "internalType": "address", "type": "address", "indexed": true }, { "name": "withdrawAddress", "internalType": "address", "type": "address", "indexed": false }, { "name": "amount", "internalType": "uint256", "type": "uint256", "indexed": false }] }, { "name": "UserOperationEvent", "anonymous": false, "type": "event", "inputs": [{ "name": "userOpHash", "internalType": "bytes32", "type": "bytes32", "indexed": true }, { "name": "sender", "internalType": "address", "type": "address", "indexed": true }, { "name": "paymaster", "internalType": "address", "type": "address", "indexed": true }, { "name": "nonce", "internalType": "uint256", "type": "uint256", "indexed": false }, { "name": "success", "internalType": "bool", "type": "bool", "indexed": false }, { "name": "actualGasCost", "internalType": "uint256", "type": "uint256", "indexed": false }, { "name": "actualGasUsed", "internalType": "uint256", "type": "uint256", "indexed": false }] }, { "name": "UserOperationRevertReason", "anonymous": false, "type": "event", "inputs": [{ "name": "userOpHash", "internalType": "bytes32", "type": "bytes32", "indexed": true }, { "name": "sender", "internalType": "address", "type": "address", "indexed": true }, { "name": "nonce", "internalType": "uint256", "type": "uint256", "indexed": false }, { "name": "revertReason", "internalType": "bytes", "type": "bytes", "indexed": false }] }, { "name": "Withdrawn", "anonymous": false, "type": "event", "inputs": [{ "name": "account", "internalType": "address", "type": "address", "indexed": true }, { "name": "withdrawAddress", "internalType": "address", "type": "address", "indexed": false }, { "name": "amount", "internalType": "uint256", "type": "uint256", "indexed": false }] }, { "name": "SIG_VALIDATION_FAILED", "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }], "stateMutability": "view", "type": "function", "inputs": [] }, { "name": "_validateSenderAndPaymaster", "outputs": [], "stateMutability": "view", "type": "function", "inputs": [{ "name": "initCode", "type": "bytes", "internalType": "bytes" }, { "name": "sender", "type": "address", "internalType": "address" }, { "name": "paymasterAndData", "type": "bytes", "internalType": "bytes" }] }, { "name": "addStake", "outputs": [], "stateMutability": "payable", "type": "function", "inputs": [{ "name": "unstakeDelaySec", "type": "uint32", "internalType": "uint32" }] }, { "name": "balanceOf", "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }], "stateMutability": "view", "type": "function", "inputs": [{ "name": "account", "type": "address", "internalType": "address" }] }, { "name": "depositTo", "outputs": [], "stateMutability": "payable", "type": "function", "inputs": [{ "name": "account", "type": "address", "internalType": "address" }] }, { "name": "deposits", "outputs": [{ "name": "deposit", "type": "uint112", "internalType": "uint112" }, { "name": "staked", "type": "bool", "internalType": "bool" }, { "name": "stake", "type": "uint112", "internalType": "uint112" }, { "name": "unstakeDelaySec", "type": "uint32", "internalType": "uint32" }, { "name": "withdrawTime", "type": "uint48", "internalType": "uint48" }], "stateMutability": "view", "type": "function", "inputs": [{ "name": "", "type": "address", "internalType": "address" }] }, { "name": "getDepositInfo", "outputs": [{ "name": "info", "components": [{ "name": "deposit", "type": "uint112", "internalType": "uint112" }, { "name": "staked", "type": "bool", "internalType": "bool" }, { "name": "stake", "type": "uint112", "internalType": "uint112" }, { "name": "unstakeDelaySec", "type": "uint32", "internalType": "uint32" }, { "name": "withdrawTime", "type": "uint48", "internalType": "uint48" }], "internalType": "structIStakeManager.DepositInfo", "type": "tuple" }], "stateMutability": "view", "type": "function", "inputs": [{ "name": "account", "type": "address", "internalType": "address" }] }, { "name": "getNonce", "outputs": [{ "name": "nonce", "type": "uint256", "internalType": "uint256" }], "stateMutability": "view", "type": "function", "inputs": [{ "name": "sender", "type": "address", "internalType": "address" }, { "name": "key", "type": "uint192", "internalType": "uint192" }] }, { "name": "getSenderAddress", "outputs": [], "stateMutability": "nonpayable", "type": "function", "inputs": [{ "name": "initCode", "type": "bytes", "internalType": "bytes" }] }, { "name": "getUserOpHash", "outputs": [{ "name": "", "type": "bytes32", "internalType": "bytes32" }], "stateMutability": "view", "type": "function", "inputs": [{ "name": "userOp", "components": [{ "name": "sender", "type": "address", "internalType": "address" }, { "name": "nonce", "type": "uint256", "internalType": "uint256" }, { "name": "initCode", "type": "bytes", "internalType": "bytes" }, { "name": "callData", "type": "bytes", "internalType": "bytes" }, { "name": "callGasLimit", "type": "uint256", "internalType": "uint256" }, { "name": "verificationGasLimit", "type": "uint256", "internalType": "uint256" }, { "name": "preVerificationGas", "type": "uint256", "internalType": "uint256" }, { "name": "maxFeePerGas", "type": "uint256", "internalType": "uint256" }, { "name": "maxPriorityFeePerGas", "type": "uint256", "internalType": "uint256" }, { "name": "paymasterAndData", "type": "bytes", "internalType": "bytes" }, { "name": "signature", "type": "bytes", "internalType": "bytes" }], "internalType": "structUserOperation", "type": "tuple" }] }, { "name": "handleAggregatedOps", "outputs": [], "stateMutability": "nonpayable", "type": "function", "inputs": [{ "name": "opsPerAggregator", "components": [{ "name": "userOps", "components": [{ "name": "sender", "type": "address", "internalType": "address" }, { "name": "nonce", "type": "uint256", "internalType": "uint256" }, { "name": "initCode", "type": "bytes", "internalType": "bytes" }, { "name": "callData", "type": "bytes", "internalType": "bytes" }, { "name": "callGasLimit", "type": "uint256", "internalType": "uint256" }, { "name": "verificationGasLimit", "type": "uint256", "internalType": "uint256" }, { "name": "preVerificationGas", "type": "uint256", "internalType": "uint256" }, { "name": "maxFeePerGas", "type": "uint256", "internalType": "uint256" }, { "name": "maxPriorityFeePerGas", "type": "uint256", "internalType": "uint256" }, { "name": "paymasterAndData", "type": "bytes", "internalType": "bytes" }, { "name": "signature", "type": "bytes", "internalType": "bytes" }], "internalType": "structUserOperation[]", "type": "tuple[]" }, { "name": "aggregator", "type": "address", "internalType": "contractIAggregator" }, { "name": "signature", "type": "bytes", "internalType": "bytes" }], "internalType": "structIEntryPoint.UserOpsPerAggregator[]", "type": "tuple[]" }, { "name": "beneficiary", "type": "address", "internalType": "addresspayable" }] }, { "name": "handleOps", "outputs": [], "stateMutability": "nonpayable", "type": "function", "inputs": [{ "name": "ops", "components": [{ "name": "sender", "type": "address", "internalType": "address" }, { "name": "nonce", "type": "uint256", "internalType": "uint256" }, { "name": "initCode", "type": "bytes", "internalType": "bytes" }, { "name": "callData", "type": "bytes", "internalType": "bytes" }, { "name": "callGasLimit", "type": "uint256", "internalType": "uint256" }, { "name": "verificationGasLimit", "type": "uint256", "internalType": "uint256" }, { "name": "preVerificationGas", "type": "uint256", "internalType": "uint256" }, { "name": "maxFeePerGas", "type": "uint256", "internalType": "uint256" }, { "name": "maxPriorityFeePerGas", "type": "uint256", "internalType": "uint256" }, { "name": "paymasterAndData", "type": "bytes", "internalType": "bytes" }, { "name": "signature", "type": "bytes", "internalType": "bytes" }], "internalType": "structUserOperation[]", "type": "tuple[]" }, { "name": "beneficiary", "type": "address", "internalType": "addresspayable" }] }, { "name": "incrementNonce", "outputs": [], "stateMutability": "nonpayable", "type": "function", "inputs": [{ "name": "key", "type": "uint192", "internalType": "uint192" }] }, { "name": "innerHandleOp", "outputs": [{ "name": "actualGasCost", "type": "uint256", "internalType": "uint256" }], "stateMutability": "nonpayable", "type": "function", "inputs": [{ "name": "callData", "type": "bytes", "internalType": "bytes" }, { "name": "opInfo", "components": [{ "name": "mUserOp", "components": [{ "name": "sender", "type": "address", "internalType": "address" }, { "name": "nonce", "type": "uint256", "internalType": "uint256" }, { "name": "callGasLimit", "type": "uint256", "internalType": "uint256" }, { "name": "verificationGasLimit", "type": "uint256", "internalType": "uint256" }, { "name": "preVerificationGas", "type": "uint256", "internalType": "uint256" }, { "name": "paymaster", "type": "address", "internalType": "address" }, { "name": "maxFeePerGas", "type": "uint256", "internalType": "uint256" }, { "name": "maxPriorityFeePerGas", "type": "uint256", "internalType": "uint256" }], "internalType": "structEntryPoint.MemoryUserOp", "type": "tuple" }, { "name": "userOpHash", "type": "bytes32", "internalType": "bytes32" }, { "name": "prefund", "type": "uint256", "internalType": "uint256" }, { "name": "contextOffset", "type": "uint256", "internalType": "uint256" }, { "name": "preOpGas", "type": "uint256", "internalType": "uint256" }], "internalType": "structEntryPoint.UserOpInfo", "type": "tuple" }, { "name": "context", "type": "bytes", "internalType": "bytes" }] }, { "name": "nonceSequenceNumber", "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }], "stateMutability": "view", "type": "function", "inputs": [{ "name": "", "type": "address", "internalType": "address" }, { "name": "", "type": "uint192", "internalType": "uint192" }] }, { "name": "simulateHandleOp", "outputs": [], "stateMutability": "nonpayable", "type": "function", "inputs": [{ "name": "op", "components": [{ "name": "sender", "type": "address", "internalType": "address" }, { "name": "nonce", "type": "uint256", "internalType": "uint256" }, { "name": "initCode", "type": "bytes", "internalType": "bytes" }, { "name": "callData", "type": "bytes", "internalType": "bytes" }, { "name": "callGasLimit", "type": "uint256", "internalType": "uint256" }, { "name": "verificationGasLimit", "type": "uint256", "internalType": "uint256" }, { "name": "preVerificationGas", "type": "uint256", "internalType": "uint256" }, { "name": "maxFeePerGas", "type": "uint256", "internalType": "uint256" }, { "name": "maxPriorityFeePerGas", "type": "uint256", "internalType": "uint256" }, { "name": "paymasterAndData", "type": "bytes", "internalType": "bytes" }, { "name": "signature", "type": "bytes", "internalType": "bytes" }], "internalType": "structUserOperation", "type": "tuple" }, { "name": "target", "type": "address", "internalType": "address" }, { "name": "targetCallData", "type": "bytes", "internalType": "bytes" }] }, { "name": "simulateValidation", "outputs": [], "stateMutability": "nonpayable", "type": "function", "inputs": [{ "name": "userOp", "components": [{ "name": "sender", "type": "address", "internalType": "address" }, { "name": "nonce", "type": "uint256", "internalType": "uint256" }, { "name": "initCode", "type": "bytes", "internalType": "bytes" }, { "name": "callData", "type": "bytes", "internalType": "bytes" }, { "name": "callGasLimit", "type": "uint256", "internalType": "uint256" }, { "name": "verificationGasLimit", "type": "uint256", "internalType": "uint256" }, { "name": "preVerificationGas", "type": "uint256", "internalType": "uint256" }, { "name": "maxFeePerGas", "type": "uint256", "internalType": "uint256" }, { "name": "maxPriorityFeePerGas", "type": "uint256", "internalType": "uint256" }, { "name": "paymasterAndData", "type": "bytes", "internalType": "bytes" }, { "name": "signature", "type": "bytes", "internalType": "bytes" }], "internalType": "structUserOperation", "type": "tuple" }] }, { "name": "unlockStake", "outputs": [], "stateMutability": "nonpayable", "type": "function", "inputs": [] }, { "name": "withdrawStake", "outputs": [], "stateMutability": "nonpayable", "type": "function", "inputs": [{ "name": "withdrawAddress", "type": "address", "internalType": "addresspayable" }] }, { "name": "withdrawTo", "outputs": [], "stateMutability": "nonpayable", "type": "function", "inputs": [{ "name": "withdrawAddress", "type": "address", "internalType": "addresspayable" }, { "name": "withdrawAmount", "type": "uint256", "internalType": "uint256" }] }, { "type": "receive", "stateMutability": "payable" }], "addresses": { "1": "0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789", "5": "0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789", "10": "0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789", "137": "0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789", "8453": "0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789", "36865": "0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789", "42161": "0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789",
"421614": "0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789" } }

@@ -1,1 +0,1 @@

{ "name": "EstimationPaymaster", "abi": [{ "inputs": [{ "internalType": "contract IEntryPoint", "name": "_entryPoint", "type": "address" }], "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "previousOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" }], "name": "OwnershipTransferStarted", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "previousOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" }], "name": "OwnershipTransferred", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "contract IEntryPoint", "name": "entryPoint", "type": "address" }], "name": "PaymasterCreated", "type": "event" }, { "inputs": [], "name": "acceptOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "sponsor", "type": "address" }], "name": "addDepositTo", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "unstakeDelaySec", "type": "uint32" }], "name": "addStakeToEntryPoint", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "", "type": "address" }], "name": "balances", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "entryPoint", "outputs": [{ "internalType": "contract IEntryPoint", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "pendingOwner", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "enum IPaymaster.PostOpMode", "name": "mode", "type": "uint8" }, { "internalType": "bytes", "name": "context", "type": "bytes" }, { "internalType": "uint256", "name": "actualGasCost", "type": "uint256" }], "name": "postOp", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "newOwner", "type": "address" }], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "unlockStakeFromEntryPoint", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "components": [{ "internalType": "address", "name": "sender", "type": "address" }, { "internalType": "uint256", "name": "nonce", "type": "uint256" }, { "internalType": "bytes", "name": "initCode", "type": "bytes" }, { "internalType": "bytes", "name": "callData", "type": "bytes" }, { "internalType": "uint256", "name": "callGasLimit", "type": "uint256" }, { "internalType": "uint256", "name": "verificationGasLimit", "type": "uint256" }, { "internalType": "uint256", "name": "preVerificationGas", "type": "uint256" }, { "internalType": "uint256", "name": "maxFeePerGas", "type": "uint256" }, { "internalType": "uint256", "name": "maxPriorityFeePerGas", "type": "uint256" }, { "internalType": "bytes", "name": "paymasterAndData", "type": "bytes" }, { "internalType": "bytes", "name": "signature", "type": "bytes" }], "internalType": "struct UserOperation", "name": "userOp", "type": "tuple" }, { "internalType": "bytes32", "name": "userOpHash", "type": "bytes32" }, { "internalType": "uint256", "name": "maxCost", "type": "uint256" }], "name": "validatePaymasterUserOp", "outputs": [{ "internalType": "bytes", "name": "context", "type": "bytes" }, { "internalType": "uint256", "name": "sigTimeRange", "type": "uint256" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "amount", "type": "uint256" }, { "internalType": "address payable", "name": "target", "type": "address" }], "name": "withdrawDepositTo", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address payable", "name": "withdrawAddress", "type": "address" }], "name": "withdrawStakeFromEntryPoint", "outputs": [], "stateMutability": "nonpayable", "type": "function" }], "addresses": { "1": "0xe1B7B9d686948745a6425DF97a6480f5Bf75e508", "5": "0x85c7e575Ee64A30e15eB76cCEc9bdD7cc59A8D5C", "10": "0x1B374E0b0bc3b8F1613a67C0b805Bc84e66E4F1F", "137": "0xf6355d83c559f0Ff373C7E0A8FD6c014076E1118", "8453": "0x3053451A384524C57dAF9420f8d8b8464555E1e8", "36865": "0xe1B7B9d686948745a6425DF97a6480f5Bf75e508", "42161": "0x5ceb145d53841d2f6255fE668e5eBbd286B2C862" } }
{ "name": "EstimationPaymaster", "abi": [{ "inputs": [{ "internalType": "contract IEntryPoint", "name": "_entryPoint", "type": "address" }], "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "previousOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" }], "name": "OwnershipTransferStarted", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "previousOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" }], "name": "OwnershipTransferred", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "contract IEntryPoint", "name": "entryPoint", "type": "address" }], "name": "PaymasterCreated", "type": "event" }, { "inputs": [], "name": "acceptOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "sponsor", "type": "address" }], "name": "addDepositTo", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "unstakeDelaySec", "type": "uint32" }], "name": "addStakeToEntryPoint", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "", "type": "address" }], "name": "balances", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "entryPoint", "outputs": [{ "internalType": "contract IEntryPoint", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "pendingOwner", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "enum IPaymaster.PostOpMode", "name": "mode", "type": "uint8" }, { "internalType": "bytes", "name": "context", "type": "bytes" }, { "internalType": "uint256", "name": "actualGasCost", "type": "uint256" }], "name": "postOp", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "newOwner", "type": "address" }], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "unlockStakeFromEntryPoint", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "components": [{ "internalType": "address", "name": "sender", "type": "address" }, { "internalType": "uint256", "name": "nonce", "type": "uint256" }, { "internalType": "bytes", "name": "initCode", "type": "bytes" }, { "internalType": "bytes", "name": "callData", "type": "bytes" }, { "internalType": "uint256", "name": "callGasLimit", "type": "uint256" }, { "internalType": "uint256", "name": "verificationGasLimit", "type": "uint256" }, { "internalType": "uint256", "name": "preVerificationGas", "type": "uint256" }, { "internalType": "uint256", "name": "maxFeePerGas", "type": "uint256" }, { "internalType": "uint256", "name": "maxPriorityFeePerGas", "type": "uint256" }, { "internalType": "bytes", "name": "paymasterAndData", "type": "bytes" }, { "internalType": "bytes", "name": "signature", "type": "bytes" }], "internalType": "struct UserOperation", "name": "userOp", "type": "tuple" }, { "internalType": "bytes32", "name": "userOpHash", "type": "bytes32" }, { "internalType": "uint256", "name": "maxCost", "type": "uint256" }], "name": "validatePaymasterUserOp", "outputs": [{ "internalType": "bytes", "name": "context", "type": "bytes" }, { "internalType": "uint256", "name": "sigTimeRange", "type": "uint256" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "amount", "type": "uint256" }, { "internalType": "address payable", "name": "target", "type": "address" }], "name": "withdrawDepositTo", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address payable", "name": "withdrawAddress", "type": "address" }], "name": "withdrawStakeFromEntryPoint", "outputs": [], "stateMutability": "nonpayable", "type": "function" }], "addresses": { "1": "0xe1B7B9d686948745a6425DF97a6480f5Bf75e508", "5": "0x85c7e575Ee64A30e15eB76cCEc9bdD7cc59A8D5C", "10": "0x1B374E0b0bc3b8F1613a67C0b805Bc84e66E4F1F", "137": "0xf6355d83c559f0Ff373C7E0A8FD6c014076E1118", "8453": "0x3053451A384524C57dAF9420f8d8b8464555E1e8", "36865": "0xe1B7B9d686948745a6425DF97a6480f5Bf75e508", "42161": "0x5ceb145d53841d2f6255fE668e5eBbd286B2C862", "421614": "0x3358b49b92b8E23552093a6E53164b6b85245C73" } }

@@ -1,1 +0,1 @@

{ "name": "FeePercentOracle", "abi": [{ "inputs": [{ "internalType": "address", "name": "owner", "type": "address" }], "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "token", "type": "address" }, { "indexed": true, "internalType": "address", "name": "to", "type": "address" }, { "indexed": true, "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "Erc20Withdrawn", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "uint256", "name": "amount", "type": "uint256" }, { "indexed": true, "internalType": "address", "name": "to", "type": "address" }], "name": "EthWithdrawn", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "uint120", "name": "feepercent", "type": "uint120" }, { "indexed": true, "internalType": "uint8", "name": "decimals", "type": "uint8" }], "name": "FeePercentSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "previousOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" }], "name": "OwnershipTransferStarted", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "previousOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" }], "name": "OwnershipTransferred", "type": "event" }, { "inputs": [], "name": "acceptOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "decimals", "outputs": [{ "internalType": "uint8", "name": "", "type": "uint8" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "feepercent", "outputs": [{ "internalType": "uint120", "name": "", "type": "uint120" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "getFee", "outputs": [{ "internalType": "uint256", "name": "funCut", "type": "uint256" }, { "internalType": "uint256", "name": "recipCut", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "pendingOwner", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint120", "name": "_feepercent", "type": "uint120" }, { "internalType": "uint8", "name": "_decimals", "type": "uint8" }], "name": "setValues", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "newOwner", "type": "address" }], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "token", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "withdrawErc", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "withdrawEth", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "stateMutability": "payable", "type": "receive" }], "addresses": { "1": "0x118c66c1D05F80784E164541b1556045c9018261", "5": "0xDDcD7DF0558536472eD448846C6608bace86f7aC", "10": "0xDDcD7DF0558536472eD448846C6608bace86f7aC", "137": "0xDDcD7DF0558536472eD448846C6608bace86f7aC", "8453": "0xDDcD7DF0558536472eD448846C6608bace86f7aC", "36865": "0x118c66c1D05F80784E164541b1556045c9018261", "42161": "0xDDcD7DF0558536472eD448846C6608bace86f7aC" } }
{ "name": "FeePercentOracle", "abi": [{ "inputs": [{ "internalType": "address", "name": "owner", "type": "address" }], "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "token", "type": "address" }, { "indexed": true, "internalType": "address", "name": "to", "type": "address" }, { "indexed": true, "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "Erc20Withdrawn", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "uint256", "name": "amount", "type": "uint256" }, { "indexed": true, "internalType": "address", "name": "to", "type": "address" }], "name": "EthWithdrawn", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "uint120", "name": "feepercent", "type": "uint120" }, { "indexed": true, "internalType": "uint8", "name": "decimals", "type": "uint8" }], "name": "FeePercentSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "previousOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" }], "name": "OwnershipTransferStarted", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "previousOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" }], "name": "OwnershipTransferred", "type": "event" }, { "inputs": [], "name": "acceptOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "decimals", "outputs": [{ "internalType": "uint8", "name": "", "type": "uint8" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "feepercent", "outputs": [{ "internalType": "uint120", "name": "", "type": "uint120" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "getFee", "outputs": [{ "internalType": "uint256", "name": "funCut", "type": "uint256" }, { "internalType": "uint256", "name": "recipCut", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "pendingOwner", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint120", "name": "_feepercent", "type": "uint120" }, { "internalType": "uint8", "name": "_decimals", "type": "uint8" }], "name": "setValues", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "newOwner", "type": "address" }], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "token", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "withdrawErc", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "withdrawEth", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "stateMutability": "payable", "type": "receive" }], "addresses": { "1": "0x118c66c1D05F80784E164541b1556045c9018261", "5": "0xDDcD7DF0558536472eD448846C6608bace86f7aC", "10": "0xDDcD7DF0558536472eD448846C6608bace86f7aC", "137": "0xDDcD7DF0558536472eD448846C6608bace86f7aC", "8453": "0xDDcD7DF0558536472eD448846C6608bace86f7aC", "36865": "0x118c66c1D05F80784E164541b1556045c9018261", "42161": "0xDDcD7DF0558536472eD448846C6608bace86f7aC", "421614": "0x35b87597d54AF4ADb112464623478cC72F842825" } }

@@ -1,1 +0,2 @@

{ "name": "FunWallet", "abi": [{ "inputs": [], "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "address", "name": "previousAdmin", "type": "address" }, { "indexed": false, "internalType": "address", "name": "newAdmin", "type": "address" }], "name": "AdminChanged", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "beacon", "type": "address" }], "name": "BeaconUpgraded", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "DepositToEntryPoint", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "newEntryPoint", "type": "address" }], "name": "EntryPointChanged", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint8", "name": "version", "type": "uint8" }], "name": "Initialized", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "token", "type": "address" }, { "indexed": true, "internalType": "address", "name": "dest", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "TransferERC20", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "implementation", "type": "address" }], "name": "Upgraded", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "bytes32", "name": "userOpHash", "type": "bytes32" }, { "components": [{ "internalType": "address", "name": "sender", "type": "address" }, { "internalType": "uint256", "name": "nonce", "type": "uint256" }, { "internalType": "bytes", "name": "initCode", "type": "bytes" }, { "internalType": "bytes", "name": "callData", "type": "bytes" }, { "internalType": "uint256", "name": "callGasLimit", "type": "uint256" }, { "internalType": "uint256", "name": "verificationGasLimit", "type": "uint256" }, { "internalType": "uint256", "name": "preVerificationGas", "type": "uint256" }, { "internalType": "uint256", "name": "maxFeePerGas", "type": "uint256" }, { "internalType": "uint256", "name": "maxPriorityFeePerGas", "type": "uint256" }, { "internalType": "bytes", "name": "paymasterAndData", "type": "bytes" }, { "internalType": "bytes", "name": "signature", "type": "bytes" }], "indexed": false, "internalType": "structUserOperation", "name": "userOp", "type": "tuple" }, { "indexed": false, "internalType": "uint256", "name": "sigTimeRange", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "missingAccountFunds", "type": "uint256" }], "name": "UserOpValidated", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "withdrawAddress", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "WithdrawFromEntryPoint", "type": "event" }, { "inputs": [], "name": "EIP712_DOMAIN", "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "PERMIT_TYPEHASH", "outputs": [{ "internalType": "string", "name": "", "type": "string" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "VERSION", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "validation", "type": "address" }, { "internalType": "bytes", "name": "initdata", "type": "bytes" }], "name": "addValidation", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "depositToEntryPoint", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "entryPoint", "outputs": [{ "internalType": "contractIEntryPoint", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "dest", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" }, { "internalType": "bytes", "name": "data", "type": "bytes" }], "name": "execFromEntryPoint", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "dest", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" }, { "internalType": "bytes", "name": "data", "type": "bytes" }, { "components": [{ "internalType": "address", "name": "token", "type": "address" }, { "internalType": "addresspayable", "name": "recipient", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }], "internalType": "structUserOperationFee", "name": "feedata", "type": "tuple" }], "name": "execFromEntryPointWithFee", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "dest", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" }, { "internalType": "bytes", "name": "data", "type": "bytes" }], "name": "execFromModule", "outputs": [{ "internalType": "bytes", "name": "", "type": "bytes" }], "stateMutability": "payable", "type": "function" }, { "inputs": [{ "internalType": "address[]", "name": "dest", "type": "address[]" }, { "internalType": "uint256[]", "name": "value", "type": "uint256[]" }, { "internalType": "bytes[]", "name": "data", "type": "bytes[]" }], "name": "executeBatch", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "factory", "outputs": [{ "internalType": "contractIFunWalletFactory", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "validation", "type": "address" }], "name": "getNextValidation", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "key", "type": "uint32" }], "name": "getNonce", "outputs": [{ "internalType": "uint256", "name": "out", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "token", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }, { "internalType": "uint256", "name": "nonce", "type": "uint256" }], "name": "getPermitHash", "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "key", "type": "bytes32" }], "name": "getState", "outputs": [{ "internalType": "bytes", "name": "", "type": "bytes" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "key", "type": "bytes32" }], "name": "getState32", "outputs": [{ "internalType": "bytes32", "name": "out", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "key", "type": "bytes32" }, { "internalType": "address", "name": "addr", "type": "address" }], "name": "getState32WithAddr", "outputs": [{ "internalType": "bytes32", "name": "out", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getValidationCount", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getValidations", "outputs": [{ "internalType": "address[]", "name": "", "type": "address[]" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "bytes", "name": "validationData", "type": "bytes" }], "name": "initValidations", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "contractIEntryPoint", "name": "_newEntryPoint", "type": "address" }, { "internalType": "bytes", "name": "validationInitData", "type": "bytes" }], "name": "initialize", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "target", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" }, { "internalType": "bytes", "name": "data", "type": "bytes" }, { "internalType": "bytes", "name": "signature", "type": "bytes" }, { "internalType": "bytes32", "name": "_hash", "type": "bytes32" }], "name": "isValidAction", "outputs": [{ "internalType": "uint256", "name": "out", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "validation", "type": "address" }], "name": "isValidation", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "", "type": "address" }, { "internalType": "address", "name": "", "type": "address" }, { "internalType": "uint256[]", "name": "", "type": "uint256[]" }, { "internalType": "uint256[]", "name": "", "type": "uint256[]" }, { "internalType": "bytes", "name": "", "type": "bytes" }], "name": "onERC1155BatchReceived", "outputs": [{ "internalType": "bytes4", "name": "", "type": "bytes4" }], "stateMutability": "pure", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "", "type": "address" }, { "internalType": "address", "name": "", "type": "address" }, { "internalType": "uint256", "name": "", "type": "uint256" }, { "internalType": "uint256", "name": "", "type": "uint256" }, { "internalType": "bytes", "name": "", "type": "bytes" }], "name": "onERC1155Received", "outputs": [{ "internalType": "bytes4", "name": "", "type": "bytes4" }], "stateMutability": "pure", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "", "type": "address" }, { "internalType": "address", "name": "", "type": "address" }, { "internalType": "uint256", "name": "", "type": "uint256" }, { "internalType": "bytes", "name": "", "type": "bytes" }], "name": "onERC721Received", "outputs": [{ "internalType": "bytes4", "name": "", "type": "bytes4" }], "stateMutability": "pure", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "", "type": "uint32" }], "name": "permitNonces", "outputs": [{ "internalType": "uint224", "name": "", "type": "uint224" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "token", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }, { "internalType": "uint256", "name": "nonce", "type": "uint256" }, { "internalType": "bytes", "name": "sig", "type": "bytes" }], "name": "permitTransfer", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "proxiableUUID", "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "prevValidation", "type": "address" }, { "internalType": "address", "name": "validation", "type": "address" }], "name": "removeValidation", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "salt", "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "key", "type": "bytes32" }, { "internalType": "bytes", "name": "val", "type": "bytes" }], "name": "setState", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "key", "type": "bytes32" }, { "internalType": "bytes32", "name": "val", "type": "bytes32" }], "name": "setState32", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "bytes4", "name": "interfaceId", "type": "bytes4" }], "name": "supportsInterface", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "", "type": "address" }, { "internalType": "address", "name": "", "type": "address" }, { "internalType": "address", "name": "", "type": "address" }, { "internalType": "uint256", "name": "", "type": "uint256" }, { "internalType": "bytes", "name": "", "type": "bytes" }, { "internalType": "bytes", "name": "", "type": "bytes" }], "name": "tokensReceived", "outputs": [], "stateMutability": "pure", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "token", "type": "address" }, { "internalType": "address", "name": "dest", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "transferErc20", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "contractIEntryPoint", "name": "_newEntryPoint", "type": "address" }], "name": "updateEntryPoint", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "prevValidation", "type": "address" }, { "internalType": "address", "name": "oldValidation", "type": "address" }, { "internalType": "address", "name": "newValidation", "type": "address" }, { "internalType": "bytes", "name": "newValidationInitData", "type": "bytes" }], "name": "updateValidation", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "newImplementation", "type": "address" }], "name": "upgradeTo", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "newImplementation", "type": "address" }, { "internalType": "bytes", "name": "data", "type": "bytes" }], "name": "upgradeToAndCall", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "token", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }, { "internalType": "uint256", "name": "nonce", "type": "uint256" }, { "internalType": "bytes", "name": "sig", "type": "bytes" }], "name": "validatePermit", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "components": [{ "internalType": "address", "name": "sender", "type": "address" }, { "internalType": "uint256", "name": "nonce", "type": "uint256" }, { "internalType": "bytes", "name": "initCode", "type": "bytes" }, { "internalType": "bytes", "name": "callData", "type": "bytes" }, { "internalType": "uint256", "name": "callGasLimit", "type": "uint256" }, { "internalType": "uint256", "name": "verificationGasLimit", "type": "uint256" }, { "internalType": "uint256", "name": "preVerificationGas", "type": "uint256" }, { "internalType": "uint256", "name": "maxFeePerGas", "type": "uint256" }, { "internalType": "uint256", "name": "maxPriorityFeePerGas", "type": "uint256" }, { "internalType": "bytes", "name": "paymasterAndData", "type": "bytes" }, { "internalType": "bytes", "name": "signature", "type": "bytes" }], "internalType": "structUserOperation", "name": "userOp", "type": "tuple" }, { "internalType": "bytes32", "name": "userOpHash", "type": "bytes32" }, { "internalType": "uint256", "name": "missingAccountFunds", "type": "uint256" }], "name": "validateUserOp", "outputs": [{ "internalType": "uint256", "name": "sigTimeRange", "type": "uint256" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "addresspayable", "name": "withdrawAddress", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "withdrawFromEntryPoint", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "stateMutability": "payable", "type": "receive" }], "transactionHash": "0x3cb26c07f0cb0d58012d0656fab8f35d7b930a991eb898dcce9e656182884531", "addresses": { "1": "0xc42F0Eb7FFBAeAce750CEfE83f32c5DBC219681D", "5": "0xc42F0Eb7FFBAeAce750CEfE83f32c5DBC219681D", "10": "0xc42F0Eb7FFBAeAce750CEfE83f32c5DBC219681D", "137": "0xc42F0Eb7FFBAeAce750CEfE83f32c5DBC219681D", "8453": "0xc42F0Eb7FFBAeAce750CEfE83f32c5DBC219681D", "36865": "0xc42F0Eb7FFBAeAce750CEfE83f32c5DBC219681D", "42161": "0xc42F0Eb7FFBAeAce750CEfE83f32c5DBC219681D" } }
{ "name": "FunWallet", "abi": [{ "inputs": [], "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "address", "name": "previousAdmin", "type": "address" }, { "indexed": false, "internalType": "address", "name": "newAdmin", "type": "address" }], "name": "AdminChanged", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "beacon", "type": "address" }], "name": "BeaconUpgraded", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "DepositToEntryPoint", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "newEntryPoint", "type": "address" }], "name": "EntryPointChanged", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint8", "name": "version", "type": "uint8" }], "name": "Initialized", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "token", "type": "address" }, { "indexed": true, "internalType": "address", "name": "dest", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "TransferERC20", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "implementation", "type": "address" }], "name": "Upgraded", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "bytes32", "name": "userOpHash", "type": "bytes32" }, { "components": [{ "internalType": "address", "name": "sender", "type": "address" }, { "internalType": "uint256", "name": "nonce", "type": "uint256" }, { "internalType": "bytes", "name": "initCode", "type": "bytes" }, { "internalType": "bytes", "name": "callData", "type": "bytes" }, { "internalType": "uint256", "name": "callGasLimit", "type": "uint256" }, { "internalType": "uint256", "name": "verificationGasLimit", "type": "uint256" }, { "internalType": "uint256", "name": "preVerificationGas", "type": "uint256" }, { "internalType": "uint256", "name": "maxFeePerGas", "type": "uint256" }, { "internalType": "uint256", "name": "maxPriorityFeePerGas", "type": "uint256" }, { "internalType": "bytes", "name": "paymasterAndData", "type": "bytes" }, { "internalType": "bytes", "name": "signature", "type": "bytes" }], "indexed": false, "internalType": "structUserOperation", "name": "userOp", "type": "tuple" }, { "indexed": false, "internalType": "uint256", "name": "sigTimeRange", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "missingAccountFunds", "type": "uint256" }], "name": "UserOpValidated", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "withdrawAddress", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "WithdrawFromEntryPoint", "type": "event" }, { "inputs": [], "name": "EIP712_DOMAIN", "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "PERMIT_TYPEHASH", "outputs": [{ "internalType": "string", "name": "", "type": "string" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "VERSION", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "validation", "type": "address" }, { "internalType": "bytes", "name": "initdata", "type": "bytes" }], "name": "addValidation", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "depositToEntryPoint", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "entryPoint", "outputs": [{ "internalType": "contractIEntryPoint", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "dest", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" }, { "internalType": "bytes", "name": "data", "type": "bytes" }], "name": "execFromEntryPoint", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "dest", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" }, { "internalType": "bytes", "name": "data", "type": "bytes" }, { "components": [{ "internalType": "address", "name": "token", "type": "address" }, { "internalType": "addresspayable", "name": "recipient", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }], "internalType": "structUserOperationFee", "name": "feedata", "type": "tuple" }], "name": "execFromEntryPointWithFee", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "dest", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" }, { "internalType": "bytes", "name": "data", "type": "bytes" }], "name": "execFromModule", "outputs": [{ "internalType": "bytes", "name": "", "type": "bytes" }], "stateMutability": "payable", "type": "function" }, { "inputs": [{ "internalType": "address[]", "name": "dest", "type": "address[]" }, { "internalType": "uint256[]", "name": "value", "type": "uint256[]" }, { "internalType": "bytes[]", "name": "data", "type": "bytes[]" }], "name": "executeBatch", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "factory", "outputs": [{ "internalType": "contractIFunWalletFactory", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "validation", "type": "address" }], "name": "getNextValidation", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "key", "type": "uint32" }], "name": "getNonce", "outputs": [{ "internalType": "uint256", "name": "out", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "token", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }, { "internalType": "uint256", "name": "nonce", "type": "uint256" }], "name": "getPermitHash", "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "key", "type": "bytes32" }], "name": "getState", "outputs": [{ "internalType": "bytes", "name": "", "type": "bytes" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "key", "type": "bytes32" }], "name": "getState32", "outputs": [{ "internalType": "bytes32", "name": "out", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "key", "type": "bytes32" }, { "internalType": "address", "name": "addr", "type": "address" }], "name": "getState32WithAddr", "outputs": [{ "internalType": "bytes32", "name": "out", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getValidationCount", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getValidations", "outputs": [{ "internalType": "address[]", "name": "", "type": "address[]" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "bytes", "name": "validationData", "type": "bytes" }], "name": "initValidations", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "contractIEntryPoint", "name": "_newEntryPoint", "type": "address" }, { "internalType": "bytes", "name": "validationInitData", "type": "bytes" }], "name": "initialize", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "target", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" }, { "internalType": "bytes", "name": "data", "type": "bytes" }, { "internalType": "bytes", "name": "signature", "type": "bytes" }, { "internalType": "bytes32", "name": "_hash", "type": "bytes32" }], "name": "isValidAction", "outputs": [{ "internalType": "uint256", "name": "out", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "validation", "type": "address" }], "name": "isValidation", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "", "type": "address" }, { "internalType": "address", "name": "", "type": "address" }, { "internalType": "uint256[]", "name": "", "type": "uint256[]" }, { "internalType": "uint256[]", "name": "", "type": "uint256[]" }, { "internalType": "bytes", "name": "", "type": "bytes" }], "name": "onERC1155BatchReceived", "outputs": [{ "internalType": "bytes4", "name": "", "type": "bytes4" }], "stateMutability": "pure", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "", "type": "address" }, { "internalType": "address", "name": "", "type": "address" }, { "internalType": "uint256", "name": "", "type": "uint256" }, { "internalType": "uint256", "name": "", "type": "uint256" }, { "internalType": "bytes", "name": "", "type": "bytes" }], "name": "onERC1155Received", "outputs": [{ "internalType": "bytes4", "name": "", "type": "bytes4" }], "stateMutability": "pure", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "", "type": "address" }, { "internalType": "address", "name": "", "type": "address" }, { "internalType": "uint256", "name": "", "type": "uint256" }, { "internalType": "bytes", "name": "", "type": "bytes" }], "name": "onERC721Received", "outputs": [{ "internalType": "bytes4", "name": "", "type": "bytes4" }], "stateMutability": "pure", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "", "type": "uint32" }], "name": "permitNonces", "outputs": [{ "internalType": "uint224", "name": "", "type": "uint224" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "token", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }, { "internalType": "uint256", "name": "nonce", "type": "uint256" }, { "internalType": "bytes", "name": "sig", "type": "bytes" }], "name": "permitTransfer", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "proxiableUUID", "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "prevValidation", "type": "address" }, { "internalType": "address", "name": "validation", "type": "address" }], "name": "removeValidation", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "salt", "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "key", "type": "bytes32" }, { "internalType": "bytes", "name": "val", "type": "bytes" }], "name": "setState", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "key", "type": "bytes32" }, { "internalType": "bytes32", "name": "val", "type": "bytes32" }], "name": "setState32", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "bytes4", "name": "interfaceId", "type": "bytes4" }], "name": "supportsInterface", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "", "type": "address" }, { "internalType": "address", "name": "", "type": "address" }, { "internalType": "address", "name": "", "type": "address" }, { "internalType": "uint256", "name": "", "type": "uint256" }, { "internalType": "bytes", "name": "", "type": "bytes" }, { "internalType": "bytes", "name": "", "type": "bytes" }], "name": "tokensReceived", "outputs": [], "stateMutability": "pure", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "token", "type": "address" }, { "internalType": "address", "name": "dest", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "transferErc20", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "contractIEntryPoint", "name": "_newEntryPoint", "type": "address" }], "name": "updateEntryPoint", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "prevValidation", "type": "address" }, { "internalType": "address", "name": "oldValidation", "type": "address" }, { "internalType": "address", "name": "newValidation", "type": "address" }, { "internalType": "bytes", "name": "newValidationInitData", "type": "bytes" }], "name": "updateValidation", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "newImplementation", "type": "address" }], "name": "upgradeTo", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "newImplementation", "type": "address" }, { "internalType": "bytes", "name": "data", "type": "bytes" }], "name": "upgradeToAndCall", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "token", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }, { "internalType": "uint256", "name": "nonce", "type": "uint256" }, { "internalType": "bytes", "name": "sig", "type": "bytes" }], "name": "validatePermit", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "components": [{ "internalType": "address", "name": "sender", "type": "address" }, { "internalType": "uint256", "name": "nonce", "type": "uint256" }, { "internalType": "bytes", "name": "initCode", "type": "bytes" }, { "internalType": "bytes", "name": "callData", "type": "bytes" }, { "internalType": "uint256", "name": "callGasLimit", "type": "uint256" }, { "internalType": "uint256", "name": "verificationGasLimit", "type": "uint256" }, { "internalType": "uint256", "name": "preVerificationGas", "type": "uint256" }, { "internalType": "uint256", "name": "maxFeePerGas", "type": "uint256" }, { "internalType": "uint256", "name": "maxPriorityFeePerGas", "type": "uint256" }, { "internalType": "bytes", "name": "paymasterAndData", "type": "bytes" }, { "internalType": "bytes", "name": "signature", "type": "bytes" }], "internalType": "structUserOperation", "name": "userOp", "type": "tuple" }, { "internalType": "bytes32", "name": "userOpHash", "type": "bytes32" }, { "internalType": "uint256", "name": "missingAccountFunds", "type": "uint256" }], "name": "validateUserOp", "outputs": [{ "internalType": "uint256", "name": "sigTimeRange", "type": "uint256" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "addresspayable", "name": "withdrawAddress", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "withdrawFromEntryPoint", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "stateMutability": "payable", "type": "receive" }], "transactionHash": "0x3cb26c07f0cb0d58012d0656fab8f35d7b930a991eb898dcce9e656182884531", "addresses": { "1": "0xc42F0Eb7FFBAeAce750CEfE83f32c5DBC219681D", "5": "0xc42F0Eb7FFBAeAce750CEfE83f32c5DBC219681D", "10": "0xc42F0Eb7FFBAeAce750CEfE83f32c5DBC219681D", "137": "0xc42F0Eb7FFBAeAce750CEfE83f32c5DBC219681D", "8453": "0xc42F0Eb7FFBAeAce750CEfE83f32c5DBC219681D", "36865": "0xc42F0Eb7FFBAeAce750CEfE83f32c5DBC219681D", "42161": "0xc42F0Eb7FFBAeAce750CEfE83f32c5DBC219681D",
"421614": "0xD649aC385EfE8CE69EcE9D2E61aE602e2893C586" } }

@@ -1,1 +0,1 @@

{ "name": "FunWalletFactory", "abi": [{ "inputs": [{ "internalType": "contractICreate3Deployer", "name": "_deployer", "type": "address" }, { "internalType": "address", "name": "_funWalletImpAddress", "type": "address" }, { "internalType": "addresspayable", "name": "_feeOracle", "type": "address" }, { "internalType": "contractIWalletInit", "name": "_walletInit", "type": "address" }, { "internalType": "contractIEntryPoint", "name": "_entryPoint", "type": "address" }], "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "funWallet", "type": "address" }, { "indexed": true, "internalType": "address", "name": "implementation", "type": "address" }, { "indexed": false, "internalType": "bytes", "name": "initializerCallData", "type": "bytes" }], "name": "AccountCreated", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "feeOracle", "type": "address" }], "name": "FeeOracleSet", "type": "event" }, { "inputs": [{ "internalType": "uint32", "name": "unstakeDelaySec", "type": "uint32" }], "name": "addStakeToEntryPoint", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [{ "internalType": "bytes", "name": "initializerCallData", "type": "bytes" }, { "internalType": "bytes", "name": "data", "type": "bytes" }], "name": "createAccount", "outputs": [{ "internalType": "contractIFunWallet", "name": "funWallet", "type": "address" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "deployer", "outputs": [{ "internalType": "contractICreate3Deployer", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "entryPoint", "outputs": [{ "internalType": "contractIEntryPoint", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "feeOracle", "outputs": [{ "internalType": "addresspayable", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "funWalletImplementation", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "bytes", "name": "data", "type": "bytes" }], "name": "getAddress", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getFeeOracle", "outputs": [{ "internalType": "addresspayable", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "moduleId", "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "addresspayable", "name": "_feeOracle", "type": "address" }], "name": "setFeeOracle", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "unlockStakeFromEntryPoint", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "salt", "type": "bytes32" }, { "internalType": "address", "name": "sender", "type": "address" }], "name": "verifyDeployedFrom", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "walletInit", "outputs": [{ "internalType": "contractIWalletInit", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "addresspayable", "name": "withdrawAddress", "type": "address" }], "name": "withdrawStakeFromEntryPoint", "outputs": [], "stateMutability": "nonpayable", "type": "function" }], "addresses": { "1": "0xBADa4B9bdc249B788A6247e4a8a9158eD0b3e504", "5": "0xBADa4B9bdc249B788A6247e4a8a9158eD0b3e504", "10": "0xBADa4B9bdc249B788A6247e4a8a9158eD0b3e504", "137": "0xBADa4B9bdc249B788A6247e4a8a9158eD0b3e504", "8453": "0xBADa4B9bdc249B788A6247e4a8a9158eD0b3e504", "36865": "0xBADa4B9bdc249B788A6247e4a8a9158eD0b3e504", "42161": "0xBADa4B9bdc249B788A6247e4a8a9158eD0b3e504" } }
{ "name": "FunWalletFactory", "abi": [{ "inputs": [{ "internalType": "contractICreate3Deployer", "name": "_deployer", "type": "address" }, { "internalType": "address", "name": "_funWalletImpAddress", "type": "address" }, { "internalType": "addresspayable", "name": "_feeOracle", "type": "address" }, { "internalType": "contractIWalletInit", "name": "_walletInit", "type": "address" }, { "internalType": "contractIEntryPoint", "name": "_entryPoint", "type": "address" }], "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "funWallet", "type": "address" }, { "indexed": true, "internalType": "address", "name": "implementation", "type": "address" }, { "indexed": false, "internalType": "bytes", "name": "initializerCallData", "type": "bytes" }], "name": "AccountCreated", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "feeOracle", "type": "address" }], "name": "FeeOracleSet", "type": "event" }, { "inputs": [{ "internalType": "uint32", "name": "unstakeDelaySec", "type": "uint32" }], "name": "addStakeToEntryPoint", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [{ "internalType": "bytes", "name": "initializerCallData", "type": "bytes" }, { "internalType": "bytes", "name": "data", "type": "bytes" }], "name": "createAccount", "outputs": [{ "internalType": "contractIFunWallet", "name": "funWallet", "type": "address" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "deployer", "outputs": [{ "internalType": "contractICreate3Deployer", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "entryPoint", "outputs": [{ "internalType": "contractIEntryPoint", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "feeOracle", "outputs": [{ "internalType": "addresspayable", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "funWalletImplementation", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "bytes", "name": "data", "type": "bytes" }], "name": "getAddress", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getFeeOracle", "outputs": [{ "internalType": "addresspayable", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "moduleId", "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "addresspayable", "name": "_feeOracle", "type": "address" }], "name": "setFeeOracle", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "unlockStakeFromEntryPoint", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "salt", "type": "bytes32" }, { "internalType": "address", "name": "sender", "type": "address" }], "name": "verifyDeployedFrom", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "walletInit", "outputs": [{ "internalType": "contractIWalletInit", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "addresspayable", "name": "withdrawAddress", "type": "address" }], "name": "withdrawStakeFromEntryPoint", "outputs": [], "stateMutability": "nonpayable", "type": "function" }], "addresses": { "1": "0xBADa4B9bdc249B788A6247e4a8a9158eD0b3e504", "5": "0xBADa4B9bdc249B788A6247e4a8a9158eD0b3e504", "10": "0xBADa4B9bdc249B788A6247e4a8a9158eD0b3e504", "137": "0xBADa4B9bdc249B788A6247e4a8a9158eD0b3e504", "8453": "0xBADa4B9bdc249B788A6247e4a8a9158eD0b3e504", "36865": "0xBADa4B9bdc249B788A6247e4a8a9158eD0b3e504", "42161": "0xBADa4B9bdc249B788A6247e4a8a9158eD0b3e504", "421614": "0x48d342dec455CA3750BE0cf76f05a5D66befFe50" } }

@@ -1,1 +0,1 @@

{ "name": "GaslessPaymaster", "abi": [{ "inputs": [{ "internalType": "contractIEntryPoint", "name": "_entryPoint", "type": "address" }], "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "sponsor", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "AddDepositTo", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "bytes[]", "name": "data", "type": "bytes[]" }], "name": "BatchActions", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "locker", "type": "address" }], "name": "LockDeposit", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "previousOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" }], "name": "OwnershipTransferStarted", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "previousOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" }], "name": "OwnershipTransferred", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "contractIEntryPoint", "name": "entryPoint", "type": "address" }], "name": "PaymasterCreated", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "bytes32", "name": "opHash", "type": "bytes32" }, { "indexed": true, "internalType": "address", "name": "spender", "type": "address" }, { "indexed": true, "internalType": "address", "name": "sponsor", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "sponsorCost", "type": "uint256" }], "name": "PostOpGasPaid", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "sponsor", "type": "address" }, { "indexed": false, "internalType": "bool", "name": "mode", "type": "bool" }], "name": "SetListMode", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "sponsor", "type": "address" }, { "indexed": true, "internalType": "address", "name": "spender", "type": "address" }, { "indexed": false, "internalType": "bool", "name": "mode", "type": "bool" }], "name": "SetSpenderBlacklistMode", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "sponsor", "type": "address" }, { "indexed": true, "internalType": "address", "name": "spender", "type": "address" }, { "indexed": false, "internalType": "bool", "name": "mode", "type": "bool" }], "name": "SetSpenderWhitelistMode", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "locker", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "unlockBlockNum", "type": "uint256" }], "name": "UnlockDepositAfter", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "sponsor", "type": "address" }, { "indexed": true, "internalType": "address", "name": "target", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "WithdrawDepositTo", "type": "event" }, { "inputs": [], "name": "COST_OF_POST", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "VERSION", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "acceptOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "sponsor", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "addDepositTo", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "unstakeDelaySec", "type": "uint32" }], "name": "addStakeToEntryPoint", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [{ "internalType": "bytes[]", "name": "data", "type": "bytes[]" }], "name": "batchActions", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [], "name": "entryPoint", "outputs": [{ "internalType": "contractIEntryPoint", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "sponsor", "type": "address" }], "name": "getBalance", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "spender", "type": "address" }], "name": "getListMode", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "address", "name": "sponsor", "type": "address" }], "name": "getSpenderBlacklistMode", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "address", "name": "sponsor", "type": "address" }], "name": "getSpenderWhitelistMode", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "spender", "type": "address" }], "name": "getUnlockBlock", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "lockDeposit", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "pendingOwner", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "enumIPaymaster.PostOpMode", "name": "mode", "type": "uint8" }, { "internalType": "bytes", "name": "context", "type": "bytes" }, { "internalType": "uint256", "name": "actualGasCost", "type": "uint256" }], "name": "postOp", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "bool", "name": "mode", "type": "bool" }], "name": "setListMode", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "bool", "name": "mode", "type": "bool" }], "name": "setSpenderBlacklistMode", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "bool", "name": "mode", "type": "bool" }], "name": "setSpenderWhitelistMode", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "newOwner", "type": "address" }], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "num", "type": "uint256" }], "name": "unlockDepositAfter", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [], "name": "unlockStakeFromEntryPoint", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "components": [{ "internalType": "address", "name": "sender", "type": "address" }, { "internalType": "uint256", "name": "nonce", "type": "uint256" }, { "internalType": "bytes", "name": "initCode", "type": "bytes" }, { "internalType": "bytes", "name": "callData", "type": "bytes" }, { "internalType": "uint256", "name": "callGasLimit", "type": "uint256" }, { "internalType": "uint256", "name": "verificationGasLimit", "type": "uint256" }, { "internalType": "uint256", "name": "preVerificationGas", "type": "uint256" }, { "internalType": "uint256", "name": "maxFeePerGas", "type": "uint256" }, { "internalType": "uint256", "name": "maxPriorityFeePerGas", "type": "uint256" }, { "internalType": "bytes", "name": "paymasterAndData", "type": "bytes" }, { "internalType": "bytes", "name": "signature", "type": "bytes" }], "internalType": "structUserOperation", "name": "userOp", "type": "tuple" }, { "internalType": "bytes32", "name": "userOpHash", "type": "bytes32" }, { "internalType": "uint256", "name": "maxCost", "type": "uint256" }], "name": "validatePaymasterUserOp", "outputs": [{ "internalType": "bytes", "name": "context", "type": "bytes" }, { "internalType": "uint256", "name": "sigTimeRange", "type": "uint256" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "addresspayable", "name": "target", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "withdrawDepositTo", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [{ "internalType": "addresspayable", "name": "withdrawAddress", "type": "address" }], "name": "withdrawStakeFromEntryPoint", "outputs": [], "stateMutability": "nonpayable", "type": "function" }], "addresses": { "1": "0x670E428B165350c77AC7523854995486C1796ae3", "5": "0xA6952BaD754D6d959216D89fcA0D695fED01b7b5", "10": "0xA6952BaD754D6d959216D89fcA0D695fED01b7b5", "137": "0xA6952BaD754D6d959216D89fcA0D695fED01b7b5", "8453": "0x70795B38d1d077DA1c255f4d004Df657aEc98915", "36865": "0x670E428B165350c77AC7523854995486C1796ae3", "42161": "0xA0B0c6590f43951d4112092640eFb702d7b15FDD" } }
{ "name": "GaslessPaymaster", "abi": [{ "inputs": [{ "internalType": "contractIEntryPoint", "name": "_entryPoint", "type": "address" }], "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "sponsor", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "AddDepositTo", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "bytes[]", "name": "data", "type": "bytes[]" }], "name": "BatchActions", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "locker", "type": "address" }], "name": "LockDeposit", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "previousOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" }], "name": "OwnershipTransferStarted", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "previousOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" }], "name": "OwnershipTransferred", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "contractIEntryPoint", "name": "entryPoint", "type": "address" }], "name": "PaymasterCreated", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "bytes32", "name": "opHash", "type": "bytes32" }, { "indexed": true, "internalType": "address", "name": "spender", "type": "address" }, { "indexed": true, "internalType": "address", "name": "sponsor", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "sponsorCost", "type": "uint256" }], "name": "PostOpGasPaid", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "sponsor", "type": "address" }, { "indexed": false, "internalType": "bool", "name": "mode", "type": "bool" }], "name": "SetListMode", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "sponsor", "type": "address" }, { "indexed": true, "internalType": "address", "name": "spender", "type": "address" }, { "indexed": false, "internalType": "bool", "name": "mode", "type": "bool" }], "name": "SetSpenderBlacklistMode", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "sponsor", "type": "address" }, { "indexed": true, "internalType": "address", "name": "spender", "type": "address" }, { "indexed": false, "internalType": "bool", "name": "mode", "type": "bool" }], "name": "SetSpenderWhitelistMode", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "locker", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "unlockBlockNum", "type": "uint256" }], "name": "UnlockDepositAfter", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "sponsor", "type": "address" }, { "indexed": true, "internalType": "address", "name": "target", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "WithdrawDepositTo", "type": "event" }, { "inputs": [], "name": "COST_OF_POST", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "VERSION", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "acceptOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "sponsor", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "addDepositTo", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "unstakeDelaySec", "type": "uint32" }], "name": "addStakeToEntryPoint", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [{ "internalType": "bytes[]", "name": "data", "type": "bytes[]" }], "name": "batchActions", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [], "name": "entryPoint", "outputs": [{ "internalType": "contractIEntryPoint", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "sponsor", "type": "address" }], "name": "getBalance", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "spender", "type": "address" }], "name": "getListMode", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "address", "name": "sponsor", "type": "address" }], "name": "getSpenderBlacklistMode", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "address", "name": "sponsor", "type": "address" }], "name": "getSpenderWhitelistMode", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "spender", "type": "address" }], "name": "getUnlockBlock", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "lockDeposit", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "pendingOwner", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "enumIPaymaster.PostOpMode", "name": "mode", "type": "uint8" }, { "internalType": "bytes", "name": "context", "type": "bytes" }, { "internalType": "uint256", "name": "actualGasCost", "type": "uint256" }], "name": "postOp", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "bool", "name": "mode", "type": "bool" }], "name": "setListMode", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "bool", "name": "mode", "type": "bool" }], "name": "setSpenderBlacklistMode", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "bool", "name": "mode", "type": "bool" }], "name": "setSpenderWhitelistMode", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "newOwner", "type": "address" }], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "num", "type": "uint256" }], "name": "unlockDepositAfter", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [], "name": "unlockStakeFromEntryPoint", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "components": [{ "internalType": "address", "name": "sender", "type": "address" }, { "internalType": "uint256", "name": "nonce", "type": "uint256" }, { "internalType": "bytes", "name": "initCode", "type": "bytes" }, { "internalType": "bytes", "name": "callData", "type": "bytes" }, { "internalType": "uint256", "name": "callGasLimit", "type": "uint256" }, { "internalType": "uint256", "name": "verificationGasLimit", "type": "uint256" }, { "internalType": "uint256", "name": "preVerificationGas", "type": "uint256" }, { "internalType": "uint256", "name": "maxFeePerGas", "type": "uint256" }, { "internalType": "uint256", "name": "maxPriorityFeePerGas", "type": "uint256" }, { "internalType": "bytes", "name": "paymasterAndData", "type": "bytes" }, { "internalType": "bytes", "name": "signature", "type": "bytes" }], "internalType": "structUserOperation", "name": "userOp", "type": "tuple" }, { "internalType": "bytes32", "name": "userOpHash", "type": "bytes32" }, { "internalType": "uint256", "name": "maxCost", "type": "uint256" }], "name": "validatePaymasterUserOp", "outputs": [{ "internalType": "bytes", "name": "context", "type": "bytes" }, { "internalType": "uint256", "name": "sigTimeRange", "type": "uint256" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "addresspayable", "name": "target", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "withdrawDepositTo", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [{ "internalType": "addresspayable", "name": "withdrawAddress", "type": "address" }], "name": "withdrawStakeFromEntryPoint", "outputs": [], "stateMutability": "nonpayable", "type": "function" }], "addresses": { "1": "0x670E428B165350c77AC7523854995486C1796ae3", "5": "0xA6952BaD754D6d959216D89fcA0D695fED01b7b5", "10": "0xA6952BaD754D6d959216D89fcA0D695fED01b7b5", "137": "0xA6952BaD754D6d959216D89fcA0D695fED01b7b5", "8453": "0x70795B38d1d077DA1c255f4d004Df657aEc98915", "36865": "0x670E428B165350c77AC7523854995486C1796ae3", "42161": "0xA0B0c6590f43951d4112092640eFb702d7b15FDD", "421614": "0xED6dBff919a36E10E7cF312Ab565Fe79B21b0Bf8" } }

@@ -1,1 +0,2 @@

{ "name": "RoleBasedAccessControl", "abi": [{ "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "wallet", "type": "address" }, { "indexed": true, "internalType": "bytes32", "name": "roleId", "type": "bytes32" }, { "indexed": true, "internalType": "address", "name": "target", "type": "address" }], "name": "AddTargetWildcard", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "wallet", "type": "address" }, { "indexed": true, "internalType": "bytes32", "name": "roleId", "type": "bytes32" }, { "indexed": true, "internalType": "address", "name": "target", "type": "address" }], "name": "RemoveTargetWildcard", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "wallet", "type": "address" }], "name": "RoleBasedAccessControlInitialized", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "wallet", "type": "address" }, { "indexed": true, "internalType": "bytes32", "name": "user", "type": "bytes32" }, { "indexed": true, "internalType": "bytes32", "name": "ruleId", "type": "bytes32" }], "name": "RuleAdded", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "wallet", "type": "address" }, { "indexed": true, "internalType": "bytes32", "name": "roleId", "type": "bytes32" }, { "indexed": true, "internalType": "bytes32", "name": "ruleId", "type": "bytes32" }], "name": "RuleAddedToRole", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "wallet", "type": "address" }, { "indexed": true, "internalType": "bytes32", "name": "ruleId", "type": "bytes32" }], "name": "RuleDeleted", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "wallet", "type": "address" }, { "indexed": true, "internalType": "bytes32", "name": "user", "type": "bytes32" }, { "indexed": true, "internalType": "bytes32", "name": "ruleId", "type": "bytes32" }], "name": "RuleRemoved", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "wallet", "type": "address" }, { "indexed": true, "internalType": "bytes32", "name": "roleId", "type": "bytes32" }, { "indexed": true, "internalType": "bytes32", "name": "ruleId", "type": "bytes32" }], "name": "RuleRemovedFromRole", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "wallet", "type": "address" }, { "indexed": true, "internalType": "bytes32", "name": "ruleId", "type": "bytes32" }, { "components": [{ "internalType": "uint256", "name": "deadline", "type": "uint256" }, { "internalType": "uint256", "name": "actionValueLimit", "type": "uint256" }, { "internalType": "bytes32", "name": "targetSelectorMerkleRootHash", "type": "bytes32" }, { "internalType": "uint256", "name": "feeValueLimit", "type": "uint256" }, { "internalType": "bytes32", "name": "feeRecipientTokenMerkleRootHash", "type": "bytes32" }], "indexed": false, "internalType": "structRule", "name": "rule", "type": "tuple" }], "name": "RuleSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "wallet", "type": "address" }, { "indexed": true, "internalType": "bytes32", "name": "roleId", "type": "bytes32" }, { "indexed": true, "internalType": "bytes32", "name": "userId", "type": "bytes32" }], "name": "UserAddedToRole", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "wallet", "type": "address" }, { "indexed": true, "internalType": "bytes32", "name": "roleId", "type": "bytes32" }, { "indexed": true, "internalType": "bytes32", "name": "userId", "type": "bytes32" }], "name": "UserRemovedFromRole", "type": "event" }, { "inputs": [], "name": "INIT_HASH", "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "TARGET_WILDCARD_RULE_ID", "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "WILDCARD_RULE_ID", "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "ownerId", "type": "bytes32" }], "name": "addOwner", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "roleId", "type": "bytes32" }, { "internalType": "bytes32", "name": "ruleId", "type": "bytes32" }], "name": "addRuleToRole", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "roleId", "type": "bytes32" }, { "internalType": "address", "name": "target", "type": "address" }], "name": "addTargetWildcard", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "roleId", "type": "bytes32" }, { "internalType": "bytes32", "name": "userId", "type": "bytes32" }], "name": "addUserToRole", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "components": [{ "internalType": "address", "name": "sender", "type": "address" }, { "internalType": "uint256", "name": "nonce", "type": "uint256" }, { "internalType": "bytes", "name": "initCode", "type": "bytes" }, { "internalType": "bytes", "name": "callData", "type": "bytes" }, { "internalType": "uint256", "name": "callGasLimit", "type": "uint256" }, { "internalType": "uint256", "name": "verificationGasLimit", "type": "uint256" }, { "internalType": "uint256", "name": "preVerificationGas", "type": "uint256" }, { "internalType": "uint256", "name": "maxFeePerGas", "type": "uint256" }, { "internalType": "uint256", "name": "maxPriorityFeePerGas", "type": "uint256" }, { "internalType": "bytes", "name": "paymasterAndData", "type": "bytes" }, { "internalType": "bytes", "name": "signature", "type": "bytes" }], "internalType": "structUserOperation", "name": "userOp", "type": "tuple" }, { "internalType": "bytes32", "name": "", "type": "bytes32" }, { "internalType": "bytes", "name": "", "type": "bytes" }], "name": "authenticateUserOp", "outputs": [{ "internalType": "uint256", "name": "sigTimeRange", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "ruleId", "type": "bytes32" }], "name": "deleteRule", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "ruleId", "type": "bytes32" }], "name": "getRule", "outputs": [{ "components": [{ "internalType": "uint256", "name": "deadline", "type": "uint256" }, { "internalType": "uint256", "name": "actionValueLimit", "type": "uint256" }, { "internalType": "bytes32", "name": "targetSelectorMerkleRootHash", "type": "bytes32" }, { "internalType": "uint256", "name": "feeValueLimit", "type": "uint256" }, { "internalType": "bytes32", "name": "feeRecipientTokenMerkleRootHash", "type": "bytes32" }], "internalType": "structRule", "name": "rule", "type": "tuple" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "key", "type": "bytes32" }], "name": "getState", "outputs": [{ "internalType": "bytes", "name": "state", "type": "bytes" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "key", "type": "bytes32" }], "name": "getState32", "outputs": [{ "internalType": "bytes32", "name": "state", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "bytes", "name": "initData", "type": "bytes" }], "name": "init", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "target", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" }, { "internalType": "bytes", "name": "data", "type": "bytes" }, { "internalType": "bytes", "name": "_signature", "type": "bytes" }, { "internalType": "bytes32", "name": "", "type": "bytes32" }], "name": "isValidAction", "outputs": [{ "internalType": "uint256", "name": "sigTimeRange", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "target", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" }, { "internalType": "bytes", "name": "data", "type": "bytes" }, { "internalType": "bytes", "name": "_signature", "type": "bytes" }, { "components": [{ "internalType": "address", "name": "token", "type": "address" }, { "internalType": "addresspayable", "name": "recipient", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }], "internalType": "structUserOperationFee", "name": "feedata", "type": "tuple" }], "name": "isValidActionAndFee", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "moduleId", "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "bytes[]", "name": "calls", "type": "bytes[]" }], "name": "multiCall", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "ownerId", "type": "bytes32" }], "name": "removeOwner", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "roleId", "type": "bytes32" }, { "internalType": "bytes32", "name": "ruleId", "type": "bytes32" }], "name": "removeRuleFromRole", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "roleId", "type": "bytes32" }, { "internalType": "address", "name": "target", "type": "address" }], "name": "removeTargetWildcard", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "roleId", "type": "bytes32" }, { "internalType": "bytes32", "name": "userId", "type": "bytes32" }], "name": "removeUserFromRole", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "ruleId", "type": "bytes32" }, { "components": [{ "internalType": "uint256", "name": "deadline", "type": "uint256" }, { "internalType": "uint256", "name": "actionValueLimit", "type": "uint256" }, { "internalType": "bytes32", "name": "targetSelectorMerkleRootHash", "type": "bytes32" }, { "internalType": "uint256", "name": "feeValueLimit", "type": "uint256" }, { "internalType": "bytes32", "name": "feeRecipientTokenMerkleRootHash", "type": "bytes32" }], "internalType": "structRule", "name": "rule", "type": "tuple" }], "name": "setRule", "outputs": [], "stateMutability": "nonpayable", "type": "function" }], "addresses": { "1": "0x996eAcBd74D94C77bD6edA46dAbF99608dBb336E", "5": "0x996eAcBd74D94C77bD6edA46dAbF99608dBb336E", "10": "0x996eAcBd74D94C77bD6edA46dAbF99608dBb336E", "137": "0x996eAcBd74D94C77bD6edA46dAbF99608dBb336E", "8453": "0x996eAcBd74D94C77bD6edA46dAbF99608dBb336E", "36865": "0x996eAcBd74D94C77bD6edA46dAbF99608dBb336E", "42161": "0x996eAcBd74D94C77bD6edA46dAbF99608dBb336E" } }
{ "name": "RoleBasedAccessControl", "abi": [{ "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "wallet", "type": "address" }, { "indexed": true, "internalType": "bytes32", "name": "roleId", "type": "bytes32" }, { "indexed": true, "internalType": "address", "name": "target", "type": "address" }], "name": "AddTargetWildcard", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "wallet", "type": "address" }, { "indexed": true, "internalType": "bytes32", "name": "roleId", "type": "bytes32" }, { "indexed": true, "internalType": "address", "name": "target", "type": "address" }], "name": "RemoveTargetWildcard", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "wallet", "type": "address" }], "name": "RoleBasedAccessControlInitialized", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "wallet", "type": "address" }, { "indexed": true, "internalType": "bytes32", "name": "user", "type": "bytes32" }, { "indexed": true, "internalType": "bytes32", "name": "ruleId", "type": "bytes32" }], "name": "RuleAdded", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "wallet", "type": "address" }, { "indexed": true, "internalType": "bytes32", "name": "roleId", "type": "bytes32" }, { "indexed": true, "internalType": "bytes32", "name": "ruleId", "type": "bytes32" }], "name": "RuleAddedToRole", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "wallet", "type": "address" }, { "indexed": true, "internalType": "bytes32", "name": "ruleId", "type": "bytes32" }], "name": "RuleDeleted", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "wallet", "type": "address" }, { "indexed": true, "internalType": "bytes32", "name": "user", "type": "bytes32" }, { "indexed": true, "internalType": "bytes32", "name": "ruleId", "type": "bytes32" }], "name": "RuleRemoved", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "wallet", "type": "address" }, { "indexed": true, "internalType": "bytes32", "name": "roleId", "type": "bytes32" }, { "indexed": true, "internalType": "bytes32", "name": "ruleId", "type": "bytes32" }], "name": "RuleRemovedFromRole", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "wallet", "type": "address" }, { "indexed": true, "internalType": "bytes32", "name": "ruleId", "type": "bytes32" }, { "components": [{ "internalType": "uint256", "name": "deadline", "type": "uint256" }, { "internalType": "uint256", "name": "actionValueLimit", "type": "uint256" }, { "internalType": "bytes32", "name": "targetSelectorMerkleRootHash", "type": "bytes32" }, { "internalType": "uint256", "name": "feeValueLimit", "type": "uint256" }, { "internalType": "bytes32", "name": "feeRecipientTokenMerkleRootHash", "type": "bytes32" }], "indexed": false, "internalType": "structRule", "name": "rule", "type": "tuple" }], "name": "RuleSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "wallet", "type": "address" }, { "indexed": true, "internalType": "bytes32", "name": "roleId", "type": "bytes32" }, { "indexed": true, "internalType": "bytes32", "name": "userId", "type": "bytes32" }], "name": "UserAddedToRole", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "wallet", "type": "address" }, { "indexed": true, "internalType": "bytes32", "name": "roleId", "type": "bytes32" }, { "indexed": true, "internalType": "bytes32", "name": "userId", "type": "bytes32" }], "name": "UserRemovedFromRole", "type": "event" }, { "inputs": [], "name": "INIT_HASH", "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "TARGET_WILDCARD_RULE_ID", "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "WILDCARD_RULE_ID", "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "ownerId", "type": "bytes32" }], "name": "addOwner", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "roleId", "type": "bytes32" }, { "internalType": "bytes32", "name": "ruleId", "type": "bytes32" }], "name": "addRuleToRole", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "roleId", "type": "bytes32" }, { "internalType": "address", "name": "target", "type": "address" }], "name": "addTargetWildcard", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "roleId", "type": "bytes32" }, { "internalType": "bytes32", "name": "userId", "type": "bytes32" }], "name": "addUserToRole", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "components": [{ "internalType": "address", "name": "sender", "type": "address" }, { "internalType": "uint256", "name": "nonce", "type": "uint256" }, { "internalType": "bytes", "name": "initCode", "type": "bytes" }, { "internalType": "bytes", "name": "callData", "type": "bytes" }, { "internalType": "uint256", "name": "callGasLimit", "type": "uint256" }, { "internalType": "uint256", "name": "verificationGasLimit", "type": "uint256" }, { "internalType": "uint256", "name": "preVerificationGas", "type": "uint256" }, { "internalType": "uint256", "name": "maxFeePerGas", "type": "uint256" }, { "internalType": "uint256", "name": "maxPriorityFeePerGas", "type": "uint256" }, { "internalType": "bytes", "name": "paymasterAndData", "type": "bytes" }, { "internalType": "bytes", "name": "signature", "type": "bytes" }], "internalType": "structUserOperation", "name": "userOp", "type": "tuple" }, { "internalType": "bytes32", "name": "", "type": "bytes32" }, { "internalType": "bytes", "name": "", "type": "bytes" }], "name": "authenticateUserOp", "outputs": [{ "internalType": "uint256", "name": "sigTimeRange", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "ruleId", "type": "bytes32" }], "name": "deleteRule", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "ruleId", "type": "bytes32" }], "name": "getRule", "outputs": [{ "components": [{ "internalType": "uint256", "name": "deadline", "type": "uint256" }, { "internalType": "uint256", "name": "actionValueLimit", "type": "uint256" }, { "internalType": "bytes32", "name": "targetSelectorMerkleRootHash", "type": "bytes32" }, { "internalType": "uint256", "name": "feeValueLimit", "type": "uint256" }, { "internalType": "bytes32", "name": "feeRecipientTokenMerkleRootHash", "type": "bytes32" }], "internalType": "structRule", "name": "rule", "type": "tuple" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "key", "type": "bytes32" }], "name": "getState", "outputs": [{ "internalType": "bytes", "name": "state", "type": "bytes" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "key", "type": "bytes32" }], "name": "getState32", "outputs": [{ "internalType": "bytes32", "name": "state", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "bytes", "name": "initData", "type": "bytes" }], "name": "init", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "target", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" }, { "internalType": "bytes", "name": "data", "type": "bytes" }, { "internalType": "bytes", "name": "_signature", "type": "bytes" }, { "internalType": "bytes32", "name": "", "type": "bytes32" }], "name": "isValidAction", "outputs": [{ "internalType": "uint256", "name": "sigTimeRange", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "target", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" }, { "internalType": "bytes", "name": "data", "type": "bytes" }, { "internalType": "bytes", "name": "_signature", "type": "bytes" }, { "components": [{ "internalType": "address", "name": "token", "type": "address" }, { "internalType": "addresspayable", "name": "recipient", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }], "internalType": "structUserOperationFee", "name": "feedata", "type": "tuple" }], "name": "isValidActionAndFee", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "moduleId", "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "bytes[]", "name": "calls", "type": "bytes[]" }], "name": "multiCall", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "ownerId", "type": "bytes32" }], "name": "removeOwner", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "roleId", "type": "bytes32" }, { "internalType": "bytes32", "name": "ruleId", "type": "bytes32" }], "name": "removeRuleFromRole", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "roleId", "type": "bytes32" }, { "internalType": "address", "name": "target", "type": "address" }], "name": "removeTargetWildcard", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "roleId", "type": "bytes32" }, { "internalType": "bytes32", "name": "userId", "type": "bytes32" }], "name": "removeUserFromRole", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "ruleId", "type": "bytes32" }, { "components": [{ "internalType": "uint256", "name": "deadline", "type": "uint256" }, { "internalType": "uint256", "name": "actionValueLimit", "type": "uint256" }, { "internalType": "bytes32", "name": "targetSelectorMerkleRootHash", "type": "bytes32" }, { "internalType": "uint256", "name": "feeValueLimit", "type": "uint256" }, { "internalType": "bytes32", "name": "feeRecipientTokenMerkleRootHash", "type": "bytes32" }], "internalType": "structRule", "name": "rule", "type": "tuple" }], "name": "setRule", "outputs": [], "stateMutability": "nonpayable", "type": "function" }], "addresses": { "1": "0x996eAcBd74D94C77bD6edA46dAbF99608dBb336E", "5": "0x996eAcBd74D94C77bD6edA46dAbF99608dBb336E", "10": "0x996eAcBd74D94C77bD6edA46dAbF99608dBb336E", "137": "0x996eAcBd74D94C77bD6edA46dAbF99608dBb336E", "8453": "0x996eAcBd74D94C77bD6edA46dAbF99608dBb336E", "36865": "0x996eAcBd74D94C77bD6edA46dAbF99608dBb336E", "42161": "0x996eAcBd74D94C77bD6edA46dAbF99608dBb336E",
"421614": "0xb46435650a06BE6ab62cc1Aa08CdC642b14d0b64" } }

@@ -1,1 +0,1 @@

{ "name": "TestNFT", "abi": [{ "inputs": [], "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "owner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "approved", "type": "address" }, { "indexed": true, "internalType": "uint256", "name": "tokenId", "type": "uint256" }], "name": "Approval", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "owner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "operator", "type": "address" }, { "indexed": false, "internalType": "bool", "name": "approved", "type": "bool" }], "name": "ApprovalForAll", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "from", "type": "address" }, { "indexed": true, "internalType": "address", "name": "to", "type": "address" }, { "indexed": true, "internalType": "uint256", "name": "tokenId", "type": "uint256" }], "name": "Transfer", "type": "event" }, { "inputs": [{ "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "tokenId", "type": "uint256" }], "name": "approve", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "owner", "type": "address" }], "name": "balanceOf", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "tokenId", "type": "uint256" }], "name": "getApproved", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "address", "name": "operator", "type": "address" }], "name": "isApprovedForAll", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "tokenId", "type": "uint256" }], "name": "mint", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "name", "outputs": [{ "internalType": "string", "name": "", "type": "string" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "tokenId", "type": "uint256" }], "name": "ownerOf", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "from", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "tokenId", "type": "uint256" }], "name": "safeTransferFrom", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "from", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "tokenId", "type": "uint256" }, { "internalType": "bytes", "name": "data", "type": "bytes" }], "name": "safeTransferFrom", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "operator", "type": "address" }, { "internalType": "bool", "name": "approved", "type": "bool" }], "name": "setApprovalForAll", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "bytes4", "name": "interfaceId", "type": "bytes4" }], "name": "supportsInterface", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "symbol", "outputs": [{ "internalType": "string", "name": "", "type": "string" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "tokenId", "type": "uint256" }], "name": "tokenURI", "outputs": [{ "internalType": "string", "name": "", "type": "string" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "from", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "tokenId", "type": "uint256" }], "name": "transferFrom", "outputs": [], "stateMutability": "nonpayable", "type": "function" }], "addresses": { "1": "0x25E07d90a4e2e9fb627FcF5f4FAd5165dDA6d592", "5": "0x25E07d90a4e2e9fb627FcF5f4FAd5165dDA6d592", "10": "0x25E07d90a4e2e9fb627FcF5f4FAd5165dDA6d592", "137": "0x25E07d90a4e2e9fb627FcF5f4FAd5165dDA6d592", "8453": "0x25E07d90a4e2e9fb627FcF5f4FAd5165dDA6d592", "36865": "0x25E07d90a4e2e9fb627FcF5f4FAd5165dDA6d592", "42161": "0x25E07d90a4e2e9fb627FcF5f4FAd5165dDA6d592" } }
{ "name": "TestNFT", "abi": [{ "inputs": [], "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "owner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "approved", "type": "address" }, { "indexed": true, "internalType": "uint256", "name": "tokenId", "type": "uint256" }], "name": "Approval", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "owner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "operator", "type": "address" }, { "indexed": false, "internalType": "bool", "name": "approved", "type": "bool" }], "name": "ApprovalForAll", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "from", "type": "address" }, { "indexed": true, "internalType": "address", "name": "to", "type": "address" }, { "indexed": true, "internalType": "uint256", "name": "tokenId", "type": "uint256" }], "name": "Transfer", "type": "event" }, { "inputs": [{ "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "tokenId", "type": "uint256" }], "name": "approve", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "owner", "type": "address" }], "name": "balanceOf", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "tokenId", "type": "uint256" }], "name": "getApproved", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "address", "name": "operator", "type": "address" }], "name": "isApprovedForAll", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "tokenId", "type": "uint256" }], "name": "mint", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "name", "outputs": [{ "internalType": "string", "name": "", "type": "string" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "tokenId", "type": "uint256" }], "name": "ownerOf", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "from", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "tokenId", "type": "uint256" }], "name": "safeTransferFrom", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "from", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "tokenId", "type": "uint256" }, { "internalType": "bytes", "name": "data", "type": "bytes" }], "name": "safeTransferFrom", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "operator", "type": "address" }, { "internalType": "bool", "name": "approved", "type": "bool" }], "name": "setApprovalForAll", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "bytes4", "name": "interfaceId", "type": "bytes4" }], "name": "supportsInterface", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "symbol", "outputs": [{ "internalType": "string", "name": "", "type": "string" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "tokenId", "type": "uint256" }], "name": "tokenURI", "outputs": [{ "internalType": "string", "name": "", "type": "string" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "from", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "tokenId", "type": "uint256" }], "name": "transferFrom", "outputs": [], "stateMutability": "nonpayable", "type": "function" }], "addresses": { "1": "0x25E07d90a4e2e9fb627FcF5f4FAd5165dDA6d592", "5": "0x25E07d90a4e2e9fb627FcF5f4FAd5165dDA6d592", "10": "0x25E07d90a4e2e9fb627FcF5f4FAd5165dDA6d592", "137": "0x25E07d90a4e2e9fb627FcF5f4FAd5165dDA6d592", "8453": "0x25E07d90a4e2e9fb627FcF5f4FAd5165dDA6d592", "36865": "0x25E07d90a4e2e9fb627FcF5f4FAd5165dDA6d592", "42161": "0x25E07d90a4e2e9fb627FcF5f4FAd5165dDA6d592", "421614": "0xbE13b0335996f57bBa63C8C197Ded28a28Cbe5dF" } }

@@ -1,1 +0,1 @@

{ "name": "TokenPaymaster", "abi": [{ "inputs": [{ "internalType": "contractIEntryPoint", "name": "_entryPoint", "type": "address" }, { "internalType": "contractIImplementationRegistry", "name": "_implementationRegistry", "type": "address" }], "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "caller", "type": "address" }, { "indexed": true, "internalType": "address", "name": "sponsor", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "AddEthDepositTo", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "token", "type": "address" }, { "indexed": true, "internalType": "address", "name": "recipient", "type": "address" }, { "indexed": true, "internalType": "address", "name": "spender", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "AddTokenDepositTo", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address[]", "name": "tokens", "type": "address[]" }, { "indexed": true, "internalType": "address", "name": "sponsor", "type": "address" }], "name": "AddTokens", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "bytes[]", "name": "data", "type": "bytes[]" }], "name": "BatchActions", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "token", "type": "address" }, { "indexed": true, "internalType": "address", "name": "spender", "type": "address" }], "name": "LockTokenDeposit", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "previousOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" }], "name": "OwnershipTransferStarted", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "previousOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" }], "name": "OwnershipTransferred", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "contractIEntryPoint", "name": "entryPoint", "type": "address" }], "name": "PaymasterCreated", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "bytes32", "name": "opHash", "type": "bytes32" }, { "indexed": true, "internalType": "address", "name": "spender", "type": "address" }, { "indexed": true, "internalType": "address", "name": "sponsor", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "spenderCost", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "sponsorCost", "type": "uint256" }], "name": "PostOpGasPaid", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "bytes", "name": "context", "type": "bytes" }, { "indexed": false, "internalType": "uint256", "name": "actualGasCost", "type": "uint256" }], "name": "PostOpReverted", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "token", "type": "address" }], "name": "RemoveTokenData", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address[]", "name": "tokens", "type": "address[]" }, { "indexed": true, "internalType": "address", "name": "sponsor", "type": "address" }], "name": "RemoveTokens", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "sponsor", "type": "address" }, { "indexed": false, "internalType": "bool", "name": "mode", "type": "bool" }], "name": "SetListMode", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "spender", "type": "address" }, { "indexed": true, "internalType": "address", "name": "sponsor", "type": "address" }, { "indexed": false, "internalType": "bool", "name": "mode", "type": "bool" }], "name": "SetSpenderBlacklistMode", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "spender", "type": "address" }, { "indexed": true, "internalType": "address", "name": "sponsor", "type": "address" }, { "indexed": false, "internalType": "bool", "name": "mode", "type": "bool" }], "name": "SetSpenderWhitelistMode", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "token", "type": "address" }, { "indexed": true, "internalType": "address", "name": "sponsor", "type": "address" }, { "indexed": false, "internalType": "bool", "name": "mode", "type": "bool" }], "name": "SetTokenBlacklistMode", "type": "event" }, { "anonymous": false, "inputs": [{ "components": [{ "internalType": "contractITokenPriceOracle", "name": "oracle", "type": "address" }, { "internalType": "contractIERC20", "name": "token", "type": "address" }, { "internalType": "uint8", "name": "decimals", "type": "uint8" }, { "internalType": "address", "name": "aggregator", "type": "address" }], "indexed": true, "internalType": "structTokenData", "name": "data", "type": "tuple" }], "name": "SetTokenData", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "sponsor", "type": "address" }, { "indexed": false, "internalType": "bool", "name": "mode", "type": "bool" }], "name": "SetTokenListMode", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "token", "type": "address" }, { "indexed": true, "internalType": "address", "name": "sponsor", "type": "address" }, { "indexed": false, "internalType": "bool", "name": "mode", "type": "bool" }], "name": "SetTokenWhitelistMode", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "token", "type": "address" }, { "indexed": true, "internalType": "address", "name": "spender", "type": "address" }, { "indexed": true, "internalType": "uint256", "name": "unlockBlockNum", "type": "uint256" }], "name": "UnlockTokenDepositAfter", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "caller", "type": "address" }, { "indexed": true, "internalType": "address", "name": "target", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "WithdrawEthDepositTo", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "token", "type": "address" }, { "indexed": true, "internalType": "address", "name": "recipient", "type": "address" }, { "indexed": true, "internalType": "address", "name": "target", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "WithdrawTokenDepositTo", "type": "event" }, { "inputs": [], "name": "COST_OF_SIG", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "COST_OF_TRANSFER", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "ETH", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "VERSION", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "acceptOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "accumulatedEthDust", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "sponsor", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "addEthDepositTo", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "unstakeDelaySec", "type": "uint32" }], "name": "addStakeToEntryPoint", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "token", "type": "address" }, { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "addTokenDepositTo", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [{ "internalType": "address[]", "name": "_tokens", "type": "address[]" }], "name": "addTokens", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [{ "internalType": "bytes[]", "name": "data", "type": "bytes[]" }], "name": "batchActions", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [], "name": "entryPoint", "outputs": [{ "internalType": "contractIEntryPoint", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "token", "type": "address" }, { "internalType": "address", "name": "spender", "type": "address" }], "name": "getAllTokenData", "outputs": [{ "internalType": "uint256", "name": "unlockBlock", "type": "uint256" }, { "internalType": "uint256", "name": "tokenAmount", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getAllTokens", "outputs": [{ "internalType": "address[]", "name": "", "type": "address[]" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_token", "type": "address" }, { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "tokenAmount", "type": "uint256" }], "name": "getCanPayThroughApproval", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "contractIERC20", "name": "token", "type": "address" }, { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "tokenAmount", "type": "uint256" }], "name": "getHasBalance", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "sponsor", "type": "address" }], "name": "getListMode", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "address", "name": "sponsor", "type": "address" }], "name": "getSpenderBlacklisted", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "address", "name": "sponsor", "type": "address" }], "name": "getSpenderWhitelisted", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "token", "type": "address" }, { "internalType": "address", "name": "sponsor", "type": "address" }], "name": "getSponsorTokenUsage", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "token", "type": "address" }], "name": "getToken", "outputs": [{ "components": [{ "internalType": "contractITokenPriceOracle", "name": "oracle", "type": "address" }, { "internalType": "contractIERC20", "name": "token", "type": "address" }, { "internalType": "uint8", "name": "decimals", "type": "uint8" }, { "internalType": "address", "name": "aggregator", "type": "address" }], "internalType": "structTokenData", "name": "", "type": "tuple" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "token", "type": "address" }, { "internalType": "address", "name": "spender", "type": "address" }], "name": "getTokenBalance", "outputs": [{ "internalType": "uint256", "name": "tokenAmount", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "token", "type": "address" }, { "internalType": "address", "name": "sponsor", "type": "address" }], "name": "getTokenBlacklisted", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "sponsor", "type": "address" }], "name": "getTokenListMode", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_token", "type": "address" }, { "internalType": "uint256", "name": "ethBought", "type": "uint256" }], "name": "getTokenValueOfEth", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "token", "type": "address" }, { "internalType": "address", "name": "sponsor", "type": "address" }], "name": "getTokenWhitelisted", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "token", "type": "address" }, { "internalType": "address", "name": "spender", "type": "address" }], "name": "getUnlockBlock", "outputs": [{ "internalType": "uint256", "name": "unlockBlock", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "implementationRegistry", "outputs": [{ "internalType": "contractIImplementationRegistry", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "token", "type": "address" }], "name": "lockTokenDeposit", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "pendingOwner", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "enumIPaymaster.PostOpMode", "name": "mode", "type": "uint8" }, { "internalType": "bytes", "name": "context", "type": "bytes" }, { "internalType": "uint256", "name": "actualGasCost", "type": "uint256" }], "name": "postOp", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "tokenAddress", "type": "address" }, { "internalType": "uint256", "name": "tokenListIndex", "type": "uint256" }], "name": "removeTokenData", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address[]", "name": "_tokens", "type": "address[]" }], "name": "removeTokens", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "bool", "name": "mode", "type": "bool" }], "name": "setListMode", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "bool", "name": "mode", "type": "bool" }], "name": "setSpenderBlacklistMode", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "bool", "name": "mode", "type": "bool" }], "name": "setSpenderWhitelistMode", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "token", "type": "address" }, { "internalType": "bool", "name": "mode", "type": "bool" }], "name": "setTokenBlacklistMode", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [{ "components": [{ "internalType": "contractITokenPriceOracle", "name": "oracle", "type": "address" }, { "internalType": "contractIERC20", "name": "token", "type": "address" }, { "internalType": "uint8", "name": "decimals", "type": "uint8" }, { "internalType": "address", "name": "aggregator", "type": "address" }], "internalType": "structTokenData", "name": "data", "type": "tuple" }], "name": "setTokenData", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "bool", "name": "mode", "type": "bool" }], "name": "setTokenListMode", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "token", "type": "address" }, { "internalType": "bool", "name": "mode", "type": "bool" }], "name": "setTokenWhitelistMode", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "", "type": "address" }], "name": "tokens", "outputs": [{ "internalType": "contractITokenPriceOracle", "name": "oracle", "type": "address" }, { "internalType": "contractIERC20", "name": "token", "type": "address" }, { "internalType": "uint8", "name": "decimals", "type": "uint8" }, { "internalType": "address", "name": "aggregator", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "newOwner", "type": "address" }], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "unlockStakeFromEntryPoint", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "token", "type": "address" }, { "internalType": "uint256", "name": "num", "type": "uint256" }], "name": "unlockTokenDepositAfter", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [{ "components": [{ "internalType": "address", "name": "sender", "type": "address" }, { "internalType": "uint256", "name": "nonce", "type": "uint256" }, { "internalType": "bytes", "name": "initCode", "type": "bytes" }, { "internalType": "bytes", "name": "callData", "type": "bytes" }, { "internalType": "uint256", "name": "callGasLimit", "type": "uint256" }, { "internalType": "uint256", "name": "verificationGasLimit", "type": "uint256" }, { "internalType": "uint256", "name": "preVerificationGas", "type": "uint256" }, { "internalType": "uint256", "name": "maxFeePerGas", "type": "uint256" }, { "internalType": "uint256", "name": "maxPriorityFeePerGas", "type": "uint256" }, { "internalType": "bytes", "name": "paymasterAndData", "type": "bytes" }, { "internalType": "bytes", "name": "signature", "type": "bytes" }], "internalType": "structUserOperation", "name": "userOp", "type": "tuple" }, { "internalType": "bytes32", "name": "userOpHash", "type": "bytes32" }, { "internalType": "uint256", "name": "maxCost", "type": "uint256" }], "name": "validatePaymasterUserOp", "outputs": [{ "internalType": "bytes", "name": "context", "type": "bytes" }, { "internalType": "uint256", "name": "sigTimeRange", "type": "uint256" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "addresspayable", "name": "target", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "withdrawEthDepositTo", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [], "name": "withdrawEthDust", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "addresspayable", "name": "withdrawAddress", "type": "address" }], "name": "withdrawStakeFromEntryPoint", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "token", "type": "address" }, { "internalType": "address", "name": "target", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "withdrawTokenDepositTo", "outputs": [], "stateMutability": "payable", "type": "function" }], "addresses": { "1": "0x6C5c2c8776Ecc5943760C68a200eC7e3650eFC2F", "5": "0x2b098A9B293EE50a1362D0500A5dC519E2E34d35", "10": "0x4Aabd0420D4ae964f065F9feb2fa0b04A8D65eAF", "137": "0x81051ac27b665B3c28bD7398DbA111E760f1DE4c", "8453": "0x31A2E8D96d96735daC5Af28A2073e6aEaF76BDe3", "36865": "0x6C5c2c8776Ecc5943760C68a200eC7e3650eFC2F", "42161": "0x2AF4CEc1525Fc62a0D4d91c4c1872dF5FB09c963" } }
{ "name": "TokenPaymaster", "abi": [{ "inputs": [{ "internalType": "contractIEntryPoint", "name": "_entryPoint", "type": "address" }, { "internalType": "contractIImplementationRegistry", "name": "_implementationRegistry", "type": "address" }], "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "caller", "type": "address" }, { "indexed": true, "internalType": "address", "name": "sponsor", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "AddEthDepositTo", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "token", "type": "address" }, { "indexed": true, "internalType": "address", "name": "recipient", "type": "address" }, { "indexed": true, "internalType": "address", "name": "spender", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "AddTokenDepositTo", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address[]", "name": "tokens", "type": "address[]" }, { "indexed": true, "internalType": "address", "name": "sponsor", "type": "address" }], "name": "AddTokens", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "bytes[]", "name": "data", "type": "bytes[]" }], "name": "BatchActions", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "token", "type": "address" }, { "indexed": true, "internalType": "address", "name": "spender", "type": "address" }], "name": "LockTokenDeposit", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "previousOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" }], "name": "OwnershipTransferStarted", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "previousOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" }], "name": "OwnershipTransferred", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "contractIEntryPoint", "name": "entryPoint", "type": "address" }], "name": "PaymasterCreated", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "bytes32", "name": "opHash", "type": "bytes32" }, { "indexed": true, "internalType": "address", "name": "spender", "type": "address" }, { "indexed": true, "internalType": "address", "name": "sponsor", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "spenderCost", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "sponsorCost", "type": "uint256" }], "name": "PostOpGasPaid", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "bytes", "name": "context", "type": "bytes" }, { "indexed": false, "internalType": "uint256", "name": "actualGasCost", "type": "uint256" }], "name": "PostOpReverted", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "token", "type": "address" }], "name": "RemoveTokenData", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address[]", "name": "tokens", "type": "address[]" }, { "indexed": true, "internalType": "address", "name": "sponsor", "type": "address" }], "name": "RemoveTokens", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "sponsor", "type": "address" }, { "indexed": false, "internalType": "bool", "name": "mode", "type": "bool" }], "name": "SetListMode", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "spender", "type": "address" }, { "indexed": true, "internalType": "address", "name": "sponsor", "type": "address" }, { "indexed": false, "internalType": "bool", "name": "mode", "type": "bool" }], "name": "SetSpenderBlacklistMode", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "spender", "type": "address" }, { "indexed": true, "internalType": "address", "name": "sponsor", "type": "address" }, { "indexed": false, "internalType": "bool", "name": "mode", "type": "bool" }], "name": "SetSpenderWhitelistMode", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "token", "type": "address" }, { "indexed": true, "internalType": "address", "name": "sponsor", "type": "address" }, { "indexed": false, "internalType": "bool", "name": "mode", "type": "bool" }], "name": "SetTokenBlacklistMode", "type": "event" }, { "anonymous": false, "inputs": [{ "components": [{ "internalType": "contractITokenPriceOracle", "name": "oracle", "type": "address" }, { "internalType": "contractIERC20", "name": "token", "type": "address" }, { "internalType": "uint8", "name": "decimals", "type": "uint8" }, { "internalType": "address", "name": "aggregator", "type": "address" }], "indexed": true, "internalType": "structTokenData", "name": "data", "type": "tuple" }], "name": "SetTokenData", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "sponsor", "type": "address" }, { "indexed": false, "internalType": "bool", "name": "mode", "type": "bool" }], "name": "SetTokenListMode", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "token", "type": "address" }, { "indexed": true, "internalType": "address", "name": "sponsor", "type": "address" }, { "indexed": false, "internalType": "bool", "name": "mode", "type": "bool" }], "name": "SetTokenWhitelistMode", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "token", "type": "address" }, { "indexed": true, "internalType": "address", "name": "spender", "type": "address" }, { "indexed": true, "internalType": "uint256", "name": "unlockBlockNum", "type": "uint256" }], "name": "UnlockTokenDepositAfter", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "caller", "type": "address" }, { "indexed": true, "internalType": "address", "name": "target", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "WithdrawEthDepositTo", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "token", "type": "address" }, { "indexed": true, "internalType": "address", "name": "recipient", "type": "address" }, { "indexed": true, "internalType": "address", "name": "target", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "WithdrawTokenDepositTo", "type": "event" }, { "inputs": [], "name": "COST_OF_SIG", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "COST_OF_TRANSFER", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "ETH", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "VERSION", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "acceptOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "accumulatedEthDust", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "sponsor", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "addEthDepositTo", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "unstakeDelaySec", "type": "uint32" }], "name": "addStakeToEntryPoint", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "token", "type": "address" }, { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "addTokenDepositTo", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [{ "internalType": "address[]", "name": "_tokens", "type": "address[]" }], "name": "addTokens", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [{ "internalType": "bytes[]", "name": "data", "type": "bytes[]" }], "name": "batchActions", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [], "name": "entryPoint", "outputs": [{ "internalType": "contractIEntryPoint", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "token", "type": "address" }, { "internalType": "address", "name": "spender", "type": "address" }], "name": "getAllTokenData", "outputs": [{ "internalType": "uint256", "name": "unlockBlock", "type": "uint256" }, { "internalType": "uint256", "name": "tokenAmount", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getAllTokens", "outputs": [{ "internalType": "address[]", "name": "", "type": "address[]" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_token", "type": "address" }, { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "tokenAmount", "type": "uint256" }], "name": "getCanPayThroughApproval", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "contractIERC20", "name": "token", "type": "address" }, { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "tokenAmount", "type": "uint256" }], "name": "getHasBalance", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "sponsor", "type": "address" }], "name": "getListMode", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "address", "name": "sponsor", "type": "address" }], "name": "getSpenderBlacklisted", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "address", "name": "sponsor", "type": "address" }], "name": "getSpenderWhitelisted", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "token", "type": "address" }, { "internalType": "address", "name": "sponsor", "type": "address" }], "name": "getSponsorTokenUsage", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "token", "type": "address" }], "name": "getToken", "outputs": [{ "components": [{ "internalType": "contractITokenPriceOracle", "name": "oracle", "type": "address" }, { "internalType": "contractIERC20", "name": "token", "type": "address" }, { "internalType": "uint8", "name": "decimals", "type": "uint8" }, { "internalType": "address", "name": "aggregator", "type": "address" }], "internalType": "structTokenData", "name": "", "type": "tuple" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "token", "type": "address" }, { "internalType": "address", "name": "spender", "type": "address" }], "name": "getTokenBalance", "outputs": [{ "internalType": "uint256", "name": "tokenAmount", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "token", "type": "address" }, { "internalType": "address", "name": "sponsor", "type": "address" }], "name": "getTokenBlacklisted", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "sponsor", "type": "address" }], "name": "getTokenListMode", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_token", "type": "address" }, { "internalType": "uint256", "name": "ethBought", "type": "uint256" }], "name": "getTokenValueOfEth", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "token", "type": "address" }, { "internalType": "address", "name": "sponsor", "type": "address" }], "name": "getTokenWhitelisted", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "token", "type": "address" }, { "internalType": "address", "name": "spender", "type": "address" }], "name": "getUnlockBlock", "outputs": [{ "internalType": "uint256", "name": "unlockBlock", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "implementationRegistry", "outputs": [{ "internalType": "contractIImplementationRegistry", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "token", "type": "address" }], "name": "lockTokenDeposit", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "pendingOwner", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "enumIPaymaster.PostOpMode", "name": "mode", "type": "uint8" }, { "internalType": "bytes", "name": "context", "type": "bytes" }, { "internalType": "uint256", "name": "actualGasCost", "type": "uint256" }], "name": "postOp", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "tokenAddress", "type": "address" }, { "internalType": "uint256", "name": "tokenListIndex", "type": "uint256" }], "name": "removeTokenData", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address[]", "name": "_tokens", "type": "address[]" }], "name": "removeTokens", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "bool", "name": "mode", "type": "bool" }], "name": "setListMode", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "bool", "name": "mode", "type": "bool" }], "name": "setSpenderBlacklistMode", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "bool", "name": "mode", "type": "bool" }], "name": "setSpenderWhitelistMode", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "token", "type": "address" }, { "internalType": "bool", "name": "mode", "type": "bool" }], "name": "setTokenBlacklistMode", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [{ "components": [{ "internalType": "contractITokenPriceOracle", "name": "oracle", "type": "address" }, { "internalType": "contractIERC20", "name": "token", "type": "address" }, { "internalType": "uint8", "name": "decimals", "type": "uint8" }, { "internalType": "address", "name": "aggregator", "type": "address" }], "internalType": "structTokenData", "name": "data", "type": "tuple" }], "name": "setTokenData", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "bool", "name": "mode", "type": "bool" }], "name": "setTokenListMode", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "token", "type": "address" }, { "internalType": "bool", "name": "mode", "type": "bool" }], "name": "setTokenWhitelistMode", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "", "type": "address" }], "name": "tokens", "outputs": [{ "internalType": "contractITokenPriceOracle", "name": "oracle", "type": "address" }, { "internalType": "contractIERC20", "name": "token", "type": "address" }, { "internalType": "uint8", "name": "decimals", "type": "uint8" }, { "internalType": "address", "name": "aggregator", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "newOwner", "type": "address" }], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "unlockStakeFromEntryPoint", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "token", "type": "address" }, { "internalType": "uint256", "name": "num", "type": "uint256" }], "name": "unlockTokenDepositAfter", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [{ "components": [{ "internalType": "address", "name": "sender", "type": "address" }, { "internalType": "uint256", "name": "nonce", "type": "uint256" }, { "internalType": "bytes", "name": "initCode", "type": "bytes" }, { "internalType": "bytes", "name": "callData", "type": "bytes" }, { "internalType": "uint256", "name": "callGasLimit", "type": "uint256" }, { "internalType": "uint256", "name": "verificationGasLimit", "type": "uint256" }, { "internalType": "uint256", "name": "preVerificationGas", "type": "uint256" }, { "internalType": "uint256", "name": "maxFeePerGas", "type": "uint256" }, { "internalType": "uint256", "name": "maxPriorityFeePerGas", "type": "uint256" }, { "internalType": "bytes", "name": "paymasterAndData", "type": "bytes" }, { "internalType": "bytes", "name": "signature", "type": "bytes" }], "internalType": "structUserOperation", "name": "userOp", "type": "tuple" }, { "internalType": "bytes32", "name": "userOpHash", "type": "bytes32" }, { "internalType": "uint256", "name": "maxCost", "type": "uint256" }], "name": "validatePaymasterUserOp", "outputs": [{ "internalType": "bytes", "name": "context", "type": "bytes" }, { "internalType": "uint256", "name": "sigTimeRange", "type": "uint256" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "addresspayable", "name": "target", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "withdrawEthDepositTo", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [], "name": "withdrawEthDust", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "addresspayable", "name": "withdrawAddress", "type": "address" }], "name": "withdrawStakeFromEntryPoint", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "token", "type": "address" }, { "internalType": "address", "name": "target", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "withdrawTokenDepositTo", "outputs": [], "stateMutability": "payable", "type": "function" }], "addresses": { "1": "0x6C5c2c8776Ecc5943760C68a200eC7e3650eFC2F", "5": "0x2b098A9B293EE50a1362D0500A5dC519E2E34d35", "10": "0x4Aabd0420D4ae964f065F9feb2fa0b04A8D65eAF", "137": "0x81051ac27b665B3c28bD7398DbA111E760f1DE4c", "8453": "0x31A2E8D96d96735daC5Af28A2073e6aEaF76BDe3", "36865": "0x6C5c2c8776Ecc5943760C68a200eC7e3650eFC2F", "42161": "0x2AF4CEc1525Fc62a0D4d91c4c1872dF5FB09c963", "421614": "0x49E64C6e75fa2317D2AEE59e571311ac5DCaB43d" } }

@@ -1,1 +0,1 @@

{ "name": "TokenPriceOracle", "abi": [{ "inputs": [], "name": "MAX_DELAY", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "WEI_IN_ETH", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "aggregatorOrToken", "type": "address" }, { "internalType": "uint256", "name": "ethAmount", "type": "uint256" }, { "internalType": "uint8", "name": "tokenDecimals", "type": "uint8" }], "name": "getTokenValueOfEth", "outputs": [{ "internalType": "uint256", "name": "tokenValueOfEth", "type": "uint256" }, { "internalType": "uint256", "name": "oracleValidUntil", "type": "uint256" }], "stateMutability": "view", "type": "function" }], "addresses": { "1": "0x302275dcF9919c5449F2d53253ACD06315385272", "5": "0x302275dcF9919c5449F2d53253ACD06315385272", "10": "0x302275dcF9919c5449F2d53253ACD06315385272", "137": "0x302275dcF9919c5449F2d53253ACD06315385272", "8453": "0x302275dcF9919c5449F2d53253ACD06315385272", "36865": "0x302275dcF9919c5449F2d53253ACD06315385272", "42161": "0x302275dcF9919c5449F2d53253ACD06315385272" } }
{ "name": "TokenPriceOracle", "abi": [{ "inputs": [], "name": "MAX_DELAY", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "WEI_IN_ETH", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "aggregatorOrToken", "type": "address" }, { "internalType": "uint256", "name": "ethAmount", "type": "uint256" }, { "internalType": "uint8", "name": "tokenDecimals", "type": "uint8" }], "name": "getTokenValueOfEth", "outputs": [{ "internalType": "uint256", "name": "tokenValueOfEth", "type": "uint256" }, { "internalType": "uint256", "name": "oracleValidUntil", "type": "uint256" }], "stateMutability": "view", "type": "function" }], "addresses": { "1": "0x302275dcF9919c5449F2d53253ACD06315385272", "5": "0x302275dcF9919c5449F2d53253ACD06315385272", "10": "0x302275dcF9919c5449F2d53253ACD06315385272", "137": "0x302275dcF9919c5449F2d53253ACD06315385272", "8453": "0x302275dcF9919c5449F2d53253ACD06315385272", "36865": "0x302275dcF9919c5449F2d53253ACD06315385272", "42161": "0x302275dcF9919c5449F2d53253ACD06315385272", "421614": "0xB3Bb6f2F6C4bc17F1E91E393d6331a899D1e8FC7" } }

@@ -1,1 +0,1 @@

{ "name": "univ3factory", "abi": [{ "inputs": [], "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "uint24", "name": "fee", "type": "uint24" }, { "indexed": true, "internalType": "int24", "name": "tickSpacing", "type": "int24" }], "name": "FeeAmountEnabled", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "oldOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" }], "name": "OwnerChanged", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "token0", "type": "address" }, { "indexed": true, "internalType": "address", "name": "token1", "type": "address" }, { "indexed": true, "internalType": "uint24", "name": "fee", "type": "uint24" }, { "indexed": false, "internalType": "int24", "name": "tickSpacing", "type": "int24" }, { "indexed": false, "internalType": "address", "name": "pool", "type": "address" }], "name": "PoolCreated", "type": "event" }, { "inputs": [{ "internalType": "address", "name": "tokenA", "type": "address" }, { "internalType": "address", "name": "tokenB", "type": "address" }, { "internalType": "uint24", "name": "fee", "type": "uint24" }], "name": "createPool", "outputs": [{ "internalType": "address", "name": "pool", "type": "address" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint24", "name": "fee", "type": "uint24" }, { "internalType": "int24", "name": "tickSpacing", "type": "int24" }], "name": "enableFeeAmount", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint24", "name": "", "type": "uint24" }], "name": "feeAmountTickSpacing", "outputs": [{ "internalType": "int24", "name": "", "type": "int24" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "", "type": "address" }, { "internalType": "address", "name": "", "type": "address" }, { "internalType": "uint24", "name": "", "type": "uint24" }], "name": "getPool", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "parameters", "outputs": [{ "internalType": "address", "name": "factory", "type": "address" }, { "internalType": "address", "name": "token0", "type": "address" }, { "internalType": "address", "name": "token1", "type": "address" }, { "internalType": "uint24", "name": "fee", "type": "uint24" }, { "internalType": "int24", "name": "tickSpacing", "type": "int24" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_owner", "type": "address" }], "name": "setOwner", "outputs": [], "stateMutability": "nonpayable", "type": "function" }], "addresses": { "1": "0x1F98431c8aD98523631AE4a59f267346ea31F984", "5": "0x1F98431c8aD98523631AE4a59f267346ea31F984", "10": "0x1F98431c8aD98523631AE4a59f267346ea31F984", "137": "0x1F98431c8aD98523631AE4a59f267346ea31F984", "8453": "0x33128a8fC17869897dcE68Ed026d694621f6FDfD", "36865": "0x1F98431c8aD98523631AE4a59f267346ea31F984", "42161": "0x1F98431c8aD98523631AE4a59f267346ea31F984" } }
{ "name": "univ3factory", "abi": [{ "inputs": [], "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "uint24", "name": "fee", "type": "uint24" }, { "indexed": true, "internalType": "int24", "name": "tickSpacing", "type": "int24" }], "name": "FeeAmountEnabled", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "oldOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" }], "name": "OwnerChanged", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "token0", "type": "address" }, { "indexed": true, "internalType": "address", "name": "token1", "type": "address" }, { "indexed": true, "internalType": "uint24", "name": "fee", "type": "uint24" }, { "indexed": false, "internalType": "int24", "name": "tickSpacing", "type": "int24" }, { "indexed": false, "internalType": "address", "name": "pool", "type": "address" }], "name": "PoolCreated", "type": "event" }, { "inputs": [{ "internalType": "address", "name": "tokenA", "type": "address" }, { "internalType": "address", "name": "tokenB", "type": "address" }, { "internalType": "uint24", "name": "fee", "type": "uint24" }], "name": "createPool", "outputs": [{ "internalType": "address", "name": "pool", "type": "address" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint24", "name": "fee", "type": "uint24" }, { "internalType": "int24", "name": "tickSpacing", "type": "int24" }], "name": "enableFeeAmount", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint24", "name": "", "type": "uint24" }], "name": "feeAmountTickSpacing", "outputs": [{ "internalType": "int24", "name": "", "type": "int24" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "", "type": "address" }, { "internalType": "address", "name": "", "type": "address" }, { "internalType": "uint24", "name": "", "type": "uint24" }], "name": "getPool", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "parameters", "outputs": [{ "internalType": "address", "name": "factory", "type": "address" }, { "internalType": "address", "name": "token0", "type": "address" }, { "internalType": "address", "name": "token1", "type": "address" }, { "internalType": "uint24", "name": "fee", "type": "uint24" }, { "internalType": "int24", "name": "tickSpacing", "type": "int24" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_owner", "type": "address" }], "name": "setOwner", "outputs": [], "stateMutability": "nonpayable", "type": "function" }], "addresses": { "1": "0x1F98431c8aD98523631AE4a59f267346ea31F984", "5": "0x1F98431c8aD98523631AE4a59f267346ea31F984", "10": "0x1F98431c8aD98523631AE4a59f267346ea31F984", "137": "0x1F98431c8aD98523631AE4a59f267346ea31F984", "8453": "0x33128a8fC17869897dcE68Ed026d694621f6FDfD", "36865": "0x1F98431c8aD98523631AE4a59f267346ea31F984", "42161": "0x1F98431c8aD98523631AE4a59f267346ea31F984", "421614": "0x1F98431c8aD98523631AE4a59f267346ea31F984" } }

@@ -1,1 +0,1 @@

{ "name": "univ3router", "abi": [], "addresses": { "1": "0xE592427A0AEce92De3Edee1F18E0157C05861564", "5": "0xc104A3e2CDC1c29a2a284C515d4e10102D2e39cE", "10": "0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45", "137": "0xE592427A0AEce92De3Edee1F18E0157C05861564", "8453": "0x2626664c2603336E57B271c5C0b26F421741e481", "36865": "0xE592427A0AEce92De3Edee1F18E0157C05861564", "42161": "0xE592427A0AEce92De3Edee1F18E0157C05861564" } }
{ "name": "univ3router", "abi": [], "addresses": { "1": "0xE592427A0AEce92De3Edee1F18E0157C05861564", "5": "0xc104A3e2CDC1c29a2a284C515d4e10102D2e39cE", "10": "0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45", "137": "0xE592427A0AEce92De3Edee1F18E0157C05861564", "8453": "0x2626664c2603336E57B271c5C0b26F421741e481", "36865": "0xE592427A0AEce92De3Edee1F18E0157C05861564", "42161": "0xE592427A0AEce92De3Edee1F18E0157C05861564", "421614": "0xE592427A0AEce92De3Edee1F18E0157C05861564" } }

@@ -1,1 +0,1 @@

{ "name": "UserAuthentication", "abi": [{ "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "wallet", "type": "address" }, { "indexed": true, "internalType": "bytes32", "name": "groupId", "type": "bytes32" }, { "components": [{ "internalType": "bytes32[]", "name": "userIds", "type": "bytes32[]" }, { "internalType": "uint256", "name": "threshold", "type": "uint256" }], "indexed": false, "internalType": "structMultiSigGroup", "name": "group", "type": "tuple" }], "name": "MultiSigGroupCreated", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "wallet", "type": "address" }, { "indexed": true, "internalType": "bytes32", "name": "groupId", "type": "bytes32" }], "name": "MultiSigGroupDeleted", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "wallet", "type": "address" }, { "indexed": true, "internalType": "bytes32", "name": "groupId", "type": "bytes32" }, { "components": [{ "internalType": "bytes32[]", "name": "userIds", "type": "bytes32[]" }, { "internalType": "uint256", "name": "threshold", "type": "uint256" }], "indexed": false, "internalType": "structMultiSigGroup", "name": "group", "type": "tuple" }], "name": "MultiSigGroupUpdated", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "wallet", "type": "address" }, { "indexed": false, "internalType": "bytes", "name": "multiSigInitData", "type": "bytes" }], "name": "UserAuthenticationInitialized", "type": "event" }, { "inputs": [], "name": "ADMIN_ROLE", "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "INIT_HASH", "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "VERSION", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "components": [{ "internalType": "address", "name": "sender", "type": "address" }, { "internalType": "uint256", "name": "nonce", "type": "uint256" }, { "internalType": "bytes", "name": "initCode", "type": "bytes" }, { "internalType": "bytes", "name": "callData", "type": "bytes" }, { "internalType": "uint256", "name": "callGasLimit", "type": "uint256" }, { "internalType": "uint256", "name": "verificationGasLimit", "type": "uint256" }, { "internalType": "uint256", "name": "preVerificationGas", "type": "uint256" }, { "internalType": "uint256", "name": "maxFeePerGas", "type": "uint256" }, { "internalType": "uint256", "name": "maxPriorityFeePerGas", "type": "uint256" }, { "internalType": "bytes", "name": "paymasterAndData", "type": "bytes" }, { "internalType": "bytes", "name": "signature", "type": "bytes" }], "internalType": "structUserOperation", "name": "userOp", "type": "tuple" }, { "internalType": "bytes32", "name": "userOpHash", "type": "bytes32" }, { "internalType": "bytes", "name": "", "type": "bytes" }], "name": "authenticateUserOp", "outputs": [{ "internalType": "uint256", "name": "sigTimeRange", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "groupId", "type": "bytes32" }, { "components": [{ "internalType": "bytes32[]", "name": "userIds", "type": "bytes32[]" }, { "internalType": "uint256", "name": "threshold", "type": "uint256" }], "internalType": "structMultiSigGroup", "name": "group", "type": "tuple" }], "name": "createMultiSigGroup", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "groupId", "type": "bytes32" }], "name": "deleteMultiSigGroup", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "key", "type": "bytes32" }], "name": "getState", "outputs": [{ "internalType": "bytes", "name": "state", "type": "bytes" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "key", "type": "bytes32" }], "name": "getState32", "outputs": [{ "internalType": "bytes32", "name": "state", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "bytes", "name": "multiSigInitData", "type": "bytes" }], "name": "init", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "", "type": "address" }, { "internalType": "uint256", "name": "", "type": "uint256" }, { "internalType": "bytes", "name": "", "type": "bytes" }, { "internalType": "bytes", "name": "_signature", "type": "bytes" }, { "internalType": "bytes32", "name": "_hash", "type": "bytes32" }], "name": "isValidAction", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "moduleId", "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "bytes[]", "name": "calls", "type": "bytes[]" }], "name": "multiCall", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "bytes", "name": "signature", "type": "bytes" }, { "internalType": "bytes32", "name": "userOpHash", "type": "bytes32" }, { "internalType": "bytes32", "name": "userId", "type": "bytes32" }], "name": "subValidateSignatureECDSA", "outputs": [{ "internalType": "uint256", "name": "sigTimeRange", "type": "uint256" }], "stateMutability": "pure", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "groupId", "type": "bytes32" }, { "components": [{ "internalType": "bytes32[]", "name": "userIds", "type": "bytes32[]" }, { "internalType": "uint256", "name": "threshold", "type": "uint256" }], "internalType": "structMultiSigGroup", "name": "group", "type": "tuple" }], "name": "updateMultiSigGroup", "outputs": [], "stateMutability": "nonpayable", "type": "function" }], "addresses": { "1": "0xb3DeA1dd1d9aC323041850c0A15C578C883F3f6F", "5": "0xb3DeA1dd1d9aC323041850c0A15C578C883F3f6F", "10": "0xb3DeA1dd1d9aC323041850c0A15C578C883F3f6F", "137": "0xb3DeA1dd1d9aC323041850c0A15C578C883F3f6F", "8453": "0xb3DeA1dd1d9aC323041850c0A15C578C883F3f6F", "36865": "0xb3DeA1dd1d9aC323041850c0A15C578C883F3f6F", "42161": "0xb3DeA1dd1d9aC323041850c0A15C578C883F3f6F" } }
{ "name": "UserAuthentication", "abi": [{ "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "wallet", "type": "address" }, { "indexed": true, "internalType": "bytes32", "name": "groupId", "type": "bytes32" }, { "components": [{ "internalType": "bytes32[]", "name": "userIds", "type": "bytes32[]" }, { "internalType": "uint256", "name": "threshold", "type": "uint256" }], "indexed": false, "internalType": "structMultiSigGroup", "name": "group", "type": "tuple" }], "name": "MultiSigGroupCreated", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "wallet", "type": "address" }, { "indexed": true, "internalType": "bytes32", "name": "groupId", "type": "bytes32" }], "name": "MultiSigGroupDeleted", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "wallet", "type": "address" }, { "indexed": true, "internalType": "bytes32", "name": "groupId", "type": "bytes32" }, { "components": [{ "internalType": "bytes32[]", "name": "userIds", "type": "bytes32[]" }, { "internalType": "uint256", "name": "threshold", "type": "uint256" }], "indexed": false, "internalType": "structMultiSigGroup", "name": "group", "type": "tuple" }], "name": "MultiSigGroupUpdated", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "wallet", "type": "address" }, { "indexed": false, "internalType": "bytes", "name": "multiSigInitData", "type": "bytes" }], "name": "UserAuthenticationInitialized", "type": "event" }, { "inputs": [], "name": "ADMIN_ROLE", "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "INIT_HASH", "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "VERSION", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "components": [{ "internalType": "address", "name": "sender", "type": "address" }, { "internalType": "uint256", "name": "nonce", "type": "uint256" }, { "internalType": "bytes", "name": "initCode", "type": "bytes" }, { "internalType": "bytes", "name": "callData", "type": "bytes" }, { "internalType": "uint256", "name": "callGasLimit", "type": "uint256" }, { "internalType": "uint256", "name": "verificationGasLimit", "type": "uint256" }, { "internalType": "uint256", "name": "preVerificationGas", "type": "uint256" }, { "internalType": "uint256", "name": "maxFeePerGas", "type": "uint256" }, { "internalType": "uint256", "name": "maxPriorityFeePerGas", "type": "uint256" }, { "internalType": "bytes", "name": "paymasterAndData", "type": "bytes" }, { "internalType": "bytes", "name": "signature", "type": "bytes" }], "internalType": "structUserOperation", "name": "userOp", "type": "tuple" }, { "internalType": "bytes32", "name": "userOpHash", "type": "bytes32" }, { "internalType": "bytes", "name": "", "type": "bytes" }], "name": "authenticateUserOp", "outputs": [{ "internalType": "uint256", "name": "sigTimeRange", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "groupId", "type": "bytes32" }, { "components": [{ "internalType": "bytes32[]", "name": "userIds", "type": "bytes32[]" }, { "internalType": "uint256", "name": "threshold", "type": "uint256" }], "internalType": "structMultiSigGroup", "name": "group", "type": "tuple" }], "name": "createMultiSigGroup", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "groupId", "type": "bytes32" }], "name": "deleteMultiSigGroup", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "key", "type": "bytes32" }], "name": "getState", "outputs": [{ "internalType": "bytes", "name": "state", "type": "bytes" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "key", "type": "bytes32" }], "name": "getState32", "outputs": [{ "internalType": "bytes32", "name": "state", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "bytes", "name": "multiSigInitData", "type": "bytes" }], "name": "init", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "", "type": "address" }, { "internalType": "uint256", "name": "", "type": "uint256" }, { "internalType": "bytes", "name": "", "type": "bytes" }, { "internalType": "bytes", "name": "_signature", "type": "bytes" }, { "internalType": "bytes32", "name": "_hash", "type": "bytes32" }], "name": "isValidAction", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "moduleId", "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "bytes[]", "name": "calls", "type": "bytes[]" }], "name": "multiCall", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "bytes", "name": "signature", "type": "bytes" }, { "internalType": "bytes32", "name": "userOpHash", "type": "bytes32" }, { "internalType": "bytes32", "name": "userId", "type": "bytes32" }], "name": "subValidateSignatureECDSA", "outputs": [{ "internalType": "uint256", "name": "sigTimeRange", "type": "uint256" }], "stateMutability": "pure", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "groupId", "type": "bytes32" }, { "components": [{ "internalType": "bytes32[]", "name": "userIds", "type": "bytes32[]" }, { "internalType": "uint256", "name": "threshold", "type": "uint256" }], "internalType": "structMultiSigGroup", "name": "group", "type": "tuple" }], "name": "updateMultiSigGroup", "outputs": [], "stateMutability": "nonpayable", "type": "function" }], "addresses": { "1": "0xb3DeA1dd1d9aC323041850c0A15C578C883F3f6F", "5": "0xb3DeA1dd1d9aC323041850c0A15C578C883F3f6F", "10": "0xb3DeA1dd1d9aC323041850c0A15C578C883F3f6F", "137": "0xb3DeA1dd1d9aC323041850c0A15C578C883F3f6F", "8453": "0xb3DeA1dd1d9aC323041850c0A15C578C883F3f6F", "36865": "0xb3DeA1dd1d9aC323041850c0A15C578C883F3f6F", "42161": "0xb3DeA1dd1d9aC323041850c0A15C578C883F3f6F", "421614": "0x65f595b02909ea5767B7b0a70E89c1505DBC1300" } }
import { Address } from 'viem';
import { CheckoutCoreInitParams, CheckoutCoreQuoteParams, CheckoutCoreQuoteResponse, CheckoutHistoryItem } from './types';
import { CheckoutCoreInitParams, CheckoutCoreQuoteParams, CheckoutCoreQuoteResponse, CheckoutHistoryItem, CheckoutTransferSponsorshipCoreParams, CheckoutTransferSponsorshipResponse } from './types';
/**

@@ -14,3 +14,3 @@ * Gets a checkout quote (estimation).

*/
export declare function getCheckoutQuote({ fromChainId, fromTokenAddress, toChainId, toTokenAddress, toTokenAmount, expirationTimestampMs, apiKey, }: CheckoutCoreQuoteParams): Promise<CheckoutCoreQuoteResponse>;
export declare function getCheckoutQuote({ fromChainId, fromTokenAddress, toChainId, toTokenAddress, toTokenAmount, expirationTimestampMs, sponsorInitialTransferGasLimit, apiKey, }: CheckoutCoreQuoteParams): Promise<CheckoutCoreQuoteResponse>;
/**

@@ -45,1 +45,2 @@ * Initializes a checkout

}): Promise<CheckoutHistoryItem[]>;
export declare function getPaymasterDataForCheckoutSponsoredTransfer({ depositAddress, transferUserOp, apiKey, }: CheckoutTransferSponsorshipCoreParams): Promise<CheckoutTransferSponsorshipResponse>;

@@ -6,3 +6,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.getCheckoutsByFunWalletAddress = exports.getCheckoutByDepositAddress = exports.initializeCheckout = exports.getCheckoutQuote = void 0;
exports.getPaymasterDataForCheckoutSponsoredTransfer = exports.getCheckoutsByFunWalletAddress = exports.getCheckoutByDepositAddress = exports.initializeCheckout = exports.getCheckoutQuote = void 0;
const big_js_1 = __importDefault(require("big.js"));

@@ -24,3 +24,3 @@ const constants_1 = require("../common/constants");

*/
async function getCheckoutQuote({ fromChainId, fromTokenAddress, toChainId, toTokenAddress, toTokenAmount, expirationTimestampMs, apiKey, }) {
async function getCheckoutQuote({ fromChainId, fromTokenAddress, toChainId, toTokenAddress, toTokenAmount, expirationTimestampMs, sponsorInitialTransferGasLimit, apiKey, }) {
try {

@@ -42,2 +42,3 @@ const toDecimals = await (0, CheckoutUtils_1.getDecimals)({

checkoutExpirationTimestampSeconds: (0, CheckoutUtils_1.roundToNearestBottomTenth)(Math.round((Date.now() + expirationTimestampMs) / 1000)).toString(),
sponsorInitialTransferGasLimit,
};

@@ -127,2 +128,15 @@ const searchParams = new URLSearchParams(queryParams);

exports.getCheckoutsByFunWalletAddress = getCheckoutsByFunWalletAddress;
async function getPaymasterDataForCheckoutSponsoredTransfer({ depositAddress, transferUserOp, apiKey, }) {
const body = {
depositAddress,
userOp: transferUserOp,
};
const res = await (0, ApiUtils_1.sendPostRequest)(constants_1.API_URL, 'checkout/sponsor-transfer', body, apiKey);
if (!res) {
// TODO: Better error handling
throw new Error('Unable to get sponsorship information');
}
return res;
}
exports.getPaymasterDataForCheckoutSponsoredTransfer = getPaymasterDataForCheckoutSponsoredTransfer;
//# sourceMappingURL=CheckoutApis.js.map

@@ -65,2 +65,3 @@ import { Address, Hex } from 'viem';

checkoutExpirationTimestampSeconds: string;
sponsorInitialTransferGasLimit: string;
};

@@ -127,1 +128,19 @@ export type CheckoutCoreQuoteParams = Omit<CheckoutApiQuoteParams, 'toAmountBaseUnit' | 'checkoutExpirationTimestampSeconds'> & {

};
/**===============================*
* CHECKOUT TRANSFER SPONSORSHIP *
*================================*/
export type CheckoutTransferSponsorshipCoreParams = {
transferUserOp: UserOperation;
depositAddress: Address;
apiKey: string;
};
export type CheckoutTransferSponsorshipApiParams = {
userOp: UserOperation;
depositAddress: Address;
};
export type CheckoutTransferSponsorshipResponse = {
signerAddress: Address;
signature: Hex;
deadline: number;
paymasterAndData: Hex;
};

@@ -28,2 +28,5 @@ import { ContractInterface } from '../viem/ContractInterface';

};
'421614': {
weth: string;
};
'43113': {

@@ -972,2 +975,3 @@ weth: string;

"42161": string;
"421614": string;
};

@@ -982,2 +986,3 @@ tokenSwapAddress: {

"42161": string;
"421614": string;
};

@@ -992,2 +997,3 @@ entryPointAddress: {

"42161": string;
"421614": string;
};

@@ -1002,2 +1008,3 @@ factoryAddress: {

"42161": string;
"421614": string;
};

@@ -1012,7 +1019,11 @@ gaslessPaymasterAddress: {

"42161": string;
"421614": string;
};
checkoutPaymasterAddress: {
'1': string;
'5': string;
'137': string;
'8453': string;
'42161': string;
'421614': string;
};

@@ -1027,2 +1038,3 @@ estimationPaymasterAddress: {

"42161": string;
"421614": string;
};

@@ -1037,2 +1049,3 @@ tokenPaymasterAddress: {

"42161": string;
"421614": string;
};

@@ -1047,2 +1060,3 @@ oracle: {

"42161": string;
"421614": string;
};

@@ -1057,2 +1071,3 @@ userAuthAddress: {

"42161": string;
"421614": string;
};

@@ -1067,2 +1082,3 @@ rbacAddress: {

"42161": string;
"421614": string;
};

@@ -1077,2 +1093,3 @@ feeOracle: {

"42161": string;
"421614": string;
};

@@ -1096,2 +1113,3 @@ uniswapv3LimitOrder: {

"42161": string;
"421614": string;
};

@@ -1115,2 +1133,3 @@ univ3quoter: {

"42161": string;
"421614": string;
};

@@ -1135,2 +1154,3 @@ UniswapV2Factory: {

"42161": string;
"421614": string;
};

@@ -1147,2 +1167,3 @@ funGaslessSponsorAddress: {

'42161': string;
'421614': string;
};

@@ -1175,4 +1196,20 @@ };

};
explorerInfo: {
readonly name: "Etherscan";
readonly url: "https://etherscan.io";
};
isCheckoutSupported: boolean;
} | {
nativeCurrency: {
symbol: "ETH";
decimals: 18;
name: "Ether";
};
explorerInfo: {
readonly name: "Basescan";
readonly url: "https://basescan.org";
};
isCheckoutSupported: boolean;
} | {
nativeCurrency: {
symbol: "MATIC";

@@ -1182,2 +1219,40 @@ decimals: 18;

};
explorerInfo: {
readonly name: "PolygonScan";
readonly url: "https://polygonscan.com";
};
isCheckoutSupported: boolean;
} | {
nativeCurrency: {
symbol: "ETH";
decimals: 18;
name: "Ether";
};
explorerInfo: {
readonly name: "Arbiscan";
readonly url: "https://arbiscan.io";
};
isCheckoutSupported: boolean;
} | {
nativeCurrency: {
symbol: "ETH";
decimals: 18;
name: "Goerli Ether";
};
explorerInfo: {
readonly name: "Etherscan";
readonly url: "https://goerli.etherscan.io";
};
isCheckoutSupported: boolean;
} | {
nativeCurrency: {
symbol: "ETH";
decimals: 18;
name: "Arbitrum Sepolia Ether";
};
explorerInfo: {
readonly name: "Blockscout";
readonly url: "https://sepolia-explorer.arbitrum.io";
};
isCheckoutSupported: boolean;
};

@@ -1184,0 +1259,0 @@ };

@@ -74,2 +74,5 @@ "use strict";

},
'421614': {
weth: '0x980b62da83eff3d4576c647993b0c1d7faf17c73',
},
'43113': {

@@ -89,8 +92,12 @@ weth: '0x1D308089a2D1Ced3f1Ce36B1FcaF815b07217be3',

'42161',
'421614',
];
exports.GASLESS_SPONSOR_SUPPORT_CHAINS = ['5'];
const CHECKOUT_PAYMASTER_ADDRESS_BY_CHAIN = {
'137': '0x4e019e54e0A044DDC2c3c52ef3172DD3C667f78b',
'8453': '0x37Da22a93b51252f1965A72d106A7DF9dA4c95e5',
'42161': '0x4262a21d38a4397b149152d74A57b86bb86922cc',
'1': '0x1933F0C95D52943dcD61938cdC9e5A7606dd929f',
'5': '0x30809b742D0D51B8d5AEb630406cF299cb548E57',
'137': '0xD649aC385EfE8CE69EcE9D2E61aE602e2893C586',
'8453': '0xA86096145c4ee02d08aEB434e3125d0D1b442495',
'42161': '0x784DEeD2F7182E0e92438879bF1Cc3CD6542F8f7',
'421614': '0x0B471a8fF3D038DED6d515741C447976d25E2976',
};

@@ -162,2 +169,3 @@ exports.CHECKOUT_SPONSOR_SUPPORT_CHAINS = Object.keys(CHECKOUT_PAYMASTER_ADDRESS_BY_CHAIN);

'42161': exports.FUN_TOKEN_SPONSOR_ADDRESS,
'421614': exports.FUN_TOKEN_SPONSOR_ADDRESS,
},

@@ -186,10 +194,11 @@ };

/** MAINNETS **/
// [mainnet.id.toString()]: {
// nativeCurrency: {
// symbol: mainnet.nativeCurrency.symbol,
// decimals: mainnet.nativeCurrency.decimals,
// name: mainnet.nativeCurrency.name,
// },
// // Add other static here if necessary
// },
[chains_1.mainnet.id.toString()]: {
nativeCurrency: {
symbol: chains_1.mainnet.nativeCurrency.symbol,
decimals: chains_1.mainnet.nativeCurrency.decimals,
name: chains_1.mainnet.nativeCurrency.name,
},
explorerInfo: chains_1.mainnet.blockExplorers.default,
isCheckoutSupported: true,
},
[chains_1.base.id.toString()]: {

@@ -201,2 +210,4 @@ nativeCurrency: {

},
explorerInfo: chains_1.base.blockExplorers.default,
isCheckoutSupported: true,
},

@@ -209,2 +220,4 @@ [chains_1.polygon.id.toString()]: {

},
explorerInfo: chains_1.polygon.blockExplorers.default,
isCheckoutSupported: true,
},

@@ -217,19 +230,24 @@ [chains_1.arbitrum.id.toString()]: {

},
explorerInfo: chains_1.arbitrum.blockExplorers.default,
isCheckoutSupported: true,
},
/** TESTNETS **/
// TODO: Enable when supported in checkout contract
// [goerli.id.toString()]: {
// nativeCurrency: {
// symbol: goerli.nativeCurrency.symbol,
// decimals: goerli.nativeCurrency.decimals,
// name: goerli.nativeCurrency.name,
// },
// },
// [baseGoerli.id.toString()]: {
// nativeCurrency: {
// symbol: baseGoerli.nativeCurrency.symbol,
// decimals: baseGoerli.nativeCurrency.decimals,
// name: baseGoerli.nativeCurrency.name,
// },
// },
[chains_1.goerli.id.toString()]: {
nativeCurrency: {
symbol: chains_1.goerli.nativeCurrency.symbol,
decimals: chains_1.goerli.nativeCurrency.decimals,
name: chains_1.goerli.nativeCurrency.name,
},
explorerInfo: chains_1.goerli.blockExplorers.default,
isCheckoutSupported: false, // testnet has no fiat checkouts supported
},
[chains_1.arbitrumSepolia.id.toString()]: {
nativeCurrency: {
symbol: chains_1.arbitrumSepolia.nativeCurrency.symbol,
decimals: chains_1.arbitrumSepolia.nativeCurrency.decimals,
name: chains_1.arbitrumSepolia.nativeCurrency.name,
},
explorerInfo: chains_1.arbitrumSepolia.blockExplorers.default,
isCheckoutSupported: false, // testnet has no fiat checkouts supported
},
};

@@ -236,0 +254,0 @@ exports.FUNKIT_CONNECT_SUPPORTED_CHAINS_ID_LIST = Object.keys(exports.FUNKIT_CONNECT_SUPPORTED_CHAINS_INFO);

import { EnvOption, GlobalEnvOption } from './types';
export declare function getEnvOptions(): GlobalEnvOption;
export declare function parseOptions(option: EnvOption): any;
export declare function configureEnvironment(option: GlobalEnvOption): Promise<void>;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.configureEnvironment = exports.parseOptions = void 0;
exports.configureEnvironment = exports.parseOptions = exports.getEnvOptions = void 0;
const data_1 = require("../data");
const errors_1 = require("../errors");
function getEnvOptions() {
return globalThis.globalEnvOption;
}
exports.getEnvOptions = getEnvOptions;
function parseOptions(option) {

@@ -7,0 +11,0 @@ const globalOptions = globalThis.globalEnvOption;

@@ -666,6 +666,12 @@ "use strict";

operation.userOp.signature = estimateGasSignature.toLowerCase();
const res = await chain.estimateOpGas(operation.userOp);
const estimationPaymasterAddress = await chain.getAddress('estimationPaymasterAddress');
const paymasterAndData = operation.userOp.paymasterAndData;
const res = await chain.estimateOpGas({
...operation.userOp,
paymasterAndData: estimationPaymasterAddress,
});
operation.userOp = {
...operation.userOp,
...res,
paymasterAndData,
};

@@ -672,0 +678,0 @@ const { maxFeePerGas, maxPriorityFeePerGas } = await chain.getFeeData();

{
"name": "@funkit/core",
"version": "0.10.2",
"version": "0.10.3",
"description": "Funkit core SDK provides feature-rich and extensible smart wallets built on account abstraction",

@@ -12,2 +12,3 @@ "main": "dist/index.js",

"build": "rm -rf dist && tsc",
"build:watch": "rm -rf dist && tsc -w",
"prepare": "pnpm run build",

@@ -14,0 +15,0 @@ "test": "ts-mocha --exit tests/tenderly/*.ts --exit",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc