>>Now a days loads of ppl quit so openings are high and companies have to give better salary.
Has always been that way. The easiest way to replace people is to hire freshers who are looking for a break. That way they don't have to pay high salaries. This is why you see every year there is an ever increasing demand for freshers.
If you are experienced you need to be enough responsibilities free to attempt crazy job hopping lifestyle. That is ok for salaries sake, but no one will offer you loans, and you will miss out on the only investment avenue for (upper) middle class, that is real estate investments. So you can't forever play this game either.
Most people who understand how the long term game works, don't hop often. They know there is nothing like ever increasing 300% hike yoy on hopping jobs. On the other hand lack of stability means, you can't work on building assets, or making a rent income stream for the winter days of post-40s. And crazy work hours have a tax on your health. Eventually you end up losing your salary money to inflation, with no retirement stash and with diseases.
The only people hopping are really people who are easy to staff in body shops.
>>Why is it a rule to give only 30% based on your current salary?
Contrary to whatever you believe nobody has the demand to offer 300% raises to every one person. And I will drop a another cold fact on you. Most people who leave can be easily replaced by freshers with minimal training for 1/4th cost. This is not because companies are evil or something. But the facts here are bulk of the software industry doesn't need rockstars. There are not enough rockstar projects, to need rockstar developers.
And yeah most start ups who offer those crore rupees salaries never pay up. Several of them shutdown, most people lose jobs before IPO. Even if they have jobs, they'll be made to work so hard they'll quit. Sometime lots of additional clauses exist in salaries eg: Variable pay, conditional vesting etc which make that offer letter basically a scammy document.
People pay just 30% because they don't want to deal with any of this.