Skip to content

warashibe/freigeld-erc20

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Freigeld ERC20

A form of Freigeld (Free Money) poposed by Silvio Gesell implemented as an ERC20 token.

Added Functions

It mostly inherits from OpenZeppelin's ERC20 token, but with a few modifications.

_setRate

Sets the interest rate per block with a combination of numerator and denominator.

function _setRate (uint256 _numerator, uint256 _denominator) internal virtual

totalInterests

Returns the amount of interests deducted from the totalSupply.

function totalInterests() public view virtual returns (uint256)

Test

yarn test

About

Freigeld (Free Money) implemented as ERC20

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published