Service/Account/Balance/Validate/A/ProcessOneAsset.php
private function getAccounts($typeId)
    {
        $result = [];
        $where = EAccount::A_ASSET_TYPE_ID . '=' . (int)$typeId;
        $rows = $this->daoAcc->get($where);
        /** @var EAccount $row */
        foreach ($rows as $row) {
            $accId = $row->getId();
            $balance = $row->getBalance();
            $result[$accId] = $balance;
        }
        return $result;
    }
private function getAccounts($typeId)
    {
        $result = [];
        $where = EAccount::A_ASSET_TYPE_ID . '=' . (int)$typeId;
        $rows = $this->daoAcc->get($where);
        /** @var EAccount $row */
        foreach ($rows as $row) {
            $accId = $row->getId();
            $balance = $row->getBalance();
            $result[$accId] = $balance;
        }
        return $result;
    }
Get current balances for account with given asset ($typeId).

@param int $typeId
@return array [$accountId => $balance]