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

Function DividendData

CLI/commands/dividends_manager.js:714–723  ·  view source on GitHub ↗
(_index, _created, _maturity, _expiry, _amount, _claimedAmount, _name, _tokenSymbol)

Source from the content-addressed store, hash-verified

712
713async function getDividends() {
714 function DividendData(_index, _created, _maturity, _expiry, _amount, _claimedAmount, _name, _tokenSymbol) {
715 this.index = _index;
716 this.created = _created;
717 this.maturity = _maturity;
718 this.expiry = _expiry;
719 this.amount = _amount;
720 this.claimedAmount = _claimedAmount;
721 this.name = _name;
722 this.tokenSymbol = _tokenSymbol;
723 }
724
725 let dividends = [];
726 let dividendsData = await currentDividendsModule.methods.getDividendsData().call();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected