farcasterxyz / contracts

Implementation of the Farcaster contracts
https://www.farcaster.xyz/
MIT License
340 stars 122 forks source link

bug: Assets can get stuck in the `Bundler` contract #330

Closed horsefacts closed 1 year ago

horsefacts commented 1 year ago

The Bundler contract implements a receive() function to allow overpayments to be sent and later refunded in the register() logic. However, ETH sent directly to the contract will get stuck in this contract without recovery.

Fix: