Foundry Fundamentals Smart Contract Lottery doubts #3210
Unanswered
batublockdev
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Hello @batublockdev, I advise you to rewatch the whole section and move slowly because Patrick answered all of these questions in the section. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi I'm studying with the foudry fundamentals course but I'm in the last leccion where we work on a Smart contract lottery and trying to understand the contract I get some question like
Contract repo : https://github.com/Cyfrin/foundry-smart-contract-lottery-cu/blob/main/src/Raffle.sol
When and how the function fulfillRandomWords is called ?
How in that funtion we make sure that the winner is getting paid?
if the winner doesn't get paid in that moment automaticly does he lost the money?
Beta Was this translation helpful? Give feedback.
All reactions