Closed alecrem closed 2 years ago
@SamuraiT Thank you!
So, about what I was asking on the issue, does only the contract owner need to be able to burn people's tokens?
No need for holders to be able to burn?
does only the contract owner need to be able to burn people's tokens?
should be only owner function. actually it is ok user to burn their badges too
Thank you! I'll try to make both functions.
·-----------------|-------------|---------------·
| Contract Name · Size (KB) · Change (KB) │
··················|·············|················
| console · 0.086 · │
··················|·············|················
| Counters · 0.086 · │
··················|·············|················
| Address · 0.086 · │
··················|·············|················
| ERC1155 · 9.858 · │
··················|·············|················
| HenkakuBadge · 13.739 · +1.848 │
·-----------------|-------------|---------------·
·-----------------|-------------|---------------·
| Contract Name · Size (KB) · Change (KB) │
··················|·············|················
| console · 0.086 · │
··················|·············|················
| Address · 0.086 · │
··················|·············|················
| Counters · 0.086 · │
··················|·············|················
| MockERC20 · 4.691 · │
··················|·············|················
| ERC20 · 4.691 · │
··················|·············|················
| ERC1155 · 9.858 · │
··················|·············|················
| HenkakuBadge · 16.372 · +1.609 │
·-----------------|-------------|---------------·
·-----------------|-------------|---------------·
| Contract Name · Size (KB) · Change (KB) │
··················|·············|················
| console · 0.086 · │
··················|·············|················
| Address · 0.086 · │
··················|·············|················
| Counters · 0.086 · │
··················|·············|················
| MockERC20 · 4.691 · │
··················|·············|················
| ERC20 · 4.691 · │
··················|·············|················
| ERC1155 · 9.858 · │
··················|·············|················
| HenkakuBadge · 16.372 · +1.609 │
·-----------------|-------------|---------------·
·-----------------|-------------|---------------·
| Contract Name · Size (KB) · Change (KB) │
··················|·············|················
| console · 0.086 · │
··················|·············|················
| Address · 0.086 · │
··················|·············|················
| Counters · 0.086 · │
··················|·············|················
| MockERC20 · 4.691 · │
··················|·············|················
| ERC20 · 4.691 · │
··················|·············|················
| ERC1155 · 9.858 · │
··················|·············|················
| HenkakuBadge · 16.915 · +1.609 │
·-----------------|-------------|---------------·
·-----------------|-------------|---------------·
| Contract Name · Size (KB) · Change (KB) │
··················|·············|················
| console · 0.086 · │
··················|·············|················
| Address · 0.086 · │
··················|·············|················
| Counters · 0.086 · │
··················|·············|················
| MockERC20 · 4.691 · │
··················|·············|················
| ERC20 · 4.691 · │
··················|·············|················
| ERC1155 · 9.858 · │
··················|·············|················
| HenkakuBadge · 16.852 · +1.546 │
·-----------------|-------------|---------------·
·-----------------|-------------|---------------·
| Contract Name · Size (KB) · Change (KB) │
··················|·············|················
| console · 0.086 · │
··················|·············|················
| Address · 0.086 · │
··················|·············|················
| Counters · 0.086 · │
··················|·············|················
| MockERC20 · 4.691 · │
··················|·············|················
| ERC20 · 4.691 · │
··················|·············|················
| ERC1155 · 9.858 · │
··················|·············|················
| HenkakuBadge · 16.746 · +1.440 │
·-----------------|-------------|---------------·
·-----------------|-------------|---------------·
| Contract Name · Size (KB) · Change (KB) │
··················|·············|················
| console · 0.086 · │
··················|·············|················
| Address · 0.086 · │
··················|·············|················
| Counters · 0.086 · │
··················|·············|················
| MockERC20 · 4.691 · │
··················|·············|················
| ERC20 · 4.691 · │
··················|·············|················
| ERC1155 · 9.858 · │
··················|·············|················
| HenkakuBadge · 16.777 · +1.471 │
·-----------------|-------------|---------------·
·-----------------|-------------|---------------·
| Contract Name · Size (KB) · Change (KB) │
··················|·············|················
| console · 0.086 · │
··················|·············|················
| Address · 0.086 · │
··················|·············|················
| Counters · 0.086 · │
··················|·············|················
| MockERC20 · 4.691 · │
··················|·············|················
| ERC20 · 4.691 · │
··················|·············|················
| ERC1155 · 9.858 · │
··················|·············|················
| HenkakuBadge · 16.781 · +1.475 │
·-----------------|-------------|---------------·
@SamuraiT Thank you for the review! I learned a lot with this PR.
Closes #9
Tasks:
Objective
Features
burnOwnSpec