Skip to content

Commit 9d5f95c

Browse files
committed
updates
1 parent 2d88dcc commit 9d5f95c

2 files changed

Lines changed: 1 addition & 11 deletions

File tree

docs/base-account/guides/accept-payments.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import {SignInWithBaseButton} from "/snippets/SignInWithBaseButton.mdx"
1010
USDC on Base is a fully-backed digital dollar that settles in seconds and costs pennies in gas. Base Pay lets you accept those dollars with a single click—no cards, no FX fees, no chargebacks.
1111

1212
* **Any user can pay** – works with every Base Account (smart-wallet) out of the box.
13-
* **USDC, no gas** – you charge in dollars; gas sponsorship is handled automatically.
13+
* **USDC, not gas** – you charge in dollars; gas sponsorship is handled automatically.
1414
* **Fast** – most payments confirm in <2 seconds on Base.
1515
* **Funded accounts** – users pay with USDC from their Base Account or Coinbase Account.
1616
* **No extra fees** – you receive the full amount.

docs/base-account/more/troubleshooting/usage-details/unsupported-calls.mdx

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,6 @@ Future versions of Base Account may support it.
2727
You can use a factory contract or a transaction with the `CREATE2` opcode to deploy a smart contract.
2828
</Tip>
2929

30-
## Solidity's Builtin `transfer` function
31-
32-
The `transfer` function is a built-in member of the `address` type in Solidity that can be used to send ETH to an address. Base Account wallets cannot receive ETH using this function.
33-
This function has long been considered deprecated in favor of `call` by the Solidity community, but some older contracts still use it.
34-
35-
The reason for this is that `transfer` only forwards 2300 gas to the `transfer` call, a protective mechanism that was designed to prevent reentrancy attacks by limiting the amount of
36-
gas available to a smart contract that might reenter the caller.
37-
In the modern world of smart contract wallets (including for Base Account), this is often not enough gas for the smart contract's `receive` or `fallback` functions to complete their work,
38-
causing the transaction to revert.
39-
4030
### Known affected contracts
4131

4232
- The [WETH9 contract](https://basescan.org/token/0x4200000000000000000000000000000000000006) uses `transfer` to send ETH to the user's wallet and therefore Base Accounts cannot directly unwrap ETH from it.

0 commit comments

Comments
 (0)