DAO – Part III

Julien Klepatch

In this video, we are going to allow investors to cash out on their investment, in 2 ways:

  • By redeeming their shares against Ether from the smart contract
  • By selling their shares to other investors (outside the smart contract). In this case, the DAO smart contract will only be concerned about transferring the share from an investor to another, but the other leg of the transaction (Ether transfer) will be done outside the DAO smart contract.


Leave a Reply

More great articles

Types of Solidity runtime errors

"out of gas", "revert", "invalid opcode", what are all these weird error names in Solidity? In this video I will…

Read Story

Debugging with events

Do you like often use console.log() statement to debug your Javascript code? Convenient, uh? How about Solidity smart contracts, can…

Read Story

Install Truffle 5.0

Before we can continue in our course on Solidity smart contract testing, we need to install Truffle 5.0, so that…

Read Story

Never miss a minute

Get great content to your inbox every week. No spam.
[contact-form-7 id="6" title="Footer CTA Subscribe Form"]