commit 9dffd5d2f74a3397342ad7f372bcf463c5bf6031 parent 60b90da3a39cf3eebd4a4e092d6361b27bbfe520 Author: nolash <dev@holbrook.no> Date: Fri, 18 Dec 2020 10:34:45 +0100 Rename abi file Diffstat:
6 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/python/MANIFEST.in b/python/MANIFEST.in @@ -1 +1 @@ -include **/data/*.abi.json **/data/*.bin +include **/data/GiftableToken.json **/data/GiftableToken.bin diff --git a/python/giftable_erc20_token/data/GiftableToken.abi.json b/python/giftable_erc20_token/data/GiftableToken.json diff --git a/python/giftable_erc20_token/runnable/deploy.py b/python/giftable_erc20_token/runnable/deploy.py @@ -44,7 +44,7 @@ if args.v: def main(): w3 = web3.Web3(web3.Web3.HTTPProvider(args.p)) - f = open(os.path.join(args.abi_dir, 'GiftableToken.abi.json'), 'r') + f = open(os.path.join(args.abi_dir, 'GiftableToken.json'), 'r') abi = json.load(f) f.close() diff --git a/python/giftable_erc20_token/runnable/gift.py b/python/giftable_erc20_token/runnable/gift.py @@ -1,5 +1,4 @@ """Mints and gifts tokens to a given address - .. moduleauthor:: Louis Holbrook <dev@holbrook.no> .. pgp:: 0826EDA1702D1E87C6E2875121D2E7BB88C2A746 @@ -41,7 +40,7 @@ if args.v: def main(): w3 = web3.Web3(web3.Web3.HTTPProvider(args.p)) - f = open(os.path.join(args.abi_dir, 'GiftableToken.abi.json'), 'r') + f = open(os.path.join(args.abi_dir, 'GiftableToken.json'), 'r') abi = json.load(f) f.close() diff --git a/python/setup.cfg b/python/setup.cfg @@ -31,7 +31,7 @@ install_requires = [options.package_data] * = - data/GiftableToken.abi.json + data/GiftableToken.json data/GiftableToken.bin [options.entry_points] diff --git a/solidity/GiftableToken.abi.json b/solidity/GiftableToken.json