Git Source

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.

function addAccount(address _account) external;

Parameters

NameTypeDescription
_accountaddressuser address

removeAccount

Remove the account. Restricted to owner.

function removeAccount(address _account) external;

Parameters

NameTypeDescription
_accountaddressuser address

isUserAccount

Checks to see if the account exists

function isUserAccount(address _address) external view returns (bool);

Parameters

NameTypeDescription
_addressaddressuser address

Returns

NameTypeDescription
<none>boolexists true if exists, false if not exists