local_message_signer middleware for web3.py (#1713)

This commit is contained in:
Michael Huang
2019-03-25 10:25:41 -05:00
committed by F. Eugene Aumson
parent fde9fc9dd4
commit 4f25ff6a50
38 changed files with 568 additions and 0 deletions

View File

@@ -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: ...
...

View File

@@ -0,0 +1 @@
class Account: ...

View File

@@ -0,0 +1 @@
class LocalAccount: ...

View File

@@ -0,0 +1 @@
class PrivateKey: ...

View File

@@ -0,0 +1,3 @@
from typing import Union
def to_checksum_address(value: Union[str, bytes]) -> str: ...

View File

@@ -0,0 +1 @@
class HexBytes: ...

View File

@@ -0,0 +1 @@
def raises(exception: Exception) -> ExceptionInfo: ...

View File

@@ -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]: ...

View File

@@ -0,0 +1,3 @@
from setuptools import Command
class test(Command): ...

View 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: ...

View File

@@ -0,0 +1 @@
class BaseProvider: ...