Lesson 3: Collect ETH

Difficulty: low.

These DAO Modules will be created:

  • Ether funds

These Aira DAO Modules will be used:

  • Aira BuilderTokenEther (abi)
  • DAO core (abi)
  • Ether funds (abi)

Lesson Description

We can accumulate all invested ETH (by shareholders) in a single contract. All ETH that is sent to a contract can be withdrawn or used only by the account that sent it.

Skill test

Complete this lesson and get 50 ABT tokens!

Instructions:

  • Create a contract that will accumulate all ETH by calling Aira BuilderTokenEther.
  • Send 0.1 ETH to your account in the TokenEther contract that you created before.
  • Call the Execute() function from Lesson 3 contract. Please specify your address.