Districts may also contract to compromise and settle any controversies existing between them as to power rights upon the canal or other water system, and for these purposes any of the districts may demise to another of the districts all of the power rights which the demising district has or thereafter obtains.