Checkpoint module for issuing ether dividends (EtherDividendCheckpoint.sol)
View Source: contracts/modules/Checkpoint/Dividend/Ether/EtherDividendCheckpoint.sol
↗ Extends: DividendCheckpoint
EtherDividendCheckpoint
Events
Functions
Constructor
Arguments
Name | Type | Description |
_securityToken | address | Address of the security token |
_polyToken | address |
createDividend
Creates a dividend and checkpoint for the dividend, using global list of excluded addresses
Arguments
Name | Type | Description |
_maturity | uint256 | Time from which dividend can be paid |
_expiry | uint256 | Time until dividend can no longer be paid, and can be reclaimed by issuer |
_name | bytes32 | Name/title for identification |
createDividendWithCheckpoint
Creates a dividend with a provided checkpoint, using global list of excluded addresses
Arguments
Name | Type | Description |
_maturity | uint256 | Time from which dividend can be paid |
_expiry | uint256 | Time until dividend can no longer be paid, and can be reclaimed by issuer |
_checkpointId | uint256 | Id of the checkpoint from which to issue dividend |
_name | bytes32 | Name/title for identification |
createDividendWithExclusions
Creates a dividend and checkpoint for the dividend, specifying explicit excluded addresses
Arguments
Name | Type | Description |
_maturity | uint256 | Time from which dividend can be paid |
_expiry | uint256 | Time until dividend can no longer be paid, and can be reclaimed by issuer |
_excluded | address[] | List of addresses to exclude |
_name | bytes32 | Name/title for identification |
createDividendWithCheckpointAndExclusions
Creates a dividend with a provided checkpoint, specifying explicit excluded addresses
Arguments
Name | Type | Description |
_maturity | uint256 | Time from which dividend can be paid |
_expiry | uint256 | Time until dividend can no longer be paid, and can be reclaimed by issuer |
_checkpointId | uint256 | Id of the checkpoint from which to issue dividend |
_excluded | address[] | List of addresses to exclude |
_name | bytes32 | Name/title for identification |
_createDividendWithCheckpointAndExclusions
Creates a dividend with a provided checkpoint, specifying explicit excluded addresses
Arguments
Name | Type | Description |
_maturity | uint256 | Time from which dividend can be paid |
_expiry | uint256 | Time until dividend can no longer be paid, and can be reclaimed by issuer |
_checkpointId | uint256 | Id of the checkpoint from which to issue dividend |
_excluded | address[] | List of addresses to exclude |
_name | bytes32 | Name/title for identification |
_payDividend
⤾ overrides DividendCheckpoint._payDividend
Internal function for paying dividends
Arguments
Name | Type | Description |
_payee | address payable | address of investor |
_dividend | struct DividendCheckpointStorage.Dividend | storage with previously issued dividends |
_dividendIndex | uint256 | Dividend to pay |
reclaimDividend
⤾ overrides DividendCheckpoint.reclaimDividend
Issuer can reclaim remaining unclaimed dividend amounts, for expired dividends
Arguments
Name | Type | Description |
_dividendIndex | uint256 | Dividend to reclaim |
withdrawWithholding
⤾ overrides DividendCheckpoint.withdrawWithholding
Allows issuer to withdraw withheld tax
Arguments
Name | Type | Description |
_dividendIndex | uint256 | Dividend to withdraw from |
Last updated