The Promissione Ducale was a written oath that the doge had to sign, going back to the Middle Ages. It was a means to curb the excessive powers of the early doges.
The doge was the elected head of the Venetian Republic. He was elected for life by an arcane process that also included drawing lots.