The protocol uses EIP-2535 Diamond Standard. Functionality is split across facets that share storage, enabling modular upgrades without redeploying the full contract.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/p2pdotme/docs/llms.txt
Use this file to discover all available pages before exploring further.
Facets
CountryFacet.sol Currency and payment-channel config governance. P2pConfigFacet.sol Pricing, spread, admin configuration. OrderProcessorFacet.sol Disputes, limits, thresholds. MerchantRegistryFacet.sol and MerchantOnboardFacet.sol Merchant controls, fees, stake/unstake. OrderFlowFacet.sol and OrderFlowHelper.sol Order lifecycle, matching, settlement. ReputationManager.sol RP hooks, reward/verification gating.Storage Contracts
storages/MerchantRegistryStorage.solstorages/CountryStorage.solstorages/OrderProcessorStorage.sol
Libraries
libraries/MerchantRegistryLib.sol