Skip to content

Instantly share code, notes, and snippets.

@tutorialcreation
tutorialcreation / geofunding.gist
Created July 18, 2022 09:52
A solidity contract for refunding to employer
pragma solidity >=0.4.25 <0.6.0;
contract GeoConferenceRefund
{
//Set of States
enum StateType { Created, InTransit, Completed, OutOfCompliance}
enum SensorType { None, latitude, longitude }
//List of properties
StateType public State;