eth-erc20

ERC20 interface and example giftable token contract
Log | Files | Refs | LICENSE

commit 273cf23f2111829232b8e66884893fa2f5273e74
parent 15b6b4fa46b1e7a39f1d37f2401187a08a6cfffc
Author: lash <dev@holbrook.no>
Date:   Tue, 14 Feb 2023 06:39:33 +0000

Correct constructor args method name

Diffstat:
Mpython/giftable_erc20_token/factory.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/python/giftable_erc20_token/factory.py b/python/giftable_erc20_token/factory.py @@ -25,7 +25,7 @@ class GiftableToken(TxFactory): __bytecode = None def constructor(self, sender_address, name, symbol, decimals, tx_format=TxFormat.JSONRPC, version=None): - code = constructor_arg(name, symbol, decimals) + code = self.cargs(name, symbol, decimals) tx = self.template(sender_address, None, use_nonce=True) tx = self.set_code(tx, code) return self.finalize(tx, tx_format)