-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dev' into feat/remap-fix
- Loading branch information
Showing
77 changed files
with
3,231 additions
and
698 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,8 +13,6 @@ pragma solidity ^0.8.27; | |
// Learn more at https://biconomy.io. To report security issues, please contact us at: [email protected] | ||
|
||
import { IEntryPoint } from "account-abstraction/interfaces/IEntryPoint.sol"; | ||
|
||
import { Storage } from "./Storage.sol"; | ||
import { IBaseAccount } from "../interfaces/base/IBaseAccount.sol"; | ||
|
||
/// @title Nexus - BaseAccount | ||
|
@@ -25,10 +23,14 @@ import { IBaseAccount } from "../interfaces/base/IBaseAccount.sol"; | |
/// @author @filmakarov | Biconomy | [email protected] | ||
/// @author @zeroknots | Rhinestone.wtf | zeroknots.eth | ||
/// Special thanks to the Solady team for foundational contributions: https://github.com/Vectorized/solady | ||
contract BaseAccount is Storage, IBaseAccount { | ||
contract BaseAccount is IBaseAccount { | ||
/// @notice Identifier for this implementation on the network | ||
string internal constant _ACCOUNT_IMPLEMENTATION_ID = "biconomy.nexus.1.0.0-beta"; | ||
|
||
/// @notice The canonical address for the ERC4337 EntryPoint contract, version 0.7. | ||
/// This address is consistent across all supported networks. | ||
address internal immutable _ENTRYPOINT; | ||
|
||
/// @dev Ensures the caller is either the EntryPoint or this account itself. | ||
/// Reverts with AccountAccessUnauthorized if the check fails. | ||
modifier onlyEntryPointOrSelf() { | ||
|
Oops, something went wrong.