Name and explain two type of accounts on Ethereum *
4 points
Your answer
Name and explain three types of transactions in Ethereum *
6 points
Your answer
What is gas? *
1 point
What is a fee market? *
1 point
Your answer
At a high level, what is the compilation process for Solidity before it is deployed to the network? *
1 point
Your answer
Breaking smart contracts
What is a front-running attack for a smart contract and how can a user perform it without collaborating with a miner? Please explain it with an example. *
6 points
Your answer
What is the checks-effects-interaction paradigm? Please provide an example. *
3 points
Your answer
Why is a contract-in-the-middle attack possible if tx.origin is used instead of msg.sender? *
4 points
Your answer
What is an out-of-gas exception and how can it be used to lock up coins? *
4 points
Your answer
Figure 1 outlines a contract that is vulnerable. How can a malice contract use selfdestruct to attack it
4 points
Your answer
At a high level, how does a re-entrancy attack work? And how can we prevent it? *
6 points
Your answer
Advanced Contracts
What is an oracle smart contract? And why do we need it? *
4 points
Your answer
What is a smart contract factory? And why is it useful to let another smart contract verify the code deployed? *
4 points
Your answer
Name and explain three permission systems that can be built into smart contracts. *