24. The pension shall be determined, in accordance with the terms and conditions established by regulation, by the amount of contributions of the participant, the contributory amounts of the municipality, the amounts paid for the redemption and transfer of previous years and interest at the rate fixed by regulation accumulated for the account of each participant.