-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4f7596e
commit 2d832cc
Showing
2 changed files
with
4 additions
and
12 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,9 +14,6 @@ import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; | |
import { SafeTransferLib } from "solady/src/utils/SafeTransferLib.sol"; | ||
import { IBiconomySponsorshipPaymaster } from "../interfaces/IBiconomySponsorshipPaymaster.sol"; | ||
|
||
// possiblity (conflicts with BasePaymaster which is also Ownbale) // either make BasePaymaster SoladyOwnable | ||
// import { SoladyOwnable } from "../utils/SoladyOwnable.sol"; | ||
|
||
/** | ||
* @title BiconomySponsorshipPaymaster | ||
* @author livingrockrises<[email protected]> | ||
|
@@ -43,18 +40,13 @@ contract BiconomySponsorshipPaymaster is BasePaymaster, ReentrancyGuard, Biconom | |
// note: could rename to PAYMASTER_ID_OFFSET | ||
uint256 private constant VALID_PND_OFFSET = PAYMASTER_DATA_OFFSET; | ||
|
||
// temp | ||
// paymasterAndData: paymaster address + paymaster gas limits + paymasterData | ||
// paymasterData: concat of [paymasterId(20 bytes), validUntil(6 bytes), validAfter(6 bytes), priceMarkup(4 bytes), signature] | ||
|
||
mapping(address => uint256) public paymasterIdBalances; | ||
|
||
constructor(address _owner, IEntryPoint _entryPoint, address _verifyingSigner, address _feeCollector) BasePaymaster(_entryPoint) { | ||
constructor(address _owner, IEntryPoint _entryPoint, address _verifyingSigner, address _feeCollector) BasePaymaster(_owner, _entryPoint) { | ||
// TODO | ||
// Check for zero address | ||
verifyingSigner = _verifyingSigner; | ||
feeCollector = _feeCollector; | ||
_transferOwnership(_owner); | ||
} | ||
|
||
/** | ||
|