Resolving Functionalities (RegistrarMain Contract)

  1. Resolve SafleID: This method fetches the public address registered corresponding to a SafleID.

    function resolveSafleId(string calldata _safleId) public view returns (address)
    
    • Parameters: _safleId - The SafleID to be resolved.

    • Purpose: Provides the public address linked to a specific SafleID, enabling easy lookup and interaction.

  2. Resolve User Address: This method fetches the SafleID corresponding to a public address.

    function resolveUserAddress(address _userAddress) public view returns (string memory)
    
    • Parameters: _userAddress - The public address to be resolved.

    • Purpose: Allows users to retrieve the SafleID associated with a particular public address.

Last updated