mirror of
https://github.com/chaintool-py/eth-erc20.git
synced 2026-05-15 03:47:15 +02:00
Rename total burned method
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
* 0.7.0
|
||||
- Implement proper burner interface method
|
||||
* 0.6.2
|
||||
- Add Giftable Token contract metadata
|
||||
* 0.6.1
|
||||
|
||||
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
@@ -127,7 +127,7 @@ class GiftableToken(ERC20):
|
||||
o = j.template()
|
||||
o['method'] = 'eth_call'
|
||||
enc = ABIContractEncoder()
|
||||
enc.method('burned')
|
||||
enc.method('totalBurned')
|
||||
data = add_0x(enc.get())
|
||||
tx = self.template(sender_address, contract_address)
|
||||
tx = self.set_code(tx, data)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[metadata]
|
||||
name = eth-erc20
|
||||
version = 0.6.2
|
||||
version = 0.7.0
|
||||
description = ERC20 interface and simple contract with deployment script that lets any address mint and gift itself tokens.
|
||||
author = Louis Holbrook
|
||||
author_email = dev@holbrook.no
|
||||
|
||||
Reference in New Issue
Block a user