Skip to content
This repository has been archived by the owner on Jun 29, 2020. It is now read-only.

Commit

Permalink
Merge pull request #61 from poanetwork/issue-#47
Browse files Browse the repository at this point in the history
Implement/Integrate new design
  • Loading branch information
unjapones committed Aug 17, 2018
2 parents 2a6b6f5 + add339f commit 158a64a
Show file tree
Hide file tree
Showing 82 changed files with 9,553 additions and 4,436 deletions.
8,178 changes: 6,226 additions & 1,952 deletions blockchain/build/contracts/PoBA.json

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions blockchain/contracts/PoBA.sol
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,14 @@ contract PoBA {
function accountsLength(address _address) public constant returns (uint256) {
return users[_address].bankAccounts.length;
}

function getBankAccounts(address _address, uint256 addressIndex) public constant
returns (string accountNumber, string bankName, uint256 attestationDate)
{
return (
users[_address].bankAccounts[addressIndex].accountNumber,
users[_address].bankAccounts[addressIndex].bankName,
users[_address].bankAccounts[addressIndex].attestationDate
);
}
}

0 comments on commit 158a64a

Please sign in to comment.