Skip to content

Commit 5e73e84

Browse files
committed
feat: added userop builder
1 parent 5073067 commit 5e73e84

38 files changed

+3815
-127
lines changed

Makefile

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,6 @@ format:
6767
lint:
6868
@npx solhint 'contracts/**/*.sol'
6969

70-
.PHONE: release ## generate a new release version
71-
release:
72-
@npx semantic-release
73-
7470
.PHONY: syncenv ## pull environments to dotenv vault
7571
syncenv:
7672
@npx dotenv-vault@latest pull $(stage) -y
@@ -85,8 +81,7 @@ keysenv:
8581

8682
.PHONY: deploy ## deploy contract
8783
deploy:
88-
@forge script --chain $(network) script/$(script) --rpc-url $(network) --broadcast --verify --private-key ${PRIVATE_KEY} --slow
89-
84+
@forge script --chain $(network) script/$(script) --rpc-url $(network) --broadcast --verify --private-key ${PRIVATE_KEY}
9085

9186
# forge verify-contract 0x21173483074a46c302c4252e04c76fA90e6DdA6C MMC --chain amoy
9287
.PHONY: verify ## verify contract

broadcast/01_Deploy_Base_AccountImpl.s.sol/80002/run-1731787757.json

Lines changed: 84 additions & 0 deletions
Large diffs are not rendered by default.

broadcast/01_Deploy_Base_AccountImpl.s.sol/80002/run-1731945957.json

Lines changed: 98 additions & 0 deletions
Large diffs are not rendered by default.

broadcast/01_Deploy_Base_AccountImpl.s.sol/80002/run-latest.json

Lines changed: 98 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
{
2+
"transactions": [
3+
{
4+
"hash": "0x35f29094070a1d2e6756e14c0ba172cf4a7011ef7df4629be7adf3d8a2ac1bbe",
5+
"transactionType": "CALL",
6+
"contractName": null,
7+
"contractAddress": "0x0000000071727de22e5e9d8baf0edac6f37da032",
8+
"function": "depositTo(address)",
9+
"arguments": [
10+
"0xf050beEAa89D049BBC161511CAae4BF9A725eDDa"
11+
],
12+
"transaction": {
13+
"from": "0xefbbd14082cf2fbcf5badc7ee619f0f4e36d0a5b",
14+
"to": "0x0000000071727de22e5e9d8baf0edac6f37da032",
15+
"gas": "0xf606",
16+
"value": "0x1",
17+
"input": "0xb760faf9000000000000000000000000f050beeaa89d049bbc161511caae4bf9a725edda",
18+
"nonce": "0x610",
19+
"chainId": "0x13882"
20+
},
21+
"additionalContracts": [],
22+
"isFixedGasLimit": false
23+
}
24+
],
25+
"receipts": [
26+
{
27+
"status": "0x1",
28+
"cumulativeGasUsed": "0xb21f",
29+
"logs": [
30+
{
31+
"address": "0x0000000000000000000000000000000000001010",
32+
"topics": [
33+
"0xe6497e3ee548a3372136af2fcb0696db31fc6cf20260707645068bd3fe97f3c4",
34+
"0x0000000000000000000000000000000000000000000000000000000000001010",
35+
"0x000000000000000000000000efbbd14082cf2fbcf5badc7ee619f0f4e36d0a5b",
36+
"0x0000000000000000000000000000000071727de22e5e9d8baf0edac6f37da032"
37+
],
38+
"data": "0x000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000015fe2e4204aa909d00000000000000000000000000000000000000000000005966c90c31cb6b34e600000000000000000000000000000000000000000000000015fe2e4204aa909c00000000000000000000000000000000000000000000005966c90c31cb6b34e7",
39+
"blockHash": "0x548fcf02f1e0b24274af7ab7dcb71d696bcacc57f3e2c08f41ff40648fcb9c4a",
40+
"blockNumber": "0xdde888",
41+
"transactionHash": "0x35f29094070a1d2e6756e14c0ba172cf4a7011ef7df4629be7adf3d8a2ac1bbe",
42+
"transactionIndex": "0x0",
43+
"logIndex": "0x0",
44+
"removed": false
45+
},
46+
{
47+
"address": "0x0000000071727de22e5e9d8baf0edac6f37da032",
48+
"topics": [
49+
"0x2da466a7b24304f47e87fa2e1e5a81b9831ce54fec19055ce277ca2f39ba42c4",
50+
"0x000000000000000000000000f050beeaa89d049bbc161511caae4bf9a725edda"
51+
],
52+
"data": "0x0000000000000000000000000000000000000000000000000000000000000001",
53+
"blockHash": "0x548fcf02f1e0b24274af7ab7dcb71d696bcacc57f3e2c08f41ff40648fcb9c4a",
54+
"blockNumber": "0xdde888",
55+
"transactionHash": "0x35f29094070a1d2e6756e14c0ba172cf4a7011ef7df4629be7adf3d8a2ac1bbe",
56+
"transactionIndex": "0x0",
57+
"logIndex": "0x1",
58+
"removed": false
59+
},
60+
{
61+
"address": "0x0000000000000000000000000000000000001010",
62+
"topics": [
63+
"0x4dfe1bbbcf077ddc3e01291eea2d5c70c2b422b415d95645b9adcfd678cb1d63",
64+
"0x0000000000000000000000000000000000000000000000000000000000001010",
65+
"0x000000000000000000000000efbbd14082cf2fbcf5badc7ee619f0f4e36d0a5b",
66+
"0x000000000000000000000000915a2284d28bd93de7d6f31173b981204bb666e6"
67+
],
68+
"data": "0x0000000000000000000000000000000000000000000000000005d4fe670e282f00000000000000000000000000000000000000000000000016063c670b35009d0000000000000000000000000000000000000000000004f82b04504b1f6a164d00000000000000000000000000000000000000000000000016006768a426d86e0000000000000000000000000000000000000000000004f82b0a254986783e7c",
69+
"blockHash": "0x548fcf02f1e0b24274af7ab7dcb71d696bcacc57f3e2c08f41ff40648fcb9c4a",
70+
"blockNumber": "0xdde888",
71+
"transactionHash": "0x35f29094070a1d2e6756e14c0ba172cf4a7011ef7df4629be7adf3d8a2ac1bbe",
72+
"transactionIndex": "0x0",
73+
"logIndex": "0x2",
74+
"removed": false
75+
}
76+
],
77+
"logsBloom": "0x00000000000000000010000000000000000000000000000000000000000000000000000000000000000000100000000000008000000000000000000000000000018000000000000000000000000000800040000000000000000100800000200000000000000800000000000000000000000000000000000080000000000200000800000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000400000000000000000000000004000000000000000400001000000000000002002000000800000108000000000000040000000000000000000000000000000800000400000000100000080100000",
78+
"type": "0x2",
79+
"transactionHash": "0x35f29094070a1d2e6756e14c0ba172cf4a7011ef7df4629be7adf3d8a2ac1bbe",
80+
"transactionIndex": "0x0",
81+
"blockHash": "0x548fcf02f1e0b24274af7ab7dcb71d696bcacc57f3e2c08f41ff40648fcb9c4a",
82+
"blockNumber": "0xdde888",
83+
"gasUsed": "0xb21f",
84+
"effectiveGasPrice": "0x861c46800",
85+
"from": "0xefbbd14082cf2fbcf5badc7ee619f0f4e36d0a5b",
86+
"to": "0x0000000071727de22e5e9d8baf0edac6f37da032",
87+
"contractAddress": null
88+
}
89+
],
90+
"libraries": [],
91+
"pending": [],
92+
"returns": {},
93+
"timestamp": 1731862218,
94+
"chain": 80002,
95+
"commit": "5073067"
96+
}
Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
{
2+
"transactions": [
3+
{
4+
"hash": "0xecb92b4d7a1a7b51a3a32064d03bc9c372eb44d8a6c9a51143ef2ad8bc6617aa",
5+
"transactionType": "CALL",
6+
"contractName": null,
7+
"contractAddress": "0x0000000071727de22e5e9d8baf0edac6f37da032",
8+
"function": "depositTo(address)",
9+
"arguments": [
10+
"0xf050beEAa89D049BBC161511CAae4BF9A725eDDa"
11+
],
12+
"transaction": {
13+
"from": "0xefbbd14082cf2fbcf5badc7ee619f0f4e36d0a5b",
14+
"to": "0x0000000071727de22e5e9d8baf0edac6f37da032",
15+
"gas": "0xa2cf",
16+
"value": "0xde0b6b3a7640000",
17+
"input": "0xb760faf9000000000000000000000000f050beeaa89d049bbc161511caae4bf9a725edda",
18+
"nonce": "0x611",
19+
"chainId": "0x13882"
20+
},
21+
"additionalContracts": [],
22+
"isFixedGasLimit": false
23+
}
24+
],
25+
"receipts": [
26+
{
27+
"status": "0x1",
28+
"cumulativeGasUsed": "0x6f53",
29+
"logs": [
30+
{
31+
"address": "0x0000000000000000000000000000000000001010",
32+
"topics": [
33+
"0xe6497e3ee548a3372136af2fcb0696db31fc6cf20260707645068bd3fe97f3c4",
34+
"0x0000000000000000000000000000000000000000000000000000000000001010",
35+
"0x000000000000000000000000efbbd14082cf2fbcf5badc7ee619f0f4e36d0a5b",
36+
"0x0000000000000000000000000000000071727de22e5e9d8baf0edac6f37da032"
37+
],
38+
"data": "0x0000000000000000000000000000000000000000000000000de0b6b3a764000000000000000000000000000000000000000000000000000015fb12c34c7c509c0000000000000000000000000000000000000000000000596693f48baddcdcf7000000000000000000000000000000000000000000000000081a5c0fa518509c0000000000000000000000000000000000000000000000597474ab3f5540dcf7",
39+
"blockHash": "0x5d391d77b5509ed7c43851b07cb2a7aec91bdc38d022d308906efad2af3e7456",
40+
"blockNumber": "0xdde8b6",
41+
"transactionHash": "0xecb92b4d7a1a7b51a3a32064d03bc9c372eb44d8a6c9a51143ef2ad8bc6617aa",
42+
"transactionIndex": "0x0",
43+
"logIndex": "0x0",
44+
"removed": false
45+
},
46+
{
47+
"address": "0x0000000071727de22e5e9d8baf0edac6f37da032",
48+
"topics": [
49+
"0x2da466a7b24304f47e87fa2e1e5a81b9831ce54fec19055ce277ca2f39ba42c4",
50+
"0x000000000000000000000000f050beeaa89d049bbc161511caae4bf9a725edda"
51+
],
52+
"data": "0x0000000000000000000000000000000000000000000000000de0b6b3a7640001",
53+
"blockHash": "0x5d391d77b5509ed7c43851b07cb2a7aec91bdc38d022d308906efad2af3e7456",
54+
"blockNumber": "0xdde8b6",
55+
"transactionHash": "0xecb92b4d7a1a7b51a3a32064d03bc9c372eb44d8a6c9a51143ef2ad8bc6617aa",
56+
"transactionIndex": "0x0",
57+
"logIndex": "0x1",
58+
"removed": false
59+
},
60+
{
61+
"address": "0x0000000000000000000000000000000000001010",
62+
"topics": [
63+
"0x4dfe1bbbcf077ddc3e01291eea2d5c70c2b422b415d95645b9adcfd678cb1d63",
64+
"0x0000000000000000000000000000000000000000000000000000000000001010",
65+
"0x000000000000000000000000efbbd14082cf2fbcf5badc7ee619f0f4e36d0a5b",
66+
"0x0000000000000000000000004ad84f7014b7b44f723f284a85b1662337971439"
67+
],
68+
"data": "0x0000000000000000000000000000000000000000000000000003a51bdbbf322300000000000000000000000000000000000000000000000016006768a41c689c000000000000000000000000000000000000000000000414aa3c68e07cbaacdd00000000000000000000000000000000000000000000000015fcc24cc85d3679000000000000000000000000000000000000000000000414aa400dfc5879df00",
69+
"blockHash": "0x5d391d77b5509ed7c43851b07cb2a7aec91bdc38d022d308906efad2af3e7456",
70+
"blockNumber": "0xdde8b6",
71+
"transactionHash": "0xecb92b4d7a1a7b51a3a32064d03bc9c372eb44d8a6c9a51143ef2ad8bc6617aa",
72+
"transactionIndex": "0x0",
73+
"logIndex": "0x2",
74+
"removed": false
75+
}
76+
],
77+
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000008000000000000000000000400000018000000000000000000000000000800040000000000000000100801000200000000000000800000000000000000000000000000000000080000000000200000800000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000400000000000000000000000004000000000000000400001000000000000002000000000800000108000000000000040000000000000000000000000008000800000000000000100000080100000",
78+
"type": "0x2",
79+
"transactionHash": "0xecb92b4d7a1a7b51a3a32064d03bc9c372eb44d8a6c9a51143ef2ad8bc6617aa",
80+
"transactionIndex": "0x0",
81+
"blockHash": "0x5d391d77b5509ed7c43851b07cb2a7aec91bdc38d022d308906efad2af3e7456",
82+
"blockNumber": "0xdde8b6",
83+
"gasUsed": "0x6f53",
84+
"effectiveGasPrice": "0x861c46800",
85+
"from": "0xefbbd14082cf2fbcf5badc7ee619f0f4e36d0a5b",
86+
"to": "0x0000000071727de22e5e9d8baf0edac6f37da032",
87+
"contractAddress": null
88+
}
89+
],
90+
"libraries": [],
91+
"pending": [],
92+
"returns": {},
93+
"timestamp": 1731862316,
94+
"chain": 80002,
95+
"commit": "5073067"
96+
}
Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
{
2+
"transactions": [
3+
{
4+
"hash": "0xeb3a17c64e82d83b105ca4a4ab8052ee6cad8961c6c3f9674392b1c786f3f6d4",
5+
"transactionType": "CALL",
6+
"contractName": null,
7+
"contractAddress": "0x0000000071727de22e5e9d8baf0edac6f37da032",
8+
"function": "depositTo(address)",
9+
"arguments": [
10+
"0x246992c70a4AB28F88dB6683D3563CE8338aCC52"
11+
],
12+
"transaction": {
13+
"from": "0xefbbd14082cf2fbcf5badc7ee619f0f4e36d0a5b",
14+
"to": "0x0000000071727de22e5e9d8baf0edac6f37da032",
15+
"gas": "0xf606",
16+
"value": "0xde0b6b3a7640000",
17+
"input": "0xb760faf9000000000000000000000000246992c70a4ab28f88db6683d3563ce8338acc52",
18+
"nonce": "0x61a",
19+
"chainId": "0x13882"
20+
},
21+
"additionalContracts": [],
22+
"isFixedGasLimit": false
23+
}
24+
],
25+
"receipts": [
26+
{
27+
"status": "0x1",
28+
"cumulativeGasUsed": "0x10427",
29+
"logs": [
30+
{
31+
"address": "0x0000000000000000000000000000000000001010",
32+
"topics": [
33+
"0xe6497e3ee548a3372136af2fcb0696db31fc6cf20260707645068bd3fe97f3c4",
34+
"0x0000000000000000000000000000000000000000000000000000000000001010",
35+
"0x000000000000000000000000efbbd14082cf2fbcf5badc7ee619f0f4e36d0a5b",
36+
"0x0000000000000000000000000000000071727de22e5e9d8baf0edac6f37da032"
37+
],
38+
"data": "0x0000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000000000000000000000000000000000000003069f2a24fd6013f00000000000000000000000000000000000000000000005906033d188d1f8df300000000000000000000000000000000000000000000000022893beea872013f00000000000000000000000000000000000000000000005913e3f3cc34838df3",
39+
"blockHash": "0x4b26e24a1224d8d711674652a0c02eb8fd9a57571c16f75b5c3690f80ebba2fd",
40+
"blockNumber": "0xde8129",
41+
"transactionHash": "0xeb3a17c64e82d83b105ca4a4ab8052ee6cad8961c6c3f9674392b1c786f3f6d4",
42+
"transactionIndex": "0x1",
43+
"logIndex": "0x2",
44+
"removed": false
45+
},
46+
{
47+
"address": "0x0000000071727de22e5e9d8baf0edac6f37da032",
48+
"topics": [
49+
"0x2da466a7b24304f47e87fa2e1e5a81b9831ce54fec19055ce277ca2f39ba42c4",
50+
"0x000000000000000000000000246992c70a4ab28f88db6683d3563ce8338acc52"
51+
],
52+
"data": "0x0000000000000000000000000000000000000000000000000de0b6b3a7640000",
53+
"blockHash": "0x4b26e24a1224d8d711674652a0c02eb8fd9a57571c16f75b5c3690f80ebba2fd",
54+
"blockNumber": "0xde8129",
55+
"transactionHash": "0xeb3a17c64e82d83b105ca4a4ab8052ee6cad8961c6c3f9674392b1c786f3f6d4",
56+
"transactionIndex": "0x1",
57+
"logIndex": "0x3",
58+
"removed": false
59+
},
60+
{
61+
"address": "0x0000000000000000000000000000000000001010",
62+
"topics": [
63+
"0x4dfe1bbbcf077ddc3e01291eea2d5c70c2b422b415d95645b9adcfd678cb1d63",
64+
"0x0000000000000000000000000000000000000000000000000000000000001010",
65+
"0x000000000000000000000000efbbd14082cf2fbcf5badc7ee619f0f4e36d0a5b",
66+
"0x0000000000000000000000004ca9ff871c7aa1e7b64e1eae110835f68d6a0bd4"
67+
],
68+
"data": "0x0000000000000000000000000000000000000000000000000007b5f7db9d3a900000000000000000000000000000000000000000000000003074991b86c880390000000000000000000000000000000000000000000000326c2f7f31481b5cb2000000000000000000000000000000000000000000000000306ce323ab2b45a90000000000000000000000000000000000000000000000326c37352923b89742",
69+
"blockHash": "0x4b26e24a1224d8d711674652a0c02eb8fd9a57571c16f75b5c3690f80ebba2fd",
70+
"blockNumber": "0xde8129",
71+
"transactionHash": "0xeb3a17c64e82d83b105ca4a4ab8052ee6cad8961c6c3f9674392b1c786f3f6d4",
72+
"transactionIndex": "0x1",
73+
"logIndex": "0x4",
74+
"removed": false
75+
}
76+
],
77+
"logsBloom": "0x00000000000000000000000000000000000000000800000000000000000000000000000000000000000000100000000020008000000000000000000000000000018020000000000000000000000000800040000000000000000100000000200000000000000800000000000000000000000000000000000080000000000200000800000000000000000000000000000000008000000000000000000000000000200000000000040000010000000000000000400000000000000000000000004000000000000000400001000000000000000000000000800000108000000000000040000000000000000000000000000000800000000000000100000000100000",
78+
"type": "0x2",
79+
"transactionHash": "0xeb3a17c64e82d83b105ca4a4ab8052ee6cad8961c6c3f9674392b1c786f3f6d4",
80+
"transactionIndex": "0x1",
81+
"blockHash": "0x4b26e24a1224d8d711674652a0c02eb8fd9a57571c16f75b5c3690f80ebba2fd",
82+
"blockNumber": "0xde8129",
83+
"gasUsed": "0xb21f",
84+
"effectiveGasPrice": "0xb1509137f",
85+
"from": "0xefbbd14082cf2fbcf5badc7ee619f0f4e36d0a5b",
86+
"to": "0x0000000071727de22e5e9d8baf0edac6f37da032",
87+
"contractAddress": null
88+
}
89+
],
90+
"libraries": [],
91+
"pending": [],
92+
"returns": {},
93+
"timestamp": 1731946392,
94+
"chain": 80002,
95+
"commit": "5073067"
96+
}

0 commit comments

Comments
 (0)