mirror of
git://holbrook.no/erc20-demurrage-token
synced 2024-11-21 15:56:46 +01:00
Make allowance method public
This commit is contained in:
parent
14fb2fe8ea
commit
d7051b26c0
@ -1,3 +1,5 @@
|
|||||||
|
- 0.5.5
|
||||||
|
* Make allowance method public
|
||||||
- 0.5.4
|
- 0.5.4
|
||||||
* Add Transfer() event emission to sweep() in contract
|
* Add Transfer() event emission to sweep() in contract
|
||||||
- 0.5.3
|
- 0.5.3
|
||||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,6 +1,6 @@
|
|||||||
[metadata]
|
[metadata]
|
||||||
name = erc20-demurrage-token
|
name = erc20-demurrage-token
|
||||||
version = 0.5.4
|
version = 0.5.5
|
||||||
description = ERC20 token with redistributed continual demurrage
|
description = ERC20 token with redistributed continual demurrage
|
||||||
author = Louis Holbrook
|
author = Louis Holbrook
|
||||||
author_email = dev@holbrook.no
|
author_email = dev@holbrook.no
|
||||||
|
@ -73,7 +73,7 @@ contract DemurrageTokenSingleNocap {
|
|||||||
mapping (address => bool) minter;
|
mapping (address => bool) minter;
|
||||||
|
|
||||||
// Storage for ERC20 approve/transferFrom methods
|
// Storage for ERC20 approve/transferFrom methods
|
||||||
mapping (address => mapping (address => uint256 ) ) allowance; // holder -> spender -> amount (amount is subject to demurrage)
|
mapping (address => mapping (address => uint256 ) ) public allowance; // holder -> spender -> amount (amount is subject to demurrage)
|
||||||
|
|
||||||
// Address to send unallocated redistribution tokens
|
// Address to send unallocated redistribution tokens
|
||||||
address public sinkAddress;
|
address public sinkAddress;
|
||||||
|
Loading…
Reference in New Issue
Block a user