This is an Ethereum project that enhances some of the popular implementations of token standards.
It is an interface that adds to the IERC20
interface the mint
function from the ERC20Mintable
OpenZeppelin contract.
It is an interface that adds to the IERC20
interface the name
, symbol
and decimals
functions from the ERC20Detailed
OpenZeppelin contract.
It is an interface that adds to the IERC20
interface the mint
, name
, symbol
and decimals
functions from the ERC20Mintable
and ERC20Detailed
OpenZeppelin contracts.
It is a contract that implements the IERC20Mintable
interface.
It is a ERC20
token contract that is endowed with some rather dividendable qualities.
-
Anyone can send
ether
to the contract at any time using thereceive
function. That amount ofether
will be added to a dividend pool. -
The contract has an internal
_releaseDividends
function that will earmark a portion of theether
in the contract to be claimed by token holders proportionally to their holdings. -
Any token holder can claim their share of
ether
dividends calling theclaimDividends
function. -
A token holder can transfer tokens while having dividends available for claiming. In that case, only the recipient can claim the share of dividends related to the tokens transferred.
-
Minted tokens don't give any right to claim dividends from prior events.
-
Burning tokens while having dividends available for claiming proportionally reduces the dividends that can be claimed.