(walletAddress, stableAddress)
| 756 | } |
| 757 | |
| 758 | async function checkStableBalance(walletAddress, stableAddress) { |
| 759 | let stableCoin = common.connect(abis.erc20(), stableAddress); |
| 760 | try { |
| 761 | return await stableCoin.methods.balanceOf(walletAddress).call(); |
| 762 | } catch (e) { |
| 763 | return "" |
| 764 | } |
| 765 | } |
| 766 | |
| 767 | async function getStableCoinsRaised(currentSTO, address) { |
| 768 | return await currentSTO.methods.stableCoinsRaised(address).call() |
no outgoing calls
no test coverage detected