Put in order · Blockchain and Web3 course · Module 8: ERC-20 & Token Creation
Sorting: Approve + transferFrom flow
Arrange the steps for using approve/transferFrom:
Items to put in order
- Bob calls transferFrom(Alice, Carol, 50)
- Alice calls approve(Bob, 100)
- Alice's tokens go to Carol
- Bob now has an allowance of 50 (100-50)
You can check the correct answer by solving this task in the CodeWorlds game.