MCPcopy Create free account
hub / github.com/PolymathNetwork/polymath-core / hasRemaining

Function hasRemaining

CLI/commands/dividends_manager.js:686–688  ·  view source on GitHub ↗
(dividend)

Source from the content-addressed store, hash-verified

684}
685
686function hasRemaining(dividend) {
687 return Number(new web3.utils.BN(dividend.amount).sub(new web3.utils.BN(dividend.claimedAmount))).toFixed(10) > 0;
688}
689
690function hasRemainingWithheld(dividend) {
691 return Number(new web3.utils.BN(dividend.dividendWithheld).sub(new web3.utils.BN(dividend.dividendWithheldReclaimed))).toFixed(10) > 0;

Callers 2

manageExistingDividendFunction · 0.85
selectDividendFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected