DataPortabilityServers
Manages the registry of data portability servers and user trust relationships for secure data transfers.
The DataPortabilityServers contract manages the decentralized registry of servers authorized to facilitate data portability operations on the Vana network. Each server is registered with ownership information, a unique address, public key for secure communication, and service endpoint URL. The contract implements a user-centric trust model where individual users explicitly trust or untrust specific servers for their data portability needs, with trust relationships tracked temporally using block numbers. This allows users to maintain granular control over which infrastructure providers can handle their data export operations while providing a historical audit trail of trust relationships.
The contract supports multiple registration and trust management flows including signature-based operations for gasless transactions through meta-transactions and manager-based operations that enable the DataPortabilityPermissions contract to automatically register and trust servers during atomic data export operations. Server trust relationships are not permanent; users can untrust servers at any time by setting an end block, effectively revoking the server's authorization to process that user's data while preserving the historical record. The contract provides comprehensive query interfaces to retrieve server information, enumerate user-trusted servers with their validity periods, and verify server registration status. This architecture ensures that data portability remains decentralized and user-controlled while maintaining the flexibility needed for seamless integration with various data portability service providers.
Contract AddressMoksha: 0x1483B1F634DBA75AeaE60da7f01A679aabd5ee2c
Vana Mainnet: 0x1483B1F634DBA75AeaE60da7f01A679aabd5ee2c
Updated about 2 hours ago