mirror of
https://github.com/chaintool-py/eth-erc20.git
synced 2024-11-22 17:56:48 +01:00
Fix add minter method
This commit is contained in:
parent
d37657ceb7
commit
d030696b18
@ -53,9 +53,9 @@ class GiftableToken(TxFactory):
|
||||
return GiftableToken.__bytecode
|
||||
|
||||
|
||||
def add_minter(self, contract_address, sender_address, address):
|
||||
def add_minter(self, contract_address, sender_address, address, tx_format=TxFormat.JSONRPC):
|
||||
enc = ABIContractEncoder()
|
||||
enc.method('mintTo')
|
||||
enc.method('addMinter')
|
||||
enc.typ(ABIContractType.ADDRESS)
|
||||
enc.address(address)
|
||||
data = enc.get()
|
||||
|
Loading…
Reference in New Issue
Block a user