local_message_signer middleware for web3.py (#1713)
This commit is contained in:
committed by
F. Eugene Aumson
parent
fde9fc9dd4
commit
4f25ff6a50
@@ -0,0 +1,7 @@
|
||||
from distutils.core import Command
|
||||
|
||||
class clean(Command):
|
||||
def initialize_options(self: clean) -> None: ...
|
||||
def finalize_options(self: clean) -> None: ...
|
||||
def run(self: clean) -> None: ...
|
||||
...
|
||||
@@ -0,0 +1 @@
|
||||
class Account: ...
|
||||
1
python-packages/middlewares/stubs/eth_account/local.pyi
Normal file
1
python-packages/middlewares/stubs/eth_account/local.pyi
Normal file
@@ -0,0 +1 @@
|
||||
class LocalAccount: ...
|
||||
1
python-packages/middlewares/stubs/eth_keys/datatypes.pyi
Normal file
1
python-packages/middlewares/stubs/eth_keys/datatypes.pyi
Normal file
@@ -0,0 +1 @@
|
||||
class PrivateKey: ...
|
||||
3
python-packages/middlewares/stubs/eth_utils/__init__.pyi
Normal file
3
python-packages/middlewares/stubs/eth_utils/__init__.pyi
Normal file
@@ -0,0 +1,3 @@
|
||||
from typing import Union
|
||||
|
||||
def to_checksum_address(value: Union[str, bytes]) -> str: ...
|
||||
1
python-packages/middlewares/stubs/hexbytes/HexBytes.pyi
Normal file
1
python-packages/middlewares/stubs/hexbytes/HexBytes.pyi
Normal file
@@ -0,0 +1 @@
|
||||
class HexBytes: ...
|
||||
1
python-packages/middlewares/stubs/pytest/raises.pyi
Normal file
1
python-packages/middlewares/stubs/pytest/raises.pyi
Normal file
@@ -0,0 +1 @@
|
||||
def raises(exception: Exception) -> ExceptionInfo: ...
|
||||
@@ -0,0 +1,8 @@
|
||||
from distutils.dist import Distribution
|
||||
from typing import Any, List
|
||||
|
||||
def setup(**attrs: Any) -> Distribution: ...
|
||||
|
||||
class Command: ...
|
||||
|
||||
def find_packages(where: str) -> List[str]: ...
|
||||
@@ -0,0 +1,3 @@
|
||||
from setuptools import Command
|
||||
|
||||
class test(Command): ...
|
||||
8
python-packages/middlewares/stubs/web3/__init__.pyi
Normal file
8
python-packages/middlewares/stubs/web3/__init__.pyi
Normal file
@@ -0,0 +1,8 @@
|
||||
from typing import Dict, Optional, Union
|
||||
|
||||
from web3.utils import datatypes
|
||||
from web3.providers.base import BaseProvider
|
||||
|
||||
class Web3:
|
||||
class HTTPProvider(BaseProvider): ...
|
||||
def __init__(self, provider: BaseProvider) -> None: ...
|
||||
@@ -0,0 +1 @@
|
||||
class BaseProvider: ...
|
||||
Reference in New Issue
Block a user