@funkit/core 1.0.15 → 1.0.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/abis/ApproveAndExec.json +70 -1
- package/dist/src/abis/EntryPoint.json +546 -2
- package/dist/src/abis/EstimationPaymaster.json +156 -1
- package/dist/src/abis/FeePercentOracle.json +142 -1
- package/dist/src/abis/FunWallet.json +534 -2
- package/dist/src/abis/FunWalletFactory.json +141 -1
- package/dist/src/abis/GaslessPaymaster.json +329 -1
- package/dist/src/abis/RoleBasedAccessControl.json +2 -1
- package/dist/src/abis/TestNFT.json +170 -1
- package/dist/src/abis/TokenPaymaster.json +696 -1
- package/dist/src/abis/TokenPriceOracle.json +44 -1
- package/dist/src/abis/UserAuthentication.json +223 -1
- package/dist/src/common/constants.d.ts +137 -0
- package/dist/src/common/constants.js +32 -2
- package/dist/src/common/constants.js.map +1 -1
- package/dist/src/data/Token.js +1 -1
- package/dist/src/data/Token.js.map +1 -1
- package/package.json +2 -1
|
@@ -1 +1,141 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"name": "FunWalletFactory",
|
|
3
|
+
"abi": [
|
|
4
|
+
{
|
|
5
|
+
"inputs": [
|
|
6
|
+
{ "internalType": "contractICreate3Deployer", "name": "_deployer", "type": "address" },
|
|
7
|
+
{ "internalType": "address", "name": "_funWalletImpAddress", "type": "address" },
|
|
8
|
+
{ "internalType": "addresspayable", "name": "_feeOracle", "type": "address" },
|
|
9
|
+
{ "internalType": "contractIWalletInit", "name": "_walletInit", "type": "address" },
|
|
10
|
+
{ "internalType": "contractIEntryPoint", "name": "_entryPoint", "type": "address" }
|
|
11
|
+
],
|
|
12
|
+
"stateMutability": "nonpayable",
|
|
13
|
+
"type": "constructor"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"anonymous": false,
|
|
17
|
+
"inputs": [
|
|
18
|
+
{ "indexed": true, "internalType": "address", "name": "funWallet", "type": "address" },
|
|
19
|
+
{ "indexed": true, "internalType": "address", "name": "implementation", "type": "address" },
|
|
20
|
+
{ "indexed": false, "internalType": "bytes", "name": "initializerCallData", "type": "bytes" }
|
|
21
|
+
],
|
|
22
|
+
"name": "AccountCreated",
|
|
23
|
+
"type": "event"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"anonymous": false,
|
|
27
|
+
"inputs": [{ "indexed": true, "internalType": "address", "name": "feeOracle", "type": "address" }],
|
|
28
|
+
"name": "FeeOracleSet",
|
|
29
|
+
"type": "event"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"inputs": [{ "internalType": "uint32", "name": "unstakeDelaySec", "type": "uint32" }],
|
|
33
|
+
"name": "addStakeToEntryPoint",
|
|
34
|
+
"outputs": [],
|
|
35
|
+
"stateMutability": "payable",
|
|
36
|
+
"type": "function"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"inputs": [
|
|
40
|
+
{ "internalType": "bytes", "name": "initializerCallData", "type": "bytes" },
|
|
41
|
+
{ "internalType": "bytes", "name": "data", "type": "bytes" }
|
|
42
|
+
],
|
|
43
|
+
"name": "createAccount",
|
|
44
|
+
"outputs": [{ "internalType": "contractIFunWallet", "name": "funWallet", "type": "address" }],
|
|
45
|
+
"stateMutability": "nonpayable",
|
|
46
|
+
"type": "function"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"inputs": [],
|
|
50
|
+
"name": "deployer",
|
|
51
|
+
"outputs": [{ "internalType": "contractICreate3Deployer", "name": "", "type": "address" }],
|
|
52
|
+
"stateMutability": "view",
|
|
53
|
+
"type": "function"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"inputs": [],
|
|
57
|
+
"name": "entryPoint",
|
|
58
|
+
"outputs": [{ "internalType": "contractIEntryPoint", "name": "", "type": "address" }],
|
|
59
|
+
"stateMutability": "view",
|
|
60
|
+
"type": "function"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"inputs": [],
|
|
64
|
+
"name": "feeOracle",
|
|
65
|
+
"outputs": [{ "internalType": "addresspayable", "name": "", "type": "address" }],
|
|
66
|
+
"stateMutability": "view",
|
|
67
|
+
"type": "function"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"inputs": [],
|
|
71
|
+
"name": "funWalletImplementation",
|
|
72
|
+
"outputs": [{ "internalType": "address", "name": "", "type": "address" }],
|
|
73
|
+
"stateMutability": "view",
|
|
74
|
+
"type": "function"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"inputs": [{ "internalType": "bytes", "name": "data", "type": "bytes" }],
|
|
78
|
+
"name": "getAddress",
|
|
79
|
+
"outputs": [{ "internalType": "address", "name": "", "type": "address" }],
|
|
80
|
+
"stateMutability": "view",
|
|
81
|
+
"type": "function"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"inputs": [],
|
|
85
|
+
"name": "getFeeOracle",
|
|
86
|
+
"outputs": [{ "internalType": "addresspayable", "name": "", "type": "address" }],
|
|
87
|
+
"stateMutability": "view",
|
|
88
|
+
"type": "function"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"inputs": [],
|
|
92
|
+
"name": "moduleId",
|
|
93
|
+
"outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
|
|
94
|
+
"stateMutability": "view",
|
|
95
|
+
"type": "function"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"inputs": [{ "internalType": "addresspayable", "name": "_feeOracle", "type": "address" }],
|
|
99
|
+
"name": "setFeeOracle",
|
|
100
|
+
"outputs": [],
|
|
101
|
+
"stateMutability": "nonpayable",
|
|
102
|
+
"type": "function"
|
|
103
|
+
},
|
|
104
|
+
{ "inputs": [], "name": "unlockStakeFromEntryPoint", "outputs": [], "stateMutability": "nonpayable", "type": "function" },
|
|
105
|
+
{
|
|
106
|
+
"inputs": [
|
|
107
|
+
{ "internalType": "bytes32", "name": "salt", "type": "bytes32" },
|
|
108
|
+
{ "internalType": "address", "name": "sender", "type": "address" }
|
|
109
|
+
],
|
|
110
|
+
"name": "verifyDeployedFrom",
|
|
111
|
+
"outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
|
|
112
|
+
"stateMutability": "view",
|
|
113
|
+
"type": "function"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"inputs": [],
|
|
117
|
+
"name": "walletInit",
|
|
118
|
+
"outputs": [{ "internalType": "contractIWalletInit", "name": "", "type": "address" }],
|
|
119
|
+
"stateMutability": "view",
|
|
120
|
+
"type": "function"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"inputs": [{ "internalType": "addresspayable", "name": "withdrawAddress", "type": "address" }],
|
|
124
|
+
"name": "withdrawStakeFromEntryPoint",
|
|
125
|
+
"outputs": [],
|
|
126
|
+
"stateMutability": "nonpayable",
|
|
127
|
+
"type": "function"
|
|
128
|
+
}
|
|
129
|
+
],
|
|
130
|
+
"addresses": {
|
|
131
|
+
"1": "0xBADa4B9bdc249B788A6247e4a8a9158eD0b3e504",
|
|
132
|
+
"5": "0xBADa4B9bdc249B788A6247e4a8a9158eD0b3e504",
|
|
133
|
+
"10": "0xBADa4B9bdc249B788A6247e4a8a9158eD0b3e504",
|
|
134
|
+
"137": "0xBADa4B9bdc249B788A6247e4a8a9158eD0b3e504",
|
|
135
|
+
"8453": "0xBADa4B9bdc249B788A6247e4a8a9158eD0b3e504",
|
|
136
|
+
"36865": "0xBADa4B9bdc249B788A6247e4a8a9158eD0b3e504",
|
|
137
|
+
"42161": "0xBADa4B9bdc249B788A6247e4a8a9158eD0b3e504",
|
|
138
|
+
"421614": "0x177D6C1Ae1dAb06Ac056EE2A0C89aDE0f723022d",
|
|
139
|
+
"5000": "0x55CbD830841299a398958bC0a43Be2B31B8CF73D"
|
|
140
|
+
}
|
|
141
|
+
}
|
|
@@ -1 +1,329 @@
|
|
|
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", "421614": "0x3C42EfF85d0DB160c339E8c6Df78C7a4a0A6AC51" } }
|
|
1
|
+
{
|
|
2
|
+
"name": "GaslessPaymaster",
|
|
3
|
+
"abi": [
|
|
4
|
+
{
|
|
5
|
+
"inputs": [{ "internalType": "contractIEntryPoint", "name": "_entryPoint", "type": "address" }],
|
|
6
|
+
"stateMutability": "nonpayable",
|
|
7
|
+
"type": "constructor"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"anonymous": false,
|
|
11
|
+
"inputs": [
|
|
12
|
+
{ "indexed": true, "internalType": "address", "name": "sponsor", "type": "address" },
|
|
13
|
+
{ "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }
|
|
14
|
+
],
|
|
15
|
+
"name": "AddDepositTo",
|
|
16
|
+
"type": "event"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"anonymous": false,
|
|
20
|
+
"inputs": [{ "indexed": false, "internalType": "bytes[]", "name": "data", "type": "bytes[]" }],
|
|
21
|
+
"name": "BatchActions",
|
|
22
|
+
"type": "event"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"anonymous": false,
|
|
26
|
+
"inputs": [{ "indexed": true, "internalType": "address", "name": "locker", "type": "address" }],
|
|
27
|
+
"name": "LockDeposit",
|
|
28
|
+
"type": "event"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"anonymous": false,
|
|
32
|
+
"inputs": [
|
|
33
|
+
{ "indexed": true, "internalType": "address", "name": "previousOwner", "type": "address" },
|
|
34
|
+
{ "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" }
|
|
35
|
+
],
|
|
36
|
+
"name": "OwnershipTransferStarted",
|
|
37
|
+
"type": "event"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"anonymous": false,
|
|
41
|
+
"inputs": [
|
|
42
|
+
{ "indexed": true, "internalType": "address", "name": "previousOwner", "type": "address" },
|
|
43
|
+
{ "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" }
|
|
44
|
+
],
|
|
45
|
+
"name": "OwnershipTransferred",
|
|
46
|
+
"type": "event"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"anonymous": false,
|
|
50
|
+
"inputs": [{ "indexed": false, "internalType": "contractIEntryPoint", "name": "entryPoint", "type": "address" }],
|
|
51
|
+
"name": "PaymasterCreated",
|
|
52
|
+
"type": "event"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"anonymous": false,
|
|
56
|
+
"inputs": [
|
|
57
|
+
{ "indexed": true, "internalType": "bytes32", "name": "opHash", "type": "bytes32" },
|
|
58
|
+
{ "indexed": true, "internalType": "address", "name": "spender", "type": "address" },
|
|
59
|
+
{ "indexed": true, "internalType": "address", "name": "sponsor", "type": "address" },
|
|
60
|
+
{ "indexed": false, "internalType": "uint256", "name": "sponsorCost", "type": "uint256" }
|
|
61
|
+
],
|
|
62
|
+
"name": "PostOpGasPaid",
|
|
63
|
+
"type": "event"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"anonymous": false,
|
|
67
|
+
"inputs": [
|
|
68
|
+
{ "indexed": true, "internalType": "address", "name": "sponsor", "type": "address" },
|
|
69
|
+
{ "indexed": false, "internalType": "bool", "name": "mode", "type": "bool" }
|
|
70
|
+
],
|
|
71
|
+
"name": "SetListMode",
|
|
72
|
+
"type": "event"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"anonymous": false,
|
|
76
|
+
"inputs": [
|
|
77
|
+
{ "indexed": true, "internalType": "address", "name": "sponsor", "type": "address" },
|
|
78
|
+
{ "indexed": true, "internalType": "address", "name": "spender", "type": "address" },
|
|
79
|
+
{ "indexed": false, "internalType": "bool", "name": "mode", "type": "bool" }
|
|
80
|
+
],
|
|
81
|
+
"name": "SetSpenderBlacklistMode",
|
|
82
|
+
"type": "event"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"anonymous": false,
|
|
86
|
+
"inputs": [
|
|
87
|
+
{ "indexed": true, "internalType": "address", "name": "sponsor", "type": "address" },
|
|
88
|
+
{ "indexed": true, "internalType": "address", "name": "spender", "type": "address" },
|
|
89
|
+
{ "indexed": false, "internalType": "bool", "name": "mode", "type": "bool" }
|
|
90
|
+
],
|
|
91
|
+
"name": "SetSpenderWhitelistMode",
|
|
92
|
+
"type": "event"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"anonymous": false,
|
|
96
|
+
"inputs": [
|
|
97
|
+
{ "indexed": true, "internalType": "address", "name": "locker", "type": "address" },
|
|
98
|
+
{ "indexed": false, "internalType": "uint256", "name": "unlockBlockNum", "type": "uint256" }
|
|
99
|
+
],
|
|
100
|
+
"name": "UnlockDepositAfter",
|
|
101
|
+
"type": "event"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"anonymous": false,
|
|
105
|
+
"inputs": [
|
|
106
|
+
{ "indexed": true, "internalType": "address", "name": "sponsor", "type": "address" },
|
|
107
|
+
{ "indexed": true, "internalType": "address", "name": "target", "type": "address" },
|
|
108
|
+
{ "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }
|
|
109
|
+
],
|
|
110
|
+
"name": "WithdrawDepositTo",
|
|
111
|
+
"type": "event"
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"inputs": [],
|
|
115
|
+
"name": "COST_OF_POST",
|
|
116
|
+
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
|
|
117
|
+
"stateMutability": "view",
|
|
118
|
+
"type": "function"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"inputs": [],
|
|
122
|
+
"name": "VERSION",
|
|
123
|
+
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
|
|
124
|
+
"stateMutability": "view",
|
|
125
|
+
"type": "function"
|
|
126
|
+
},
|
|
127
|
+
{ "inputs": [], "name": "acceptOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" },
|
|
128
|
+
{
|
|
129
|
+
"inputs": [
|
|
130
|
+
{ "internalType": "address", "name": "sponsor", "type": "address" },
|
|
131
|
+
{ "internalType": "uint256", "name": "amount", "type": "uint256" }
|
|
132
|
+
],
|
|
133
|
+
"name": "addDepositTo",
|
|
134
|
+
"outputs": [],
|
|
135
|
+
"stateMutability": "payable",
|
|
136
|
+
"type": "function"
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"inputs": [{ "internalType": "uint32", "name": "unstakeDelaySec", "type": "uint32" }],
|
|
140
|
+
"name": "addStakeToEntryPoint",
|
|
141
|
+
"outputs": [],
|
|
142
|
+
"stateMutability": "payable",
|
|
143
|
+
"type": "function"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"inputs": [{ "internalType": "bytes[]", "name": "data", "type": "bytes[]" }],
|
|
147
|
+
"name": "batchActions",
|
|
148
|
+
"outputs": [],
|
|
149
|
+
"stateMutability": "payable",
|
|
150
|
+
"type": "function"
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"inputs": [],
|
|
154
|
+
"name": "entryPoint",
|
|
155
|
+
"outputs": [{ "internalType": "contractIEntryPoint", "name": "", "type": "address" }],
|
|
156
|
+
"stateMutability": "view",
|
|
157
|
+
"type": "function"
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"inputs": [{ "internalType": "address", "name": "sponsor", "type": "address" }],
|
|
161
|
+
"name": "getBalance",
|
|
162
|
+
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
|
|
163
|
+
"stateMutability": "view",
|
|
164
|
+
"type": "function"
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"inputs": [{ "internalType": "address", "name": "spender", "type": "address" }],
|
|
168
|
+
"name": "getListMode",
|
|
169
|
+
"outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
|
|
170
|
+
"stateMutability": "view",
|
|
171
|
+
"type": "function"
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"inputs": [
|
|
175
|
+
{ "internalType": "address", "name": "spender", "type": "address" },
|
|
176
|
+
{ "internalType": "address", "name": "sponsor", "type": "address" }
|
|
177
|
+
],
|
|
178
|
+
"name": "getSpenderBlacklistMode",
|
|
179
|
+
"outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
|
|
180
|
+
"stateMutability": "view",
|
|
181
|
+
"type": "function"
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"inputs": [
|
|
185
|
+
{ "internalType": "address", "name": "spender", "type": "address" },
|
|
186
|
+
{ "internalType": "address", "name": "sponsor", "type": "address" }
|
|
187
|
+
],
|
|
188
|
+
"name": "getSpenderWhitelistMode",
|
|
189
|
+
"outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
|
|
190
|
+
"stateMutability": "view",
|
|
191
|
+
"type": "function"
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"inputs": [{ "internalType": "address", "name": "spender", "type": "address" }],
|
|
195
|
+
"name": "getUnlockBlock",
|
|
196
|
+
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
|
|
197
|
+
"stateMutability": "view",
|
|
198
|
+
"type": "function"
|
|
199
|
+
},
|
|
200
|
+
{ "inputs": [], "name": "lockDeposit", "outputs": [], "stateMutability": "payable", "type": "function" },
|
|
201
|
+
{
|
|
202
|
+
"inputs": [],
|
|
203
|
+
"name": "owner",
|
|
204
|
+
"outputs": [{ "internalType": "address", "name": "", "type": "address" }],
|
|
205
|
+
"stateMutability": "view",
|
|
206
|
+
"type": "function"
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"inputs": [],
|
|
210
|
+
"name": "pendingOwner",
|
|
211
|
+
"outputs": [{ "internalType": "address", "name": "", "type": "address" }],
|
|
212
|
+
"stateMutability": "view",
|
|
213
|
+
"type": "function"
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
"inputs": [
|
|
217
|
+
{ "internalType": "enumIPaymaster.PostOpMode", "name": "mode", "type": "uint8" },
|
|
218
|
+
{ "internalType": "bytes", "name": "context", "type": "bytes" },
|
|
219
|
+
{ "internalType": "uint256", "name": "actualGasCost", "type": "uint256" }
|
|
220
|
+
],
|
|
221
|
+
"name": "postOp",
|
|
222
|
+
"outputs": [],
|
|
223
|
+
"stateMutability": "nonpayable",
|
|
224
|
+
"type": "function"
|
|
225
|
+
},
|
|
226
|
+
{ "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" },
|
|
227
|
+
{
|
|
228
|
+
"inputs": [{ "internalType": "bool", "name": "mode", "type": "bool" }],
|
|
229
|
+
"name": "setListMode",
|
|
230
|
+
"outputs": [],
|
|
231
|
+
"stateMutability": "payable",
|
|
232
|
+
"type": "function"
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
"inputs": [
|
|
236
|
+
{ "internalType": "address", "name": "spender", "type": "address" },
|
|
237
|
+
{ "internalType": "bool", "name": "mode", "type": "bool" }
|
|
238
|
+
],
|
|
239
|
+
"name": "setSpenderBlacklistMode",
|
|
240
|
+
"outputs": [],
|
|
241
|
+
"stateMutability": "payable",
|
|
242
|
+
"type": "function"
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
"inputs": [
|
|
246
|
+
{ "internalType": "address", "name": "spender", "type": "address" },
|
|
247
|
+
{ "internalType": "bool", "name": "mode", "type": "bool" }
|
|
248
|
+
],
|
|
249
|
+
"name": "setSpenderWhitelistMode",
|
|
250
|
+
"outputs": [],
|
|
251
|
+
"stateMutability": "payable",
|
|
252
|
+
"type": "function"
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
"inputs": [{ "internalType": "address", "name": "newOwner", "type": "address" }],
|
|
256
|
+
"name": "transferOwnership",
|
|
257
|
+
"outputs": [],
|
|
258
|
+
"stateMutability": "nonpayable",
|
|
259
|
+
"type": "function"
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
"inputs": [{ "internalType": "uint256", "name": "num", "type": "uint256" }],
|
|
263
|
+
"name": "unlockDepositAfter",
|
|
264
|
+
"outputs": [],
|
|
265
|
+
"stateMutability": "payable",
|
|
266
|
+
"type": "function"
|
|
267
|
+
},
|
|
268
|
+
{ "inputs": [], "name": "unlockStakeFromEntryPoint", "outputs": [], "stateMutability": "nonpayable", "type": "function" },
|
|
269
|
+
{
|
|
270
|
+
"inputs": [
|
|
271
|
+
{
|
|
272
|
+
"components": [
|
|
273
|
+
{ "internalType": "address", "name": "sender", "type": "address" },
|
|
274
|
+
{ "internalType": "uint256", "name": "nonce", "type": "uint256" },
|
|
275
|
+
{ "internalType": "bytes", "name": "initCode", "type": "bytes" },
|
|
276
|
+
{ "internalType": "bytes", "name": "callData", "type": "bytes" },
|
|
277
|
+
{ "internalType": "uint256", "name": "callGasLimit", "type": "uint256" },
|
|
278
|
+
{ "internalType": "uint256", "name": "verificationGasLimit", "type": "uint256" },
|
|
279
|
+
{ "internalType": "uint256", "name": "preVerificationGas", "type": "uint256" },
|
|
280
|
+
{ "internalType": "uint256", "name": "maxFeePerGas", "type": "uint256" },
|
|
281
|
+
{ "internalType": "uint256", "name": "maxPriorityFeePerGas", "type": "uint256" },
|
|
282
|
+
{ "internalType": "bytes", "name": "paymasterAndData", "type": "bytes" },
|
|
283
|
+
{ "internalType": "bytes", "name": "signature", "type": "bytes" }
|
|
284
|
+
],
|
|
285
|
+
"internalType": "structUserOperation",
|
|
286
|
+
"name": "userOp",
|
|
287
|
+
"type": "tuple"
|
|
288
|
+
},
|
|
289
|
+
{ "internalType": "bytes32", "name": "userOpHash", "type": "bytes32" },
|
|
290
|
+
{ "internalType": "uint256", "name": "maxCost", "type": "uint256" }
|
|
291
|
+
],
|
|
292
|
+
"name": "validatePaymasterUserOp",
|
|
293
|
+
"outputs": [
|
|
294
|
+
{ "internalType": "bytes", "name": "context", "type": "bytes" },
|
|
295
|
+
{ "internalType": "uint256", "name": "sigTimeRange", "type": "uint256" }
|
|
296
|
+
],
|
|
297
|
+
"stateMutability": "nonpayable",
|
|
298
|
+
"type": "function"
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
"inputs": [
|
|
302
|
+
{ "internalType": "addresspayable", "name": "target", "type": "address" },
|
|
303
|
+
{ "internalType": "uint256", "name": "amount", "type": "uint256" }
|
|
304
|
+
],
|
|
305
|
+
"name": "withdrawDepositTo",
|
|
306
|
+
"outputs": [],
|
|
307
|
+
"stateMutability": "payable",
|
|
308
|
+
"type": "function"
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
"inputs": [{ "internalType": "addresspayable", "name": "withdrawAddress", "type": "address" }],
|
|
312
|
+
"name": "withdrawStakeFromEntryPoint",
|
|
313
|
+
"outputs": [],
|
|
314
|
+
"stateMutability": "nonpayable",
|
|
315
|
+
"type": "function"
|
|
316
|
+
}
|
|
317
|
+
],
|
|
318
|
+
"addresses": {
|
|
319
|
+
"1": "0x670E428B165350c77AC7523854995486C1796ae3",
|
|
320
|
+
"5": "0xA6952BaD754D6d959216D89fcA0D695fED01b7b5",
|
|
321
|
+
"10": "0xA6952BaD754D6d959216D89fcA0D695fED01b7b5",
|
|
322
|
+
"137": "0xA6952BaD754D6d959216D89fcA0D695fED01b7b5",
|
|
323
|
+
"8453": "0x70795B38d1d077DA1c255f4d004Df657aEc98915",
|
|
324
|
+
"36865": "0x670E428B165350c77AC7523854995486C1796ae3",
|
|
325
|
+
"42161": "0xA0B0c6590f43951d4112092640eFb702d7b15FDD",
|
|
326
|
+
"421614": "0x3C42EfF85d0DB160c339E8c6Df78C7a4a0A6AC51",
|
|
327
|
+
"5000": "0xEe628ba7185D54dDcF66D85cad375DC661BEd67B"
|
|
328
|
+
}
|
|
329
|
+
}
|
|
@@ -829,6 +829,7 @@
|
|
|
829
829
|
"8453": "0x996eAcBd74D94C77bD6edA46dAbF99608dBb336E",
|
|
830
830
|
"36865": "0x996eAcBd74D94C77bD6edA46dAbF99608dBb336E",
|
|
831
831
|
"42161": "0x996eAcBd74D94C77bD6edA46dAbF99608dBb336E",
|
|
832
|
-
"421614": "0x9d79D300b29d5D5eE800E914f002A385B954b8d5"
|
|
832
|
+
"421614": "0x9d79D300b29d5D5eE800E914f002A385B954b8d5",
|
|
833
|
+
"5000": "0x939C13FE360eD2e48f1DC074BB3DFE0d042d40c9"
|
|
833
834
|
}
|
|
834
835
|
}
|