MagicSpend

Verified contract

Active on Base with 9 txns
Deployed by via 0x08dff50f at 13037705
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $62,428.97
ERC-20
Value $46,754.66
ERC-20
Value $59.1
ERC-20
Value $0.11
ERC-20
Value $0
ERC-20
Value $0
ERC-20
--
ERC-20
--
0xaeafeac2df37304ec9bed766eb7d940e325c7a8fc2793b6bbf12706731c460d6
0xdff13e9905d586b031a69cc57e6c3f6019f8d124da93b876c60b68e71aeeee9b
0xae39a0a51bf66b25874fdaab615574b1d0d13843f04cbaf3d7cb45ec93390f1a
0x9c8a76f1aa16f4a09e6a6de0cec7d6eccb194688179b074457698a4bc1f9acc4
0x6da2c5131199e4ae6f4531739cda6b01c8decce12522e3576b7fdcee226bc837
0x07a0f243e7a779753dae1a4a06579d9ca6ef00d0300fbcf39c09620f238ea617
0x7f8a8129ae2e291fbe7cfe1d9eb86c841f4594fe4c85dc645671d3375526e80f
0xd4fbca6da564d5fdde52cc1564b19a1880f981f49db785674dfd9e0a0dcf4b76
0x68a1b4cbe6f20671e31725d5065982a809adccab7644a0323d0c01225c9859c9

Functions
Getter at block 22747622
entryPoint(pure returns (address)
0x5ff137d4b0fdcd49dca30c7cf57e578a026d2789
maxWithdrawDenominator(view returns (uint256)
20
owner(view returns (address result)
0x3e0cd4dc43811888efa242ab17118fce0035eff7
Read-only
getHash(address accountstruct MagicSpendWithdrawRequest withdrawRequestview returns (bytes32)
isValidWithdrawSignature(address accountstruct MagicSpendWithdrawRequest withdrawRequestview returns (bool)
nonceUsed(address accountuint256 nonceview returns (bool)
ownershipHandoverExpiresAt(address pendingOwnerview returns (uint256 result)
State-modifying
cancelOwnershipHandover(payable 
completeOwnershipHandover(address pendingOwnerpayable 
entryPointAddStake(uint256 amountuint32 unstakeDelaySecondspayable 
entryPointDeposit(uint256 amountpayable 
entryPointUnlockStake(
entryPointWithdraw(address touint256 amount
entryPointWithdrawStake(address to
ownerWithdraw(address assetaddress touint256 amount
postOp(uint8 modebytes contextuint256 actualGasCost
renounceOwnership(payable 
requestOwnershipHandover(payable 
setMaxWithdrawDenominator(uint256 newDenominator
transferOwnership(address newOwnerpayable 
validatePaymasterUserOp(struct UserOperation userOpbytes32uint256 maxCostreturns (bytes contextuint256 validationData)
withdraw(struct MagicSpendWithdrawRequest withdrawRequest
withdrawGasExcess(
Events
MagicSpendWithdrawal(address indexed accountaddress indexed assetuint256 amountuint256 nonce
MaxWithdrawDenominatorSet(uint256 newDenominator
OwnershipHandoverCanceled(address indexed pendingOwner
OwnershipHandoverRequested(address indexed pendingOwner
OwnershipTransferred(address indexed oldOwneraddress indexed newOwner
Constructor
constructor(address owner_uint256 maxWithdrawDenominator_
Fallback and receive
receive(
Errors
AlreadyInitialized(
Expired(
InvalidNonce(uint256 nonce
InvalidSignature(
NewOwnerIsZeroAddress(
NoExcess(
NoHandoverRequest(
RequestLessThanGasMaxCost(uint256 requesteduint256 maxCost
Unauthorized(
UnexpectedPostOpRevertedMode(
UnsupportedPaymasterAsset(address asset
WithdrawTooLarge(uint256 requestedAmountuint256 maxAllowed