Sections 24 to 30 under the Indian Contract act 1872 prescribed the types of void agreements.