T2551
Depends on D12898
This diff fleshes out the `isAliasAvailable` function which is structured as follows:
> loop through each inbound txs in alias payment address
> if the txs has an alias rego prefix in output[0] then
> loop through all outputs in that txs
> tally up the payment values across all outputs going to payment address
> if alias <= 50 char and cumulative payment = expected fee then add alias to array
> (I didn't think minFee check was needed since by virtue of a valid rego fee it will always be higher than minFee)
> return array of validated registered aliases
Debug statements kept in for this diff so you can see the list of registered aliases in the console log for validation.
[Cashtab] [Alias] pt 1 - Create scaffold for new Identity component
[Cashtab] [Alias] pt 2 - Implement registerNewAlias() to handle alias registration
**[Cashtab] [Alias] pt 3 - Implement isAliasAvailable function**
[Cashtab] [Alias] pt 4 - Implement isAddressRegistered function
[Cashtab] [Alias] pt 5 - Implement getAddressFromAlias function
[Cashtab] [Alias] pt 6 - Implement isLocalAliasStateLatest function
[Cashtab] [Alias] pt 7 - Enable alias lookup for Send XEC component
[Cashtab] [Alias] pt 8 - Enable alias lookup for Send Token component
[Cashtab] [Alias] pt 9 - Implement pricing mechanism
[Cashtab] [Alias] pt 10 - Server cron job
[Cashtab] [Alias] pt 11 - Upgrade tx history to recognize alias registration txs