The Parallel Protocol's classic vaults smart contracts are open source on Github:
https://github.com/mimo-capital/
But also below :
VaultCore
Opening a Vault
Borrowing and minting PAR/paUSD
Last updated 11 months ago