mirror of
https://github.com/chaintool-py/eth-erc20.git
synced 2024-11-22 01:36:46 +01:00
Rename abi file
This commit is contained in:
parent
60b90da3a3
commit
9dffd5d2f7
@ -1 +1 @@
|
|||||||
include **/data/*.abi.json **/data/*.bin
|
include **/data/GiftableToken.json **/data/GiftableToken.bin
|
||||||
|
@ -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()
|
||||||
|
|
||||||
|
@ -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()
|
||||||
|
|
||||||
|
@ -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]
|
||||||
|
Loading…
Reference in New Issue
Block a user