Derivatives on-chain margin models and systemic counterparty exposure mapping techniques