Compare commits

...

3 Commits

Author SHA1 Message Date
lash 17638b0a51
Bump version 2023-02-11 04:32:22 +00:00
lash ceed2e3a7a
Set immutable vars 2023-02-10 17:02:29 +00:00
lash cc1d4c811b
Remove dead console script entry 2023-02-10 16:48:08 +00:00
2 changed files with 4 additions and 5 deletions

View File

@ -1,6 +1,6 @@
[metadata]
name = erc20-demurrage-token
version = 0.3.0
version = 0.3.1
description = ERC20 token with redistributed continual demurrage
author = Louis Holbrook
author_email = dev@holbrook.no
@ -41,4 +41,3 @@ packages =
[options.entry_points]
console_scripts =
erc20-demurrage-token-deploy = erc20_demurrage_token.runnable.deploy:main
erc20-demurrage-token-apply = erc20_demurrage_token.runnable.apply:main

View File

@ -4,7 +4,7 @@ pragma solidity >= 0.8.0;
import "aux/ABDKMath64x64.sol";
// SPDX-License-Identifier: GPL-3.0-or-later
contract DemurrageTokenSingleCap {
contract DemurrageTokenSingleNocap {
struct redistributionItem {
uint32 period;
@ -35,7 +35,7 @@ contract DemurrageTokenSingleCap {
string public symbol;
// Implements ERC20
uint256 public decimals;
uint256 public immutable decimals;
// Implements ERC20
//uint256 public totalSupply;
@ -69,7 +69,7 @@ contract DemurrageTokenSingleCap {
// Demurrage in ppm per minute
//uint256 public immutable taxLevel;
// 64x64
int128 public taxLevel;
int128 public immutable taxLevel;
// Addresses allowed to mint new tokens
mapping (address => bool) minter;