code: func (t *SimpleChaincode) Init(stub shim.ChaincodeStubInterface) pb.Response {
  	var event string // Indicates whether event has happened. Initially 0
  	var eventVal int // State of event
  	var err error
  	_, args := stub.GetFunctionAndParameters()
  	if len(args) != 2 {
  		return shim.Error("Incorrect number of arguments. Expecting 2")
  	}
  
  	// Initialize the chaincode
  	event = args[0]
  	eventVal, err = strconv.Atoi(args[1])
  	if err != nil {
  		return shim.Error("Expecting integer value for event status")
  	}
  	fmt.Printf("eventVal = %d\n", eventVal)
  
  	err = stub.PutState(event, []byte(strconv.Itoa(eventVal)))
  	if err != nil {
  		return shim.Error(err.Error())
  	}
  
  	return shim.Success(nil)
  }
docs: // Init takes two arguments, a string and int. These are stored in the key/value pair in the state