Skip to content

Commit 6a24a46

Browse files
Merge branch 'main' into main
2 parents 38ca885 + e8d8457 commit 6a24a46

File tree

12 files changed

+3133
-2
lines changed

12 files changed

+3133
-2
lines changed

.env.example

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Required for scripts
22
PRIVATE_KEY=
3-
SALT=0
3+
SALT=GATOR
44
DELEGATION_MANAGER_ADDRESS=
55
ENTRYPOINT_ADDRESS=0x0000000071727De22E5E9d8BAf0edAc6f37da032
66
MULTISIG_DELEGATOR_IMPLEMENTATION_ADDRESS=
@@ -16,6 +16,7 @@ BASESCAN_API_KEY=
1616
OPTIMISTIC_API_KEY=
1717
ARBISCAN_API_KEY=
1818
POLYGONSCAN_API_KEY=
19+
ODYSSEY_API_KEY=
1920
GNOSISSCAN_API_KEY=
2021
BINANCESCAN_API_KEY=
2122
BERACHAIN_API_KEY=
@@ -32,6 +33,7 @@ POLYGON_RPC_URL=https://polygon-mainnet.infura.io/v3/${RPC_API_KEY}
3233
BSC_RPC_URL=https://bsc-mainnet.infura.io/v3/${RPC_API_KEY}
3334
GNOSIS_RPC_URL=https://gnosis-rpc.publicnode.com
3435
BINANCE_RPC_URL=https://binance.llamarpc.com
36+
BERACHAIN_RPC_URL=https://rpc.berachain.com
3537

3638
# Testnets
3739
SEPOLIA_RPC_URL=https://sepolia.infura.io/v3/${RPC_API_KEY}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ A simple example is "Alice delegates the ability to use her USDC to Bob limiting
3636

3737
### DeleGator
3838

39-
A DeleGator is the contract an end user controls and uses to interact with other contracts onchain. A DeleGator is an [EIP-1967](https://eips.ethereum.org/EIPS/eip-1967[EIP1967]) proxy contract that uses a DeleGator Implementation which defines the granular details of how the DeleGator works. Users are free to migrate their DeleGator Implementation as their needs change.
39+
A DeleGator is the contract an end user controls and uses to interact with other contracts onchain. A DeleGator is an [EIP-1967](https://eips.ethereum.org/EIPS/eip-1967) proxy contract that uses a DeleGator Implementation which defines the granular details of how the DeleGator works. Users are free to migrate their DeleGator Implementation as their needs change.
4040

4141
### DeleGator Core
4242

broadcast/DeployCaveatEnforcers.s.sol/80094/run-1749215885.json

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

broadcast/DeployCaveatEnforcers.s.sol/80094/run-latest.json

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

broadcast/DeployDelegationFramework.s.sol/80094/run-1749215746.json

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

broadcast/DeployDelegationFramework.s.sol/80094/run-latest.json

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

broadcast/DeployEIP7702StatelessDeleGator.s.sol/80094/run-1749215917.json

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

broadcast/DeployEIP7702StatelessDeleGator.s.sol/80094/run-latest.json

Lines changed: 81 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
{
2+
"transactions": [
3+
{
4+
"hash": "0xf73a49f23907fa1a1f00a0ee71c47a5e13d388998fdb181473f8216608aec2ae",
5+
"transactionType": "CREATE2",
6+
"contractName": "SimpleFactory",
7+
"contractAddress": "0x69aa2f9fe1572f1b640e1bbc512f5c3a734fc77c",
8+
"function": null,
9+
"arguments": null,
10+
"transaction": {
11+
"from": "0xb0403b32f54d0bd752113f4009e8b534c6669f44",
12+
"to": "0x4e59b44847b379578588920ca78fbf26c0b4956c",
13+
"gas": "0x4d1b8",
14+
"value": "0x0",
15+
"input": "0x4741544f52000000000000000000000000000000000000000000000000000000608060405234801561001057600080fd5b506102ef806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c8063481286e61461003b5780634af63f021461006a575b600080fd5b61004e6100493660046101cc565b61007d565b6040516001600160a01b03909116815260200160405180910390f35b61004e610078366004610204565b610090565b60006100898284610115565b9392505050565b600061009e60008385610122565b9050806001600160a01b03163b6000036100db576040516301e3495560e61b81526001600160a01b03821660048201526024015b60405180910390fd5b6040516001600160a01b038216907ff40fcec21964ffb566044d083b4073f29f7f7929110ea19e1b3ebe375d89055e90600090a292915050565b60006100898383306101a2565b60008347101561014e5760405163392efb2b60e21b8152476004820152602481018590526044016100d2565b815160000361017057604051631328927760e21b815260040160405180910390fd5b8282516020840186f590506001600160a01b03811661008957604051633a0ba96160e11b815260040160405180910390fd5b6000604051836040820152846020820152828152600b8101905060ff815360559020949350505050565b600080604083850312156101df57600080fd5b50508035926020909101359150565b634e487b7160e01b600052604160045260246000fd5b6000806040838503121561021757600080fd5b823567ffffffffffffffff8082111561022f57600080fd5b818501915085601f83011261024357600080fd5b813581811115610255576102556101ee565b604051601f8201601f19908116603f0116810190838211818310171561027d5761027d6101ee565b8160405282815288602084870101111561029657600080fd5b82602086016020830137600060209382018401529896909101359650505050505056fea2646970667358221220c5ebe4333fa061619df2864b76011685b4a25867b9958ff350b638fd1a460aaa64736f6c63430008170033",
16+
"nonce": "0x25",
17+
"chainId": "0x138de"
18+
},
19+
"additionalContracts": [],
20+
"isFixedGasLimit": false
21+
}
22+
],
23+
"receipts": [
24+
{
25+
"status": "0x1",
26+
"cumulativeGasUsed": "0x2cd653",
27+
"logs": [],
28+
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
29+
"type": "0x2",
30+
"transactionHash": "0xf73a49f23907fa1a1f00a0ee71c47a5e13d388998fdb181473f8216608aec2ae",
31+
"transactionIndex": "0x6",
32+
"blockHash": "0xecbc3b255e180a71472eae4bf71f873f2d0634ca186c537a8cb0fcb4acad3e48",
33+
"blockNumber": "0x5bcd67",
34+
"gasUsed": "0x34bc4",
35+
"effectiveGasPrice": "0xf4a",
36+
"from": "0xb0403b32f54d0bd752113f4009e8b534c6669f44",
37+
"to": "0x4e59b44847b379578588920ca78fbf26c0b4956c",
38+
"contractAddress": null
39+
}
40+
],
41+
"libraries": [],
42+
"pending": [],
43+
"returns": {},
44+
"timestamp": 1749215942,
45+
"chain": 80094,
46+
"commit": "0387721"
47+
}
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
{
2+
"transactions": [
3+
{
4+
"hash": "0xf73a49f23907fa1a1f00a0ee71c47a5e13d388998fdb181473f8216608aec2ae",
5+
"transactionType": "CREATE2",
6+
"contractName": "SimpleFactory",
7+
"contractAddress": "0x69aa2f9fe1572f1b640e1bbc512f5c3a734fc77c",
8+
"function": null,
9+
"arguments": null,
10+
"transaction": {
11+
"from": "0xb0403b32f54d0bd752113f4009e8b534c6669f44",
12+
"to": "0x4e59b44847b379578588920ca78fbf26c0b4956c",
13+
"gas": "0x4d1b8",
14+
"value": "0x0",
15+
"input": "0x4741544f52000000000000000000000000000000000000000000000000000000608060405234801561001057600080fd5b506102ef806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c8063481286e61461003b5780634af63f021461006a575b600080fd5b61004e6100493660046101cc565b61007d565b6040516001600160a01b03909116815260200160405180910390f35b61004e610078366004610204565b610090565b60006100898284610115565b9392505050565b600061009e60008385610122565b9050806001600160a01b03163b6000036100db576040516301e3495560e61b81526001600160a01b03821660048201526024015b60405180910390fd5b6040516001600160a01b038216907ff40fcec21964ffb566044d083b4073f29f7f7929110ea19e1b3ebe375d89055e90600090a292915050565b60006100898383306101a2565b60008347101561014e5760405163392efb2b60e21b8152476004820152602481018590526044016100d2565b815160000361017057604051631328927760e21b815260040160405180910390fd5b8282516020840186f590506001600160a01b03811661008957604051633a0ba96160e11b815260040160405180910390fd5b6000604051836040820152846020820152828152600b8101905060ff815360559020949350505050565b600080604083850312156101df57600080fd5b50508035926020909101359150565b634e487b7160e01b600052604160045260246000fd5b6000806040838503121561021757600080fd5b823567ffffffffffffffff8082111561022f57600080fd5b818501915085601f83011261024357600080fd5b813581811115610255576102556101ee565b604051601f8201601f19908116603f0116810190838211818310171561027d5761027d6101ee565b8160405282815288602084870101111561029657600080fd5b82602086016020830137600060209382018401529896909101359650505050505056fea2646970667358221220c5ebe4333fa061619df2864b76011685b4a25867b9958ff350b638fd1a460aaa64736f6c63430008170033",
16+
"nonce": "0x25",
17+
"chainId": "0x138de"
18+
},
19+
"additionalContracts": [],
20+
"isFixedGasLimit": false
21+
}
22+
],
23+
"receipts": [
24+
{
25+
"status": "0x1",
26+
"cumulativeGasUsed": "0x2cd653",
27+
"logs": [],
28+
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
29+
"type": "0x2",
30+
"transactionHash": "0xf73a49f23907fa1a1f00a0ee71c47a5e13d388998fdb181473f8216608aec2ae",
31+
"transactionIndex": "0x6",
32+
"blockHash": "0xecbc3b255e180a71472eae4bf71f873f2d0634ca186c537a8cb0fcb4acad3e48",
33+
"blockNumber": "0x5bcd67",
34+
"gasUsed": "0x34bc4",
35+
"effectiveGasPrice": "0xf4a",
36+
"from": "0xb0403b32f54d0bd752113f4009e8b534c6669f44",
37+
"to": "0x4e59b44847b379578588920ca78fbf26c0b4956c",
38+
"contractAddress": null
39+
}
40+
],
41+
"libraries": [],
42+
"pending": [],
43+
"returns": {},
44+
"timestamp": 1749215942,
45+
"chain": 80094,
46+
"commit": "0387721"
47+
}

0 commit comments

Comments
 (0)