The law of treaties is that part of international law which deals with legally binding agreements between states, generally referred to as treaties.