At very initial level, before performing any activity, all entities register with the contract putting all required information.
Two person can marry with each other in the presence of lawyer. Groom or Bride can approach the lawyer with required information of couple and paying the fee to lawyer (fee = 2 ETH). Only registered unmarried or divorced male and female marriage is possible.
Two person can go for the divorce with each other in the presence of lawyer. Groom or Bride can approach the lawyer with required information of couple and paying the fee to lawyer ( fee = 4 ETH). Only registered people married with each other can go for the divorce
• Marriage lawyer can not be same as divorce lawyer.
• Each entity is identified by its Ethereum address
• Sending of any accidental Ether is prevented.
• Any entity can see details at any time by anyone by passing the Ethereum address and without paying any gas fee.
-
Enum
-
Structs
-
mapping
-
Modifiers with parameters
-
comparison of Strings
-
Events
-
Fallback function
-
View Functions