Skip to content

Commit

Permalink
add faq titles
Browse files Browse the repository at this point in the history
  • Loading branch information
frangio committed Jan 24, 2023
1 parent e697766 commit 33b55af
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/modules/ROOT/pages/faq.adoc
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
Can I restrict a function to EOAs only?
= Frequently Asked Questions

== Can I restrict a function to EOAs only?

When calling external addresses from your contract it is unsafe to assume that an address is an externally-owned account (EOA) and not a contract. Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract constructor.

Expand Down

0 comments on commit 33b55af

Please sign in to comment.