Added Lifebouy contract, sending all ETH during construction, to rather msg.sender or tx.origin as fallback.
It also store the deployer and allows it, among with contract owner (if implementing Ownable) to rescue locked ETH, ERC20, ERC721 in the contract (feature can be renounced).
Checklist
Ensure you completed all of the steps below before submitting your pull request:
[x] Ran forge fmt?
[x] Ran forge snapshot?
[x] Ran forge test?
Pull requests with an incomplete checklist will be thrown out.
Description
Added Lifebouy contract, sending all ETH during construction, to rather msg.sender or tx.origin as fallback. It also store the deployer and allows it, among with contract owner (if implementing Ownable) to rescue locked ETH, ERC20, ERC721 in the contract (feature can be renounced).
Checklist
Ensure you completed all of the steps below before submitting your pull request:
forge fmt
?forge snapshot
?forge test
?Pull requests with an incomplete checklist will be thrown out.