Package it.unisa.KryptoAuth.service
Interface BlockchainService
- All Known Implementing Classes:
BlockchainServiceImpl
public interface BlockchainService
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
addressEquals
(String address) boolean
boolean
boolean
isContractLoaded
(String address) boolean
loadContract
(String account) boolean
loginAdmin
(String address, String name, String password) boolean
boolean
registerUser
(String address, String name, String password) boolean
removeAdmin
(String address) boolean
removeUser
(String address)
-
Method Details
-
loadContract
-
deploy
- Throws:
Exception
-
isContractLoaded
- Throws:
Exception
-
addressEquals
- Throws:
Exception
-
isAdmin
- Throws:
Exception
-
isUser
- Throws:
Exception
-
registerUser
- Throws:
Exception
-
loginUser
- Throws:
Exception
-
loginAdmin
- Throws:
Exception
-
addUser
- Throws:
Exception
-
addAdmin
- Throws:
Exception
-
removeUser
- Throws:
Exception
-
removeAdmin
- Throws:
Exception
-