Property Titles Record

Contract purpose

Keep a record of all your properties

Contract parameters

owner : the address of the owner

Exposed methods and variables

addProperty : called by the owner to add a new property, return true if the property was added and false if it already exists

parameter nametypedetails
_idintegerproperty id
_latitudestringthe location latitude
_longitudestringthe location longitude
_areaintegerarea of the property
_valueintegerthe value of the property

removeProperty : called by the owner to remove a certain property, returns true if the property exists and is removed and false if the id is not found

parameter nametypedetails
_idintegerproperty id

getProperty : returns the details about the property with the specified id

parameter nametypedetails
_idintegerproperty id
Reviewed by Modex
Buy Contract Test Contract

Create an account or login to purchase this smart contract