//Storage public static IMoralityStorageBank GetMoralityStorageBank(MoralityTokenSettings settings) { var client = Web3Factory.GetWeb3(settings.InfuraAddress, settings.AdminPass); return(new MoralityStorageBank(client, settings.StorageAddress, settings.InfuraAddress, settings.StorageAbi, settings.AdminAddress)); }
public static IMoralityPlayersBank GetMoralityPlayersBank(MoralityTokenSettings settings, string userPassword) { var client = Web3Factory.GetWeb3(settings.InfuraAddress, settings.AdminPass); return(new MoralityPlayersBank(client, settings.PlayersAddress, settings.InfuraAddress, settings.PlayersAbi, settings.AdminAddress)); }