Skip to content

Commit

Permalink
Reorder Accounts inheritance
Browse files Browse the repository at this point in the history
  • Loading branch information
ernestognw committed Oct 2, 2024
1 parent fd635dd commit 872d148
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion contracts/account/AccountECDSA.sol
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {ERC1155HolderLean, IERC1155Receiver} from "../token/ERC1155/utils/ERC115
import {ERC165} from "../utils/introspection/ERC165.sol";
import {IERC165} from "../utils/introspection/IERC165.sol";

abstract contract AccountECDSA is ERC165, ERC1271TypedSigner, AccountBase, ERC721Holder, ERC1155HolderLean {
abstract contract AccountECDSA is ERC165, ERC1271TypedSigner, ERC721Holder, ERC1155HolderLean, AccountBase {
address private immutable _signer;

constructor(address signerAddr) {
Expand Down
2 changes: 1 addition & 1 deletion contracts/account/AccountP256.sol
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {ERC1155HolderLean, IERC1155Receiver} from "../token/ERC1155/utils/ERC115
import {ERC165} from "../utils/introspection/ERC165.sol";
import {IERC165} from "../utils/introspection/IERC165.sol";

abstract contract AccountP256 is ERC165, ERC1271TypedSigner, AccountBase, ERC721Holder, ERC1155HolderLean {
abstract contract AccountP256 is ERC165, ERC1271TypedSigner, ERC721Holder, ERC1155HolderLean, AccountBase {
bytes32 private immutable _qx;
bytes32 private immutable _qy;

Expand Down
2 changes: 1 addition & 1 deletion contracts/account/AccountRSA.sol
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import {IERC165} from "../utils/introspection/IERC165.sol";
// NOTE: Storing `_e` and `_e` in regular violate ERC-7562 validation rules.
// Consider deploying this contract through a factory that sets `_e` and `_n`
// as immutable arguments (see {Clones-cloneDeterministicWithImmutableArgs}).
abstract contract AccountRSA is ERC165, ERC1271TypedSigner, AccountBase, ERC721Holder, ERC1155HolderLean {
abstract contract AccountRSA is ERC165, ERC1271TypedSigner, ERC721Holder, ERC1155HolderLean, AccountBase {
bytes private _e;
bytes private _n;

Expand Down

0 comments on commit 872d148

Please sign in to comment.