Skip to content

Commit

Permalink
Support delegation registry v2 (#425)
Browse files Browse the repository at this point in the history
* chore: support delegation registry v2

* chore: fix ui contract and add placeholder slot

* chore: add slot gap

* chore: add link libraray debug info and support upgrade ntoken by symbol

* chore: revert adhoc change

* feat: add renew buffered txs

Signed-off-by: GopherJ <[email protected]>

---------

Signed-off-by: GopherJ <[email protected]>
Co-authored-by: GopherJ <[email protected]>
  • Loading branch information
zhoujia6139 and GopherJ authored Nov 14, 2023
1 parent 9d585ec commit e9c926f
Show file tree
Hide file tree
Showing 26 changed files with 1,219 additions and 523 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -524,6 +524,10 @@ decode-queued-txs:
list-buffered-txs:
make TASK_NAME=list-buffered-txs run-task

.PHONY: renew-buffered-txs
renew-buffered-txs:
make TASK_NAME=renew-buffered-txs run-task

.PHONY: decode-buffered-txs
decode-buffered-txs:
make TASK_NAME=decode-buffered-txs run-task
Expand Down
2 changes: 1 addition & 1 deletion contracts/account-abstraction/Account.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-3.0
pragma solidity 0.8.17;
pragma solidity ^0.8.17;

import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "@openzeppelin/contracts/proxy/utils/Initializable.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/account-abstraction/AccountFactory.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-3.0
pragma solidity 0.8.17;
pragma solidity ^0.8.17;

import "@openzeppelin/contracts/utils/Create2.sol";
import "@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/account-abstraction/AccountProxy.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-3.0
pragma solidity 0.8.17;
pragma solidity ^0.8.17;

import "@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol";
import "./AccountRegistry.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/account-abstraction/AccountRegistry.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-3.0
pragma solidity 0.8.17;
pragma solidity ^0.8.17;

import {Ownable} from "../dependencies/openzeppelin/contracts/Ownable.sol";
import {Errors} from "../protocol/libraries/helpers/Errors.sol";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-3.0
pragma solidity 0.8.17;
pragma solidity ^0.8.17;

/* solhint-disable no-empty-blocks */

Expand Down
472 changes: 472 additions & 0 deletions contracts/dependencies/delegation/DelegateRegistry.sol

Large diffs are not rendered by default.

Loading

0 comments on commit e9c926f

Please sign in to comment.