Rename abi file

This commit is contained in:
nolash 2020-12-18 10:34:45 +01:00
parent 60b90da3a3
commit 9dffd5d2f7
Signed by: lash
GPG Key ID: 21D2E7BB88C2A746
6 changed files with 4 additions and 5 deletions

View File

@ -1 +1 @@
include **/data/*.abi.json **/data/*.bin include **/data/GiftableToken.json **/data/GiftableToken.bin

View File

@ -44,7 +44,7 @@ if args.v:
def main(): def main():
w3 = web3.Web3(web3.Web3.HTTPProvider(args.p)) 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) abi = json.load(f)
f.close() f.close()

View File

@ -1,5 +1,4 @@
"""Mints and gifts tokens to a given address """Mints and gifts tokens to a given address
.. moduleauthor:: Louis Holbrook <dev@holbrook.no> .. moduleauthor:: Louis Holbrook <dev@holbrook.no>
.. pgp:: 0826EDA1702D1E87C6E2875121D2E7BB88C2A746 .. pgp:: 0826EDA1702D1E87C6E2875121D2E7BB88C2A746
@ -41,7 +40,7 @@ if args.v:
def main(): def main():
w3 = web3.Web3(web3.Web3.HTTPProvider(args.p)) 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) abi = json.load(f)
f.close() f.close()

View File

@ -31,7 +31,7 @@ install_requires =
[options.package_data] [options.package_data]
* = * =
data/GiftableToken.abi.json data/GiftableToken.json
data/GiftableToken.bin data/GiftableToken.bin
[options.entry_points] [options.entry_points]