Edit on GitHub

communex.compat.types

 1from typing import TypedDict
 2
 3from communex.types import Ss58Address
 4
 5
 6class CommuneStorageDict(TypedDict):
 7    data: str
 8    encrypted: bool
 9    timestamp: int
10
11
12class CommuneKeyDict(TypedDict):
13    crypto_type: int
14    seed_hex: str
15    derive_path: str | None
16    path: str
17    public_key: str
18    ss58_format: int
19    ss58_address: Ss58Address
20    private_key: str
21    mnemonic: str
class CommuneStorageDict(typing.TypedDict):
 7class CommuneStorageDict(TypedDict):
 8    data: str
 9    encrypted: bool
10    timestamp: int
data: str
encrypted: bool
timestamp: int
class CommuneKeyDict(typing.TypedDict):
13class CommuneKeyDict(TypedDict):
14    crypto_type: int
15    seed_hex: str
16    derive_path: str | None
17    path: str
18    public_key: str
19    ss58_format: int
20    ss58_address: Ss58Address
21    private_key: str
22    mnemonic: str
crypto_type: int
seed_hex: str
derive_path: str | None
path: str
public_key: str
ss58_format: int
private_key: str
mnemonic: str