Closed Varunram closed 4 years ago
an update on this - right now, the contract is set to $120 a month ie we implicitly assume that the electricity bill per month is $120. We should setup a website like tariffs.openx.solar where we can grab this data from organisations and people can calculate how much they owe the contract. The contract in turn can pull its values from the website for standardisation.
this feature was merged in master for the openx-opensolar pilot
Right now, we have a placeholder function that returns a constant value in place of the real electricity bill. We must get this data with the help of oracles / data from the devices.