-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Breaking changes: - Function arguments now match the exact function parameter in the abi. Major changes: - Fixing a bug with kwargs and function overloading due to mismatched kwarg key between the abi and the python arg name. - Adding top level imports for easier importing of contracts. - Adding `sign_transact_and_wait`, with option to validate the transaction receipt (i.e., throw an exception if `status == 0`). - Adjusting exception handling to maintain original exception's `args` field. - Fixing #115 - Bug fix for contract functions with multiple instantiations. See `pypechain/test/overloading/test_overloading.py` for test that showcases this issue. - Fixing bug with deep copies of `PypechainCallException`
Showing
41 changed files
with
4,932 additions
and
263 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
"""Export all types from generated files. | ||
DO NOT EDIT. This file was generated by pypechain v0.0.44. | ||
See documentation at https://github.com/delvtech/pypechain """ | ||
|
||
# The module name reflects that of the solidity contract, | ||
# which may not adhere to python naming conventions | ||
# pylint: disable=invalid-name | ||
|
||
|
||
from .Example import ExampleContract |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
"""Export all types from generated files. | ||
DO NOT EDIT. This file was generated by pypechain v0.0.44. | ||
See documentation at https://github.com/delvtech/pypechain """ | ||
|
||
# The module name reflects that of the solidity contract, | ||
# which may not adhere to python naming conventions | ||
# pylint: disable=invalid-name | ||
|
||
|
||
from .Contract import ContractContract | ||
from .MyLibrary import MyLibraryContract |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
"""Export all types from generated files. | ||
DO NOT EDIT. This file was generated by pypechain v0.0.44. | ||
See documentation at https://github.com/delvtech/pypechain """ | ||
|
||
# The module name reflects that of the solidity contract, | ||
# which may not adhere to python naming conventions | ||
# pylint: disable=invalid-name | ||
|
||
|
||
from .ConstructorNoArgs import ConstructorNoArgsContract | ||
from .ConstructorWithArgs import ConstructorWithArgsContract | ||
from .ConstructorWithStructArgs import ConstructorWithStructArgsContract | ||
from .NoConstructor import NoConstructorContract |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
"""Export all types from generated files. | ||
DO NOT EDIT. This file was generated by pypechain v0.0.44. | ||
See documentation at https://github.com/delvtech/pypechain """ | ||
|
||
# The module name reflects that of the solidity contract, | ||
# which may not adhere to python naming conventions | ||
# pylint: disable=invalid-name | ||
|
||
|
||
from .Errors import ErrorsContract |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
"""Export all types from generated files. | ||
DO NOT EDIT. This file was generated by pypechain v0.0.44. | ||
See documentation at https://github.com/delvtech/pypechain """ | ||
|
||
# The module name reflects that of the solidity contract, | ||
# which may not adhere to python naming conventions | ||
# pylint: disable=invalid-name | ||
|
||
|
||
from .Events import EventsContract |
163 changes: 111 additions & 52 deletions
163
pypechain/test/overloading/abis/OverloadedMethods.sol/OverloadedMethods.json
Large diffs are not rendered by default.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
...nfo/061ddf2787ee6210a6e7bde105021663.json → ...nfo/6286db3c16374e26279108507fea7ac4.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.