IAccounts.sol
IAccounts
Inherits: IInputErrors, IZeroAddressError
Author: @ShaneDuncan602, @oscarsernarosero, @TJ-Everett
This contract serves as a storage server for user accounts
Uses IDataModule, which has basic ownable functionality. It will get created, and therefore owned, by the app manager
Functions
addAccount
Add the account. Restricted to owner.
Parameters
Name | Type | Description |
---|---|---|
_account | address | user address |
removeAccount
Remove the account. Restricted to owner.
Parameters
Name | Type | Description |
---|---|---|
_account | address | user address |
isUserAccount
Checks to see if the account exists
Parameters
Name | Type | Description |
---|---|---|
_address | address | user address |
Returns
Name | Type | Description |
---|---|---|
<none> | bool | exists true if exists, false if not exists |