Aniket-Engg / solidity-school

First place for early developers to learn Solidity
366 stars 82 forks source link

Rent #20

Closed Aniket-Engg closed 5 years ago

Aniket-Engg commented 5 years ago

Standard: 2 Sequence: 4 Contract Name: Rent

Problem Statement: Write a contract named "Rent" which will be deployed by Landlord and all ethers transferred on this contract address will be automatically transferred to landlord's address. On deployment, landlord will provide the information of tenant which will be public. Information of tenant will be name, age & occupation.

Use fallback function wherever required.

Add related hint, if required.