Skip to content

Commit

Permalink
readme naming
Browse files Browse the repository at this point in the history
  • Loading branch information
wilsoncusack committed Feb 29, 2024
1 parent acbfd9e commit cf2878c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Where signature is an [EIP-191](https://eips.ethereum.org/EIPS/eip-191) complian
```solidity
abi.encode(
<Magic Spend contract address>,
<msg.sender of the withdraw transaction>,
<UserOperation.sender and/or msg.sender of the withdraw call>,
<chain ID>,
withdrawRequest.asset,
withdrawRequest.amount,
Expand All @@ -35,7 +35,7 @@ This contract is part of a broader Magic Spend product from Coinbase, which as a
<img width="661" alt="Diagram of Coinbase user making use of Magic Spend" src="https://github.com/coinbase/magic-spend/assets/6678357/42d3a8fc-a376-4139-9ea9-040cf094d74b">

## Detailed Flows
When the withdrawing account is an ERC-4337 compliant smart contract (like [Coinbase Smart Wallet](https://github.com/coinbase/smart-wallet)), there are three different ways the Magic Spend smart contract can be used
When the withdrawing account is an ERC-4337 compliant smart contract (like [Smart Wallet](https://github.com/coinbase/smart-wallet)), there are three different ways the Magic Spend smart contract can be used
1. Pay gas only
2. Transfer funds during execution only
3. Pay gas and transfer funds during execution
Expand Down

0 comments on commit cf2878c

Please sign in to comment.