mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-02-18 02:22:01 +00:00
style(common): use new syntax for typing in autogenerated protobuf enums
This commit is contained in:
parent
1e8673bf5f
commit
1187e4ddaf
@ -391,8 +391,11 @@ class Descriptor:
|
|||||||
logging.debug("Processing enum {}".format(enum.name))
|
logging.debug("Processing enum {}".format(enum.name))
|
||||||
|
|
||||||
# file header
|
# file header
|
||||||
yield "if False:"
|
yield "if __debug__:"
|
||||||
yield " from typing_extensions import Literal"
|
yield " try:"
|
||||||
|
yield " from typing_extensions import Literal # noqa: F401"
|
||||||
|
yield " except ImportError:"
|
||||||
|
yield " pass"
|
||||||
yield ""
|
yield ""
|
||||||
|
|
||||||
for value in enum.value:
|
for value in enum.value:
|
||||||
@ -409,7 +412,7 @@ class Descriptor:
|
|||||||
name = strip_leader(name, enum_prefix)
|
name = strip_leader(name, enum_prefix)
|
||||||
|
|
||||||
self.enum_types[enum.name][value.name] = value.number
|
self.enum_types[enum.name][value.name] = value.number
|
||||||
yield f"{name} = {value.number} # type: Literal[{value.number}]"
|
yield f"{name}: Literal[{value.number}] = {value.number}"
|
||||||
|
|
||||||
def process_messages(self, messages, include_deprecated=False):
|
def process_messages(self, messages, include_deprecated=False):
|
||||||
for message in sorted(messages, key=lambda m: m.name):
|
for message in sorted(messages, key=lambda m: m.name):
|
||||||
|
@ -1,8 +1,11 @@
|
|||||||
# Automatically generated by pb2py
|
# Automatically generated by pb2py
|
||||||
# fmt: off
|
# fmt: off
|
||||||
if False:
|
if __debug__:
|
||||||
from typing_extensions import Literal
|
try:
|
||||||
|
from typing_extensions import Literal # noqa: F401
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
Bip39 = 0 # type: Literal[0]
|
Bip39: Literal[0] = 0
|
||||||
Slip39_Basic = 1 # type: Literal[1]
|
Slip39_Basic: Literal[1] = 1
|
||||||
Slip39_Advanced = 2 # type: Literal[2]
|
Slip39_Advanced: Literal[2] = 2
|
||||||
|
@ -1,8 +1,11 @@
|
|||||||
# Automatically generated by pb2py
|
# Automatically generated by pb2py
|
||||||
# fmt: off
|
# fmt: off
|
||||||
if False:
|
if __debug__:
|
||||||
from typing_extensions import Literal
|
try:
|
||||||
|
from typing_extensions import Literal # noqa: F401
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
SIDE_UNKNOWN = 0 # type: Literal[0]
|
SIDE_UNKNOWN: Literal[0] = 0
|
||||||
BUY = 1 # type: Literal[1]
|
BUY: Literal[1] = 1
|
||||||
SELL = 2 # type: Literal[2]
|
SELL: Literal[2] = 2
|
||||||
|
@ -1,9 +1,12 @@
|
|||||||
# Automatically generated by pb2py
|
# Automatically generated by pb2py
|
||||||
# fmt: off
|
# fmt: off
|
||||||
if False:
|
if __debug__:
|
||||||
from typing_extensions import Literal
|
try:
|
||||||
|
from typing_extensions import Literal # noqa: F401
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
OT_UNKNOWN = 0 # type: Literal[0]
|
OT_UNKNOWN: Literal[0] = 0
|
||||||
MARKET = 1 # type: Literal[1]
|
MARKET: Literal[1] = 1
|
||||||
LIMIT = 2 # type: Literal[2]
|
LIMIT: Literal[2] = 2
|
||||||
OT_RESERVED = 3 # type: Literal[3]
|
OT_RESERVED: Literal[3] = 3
|
||||||
|
@ -1,9 +1,12 @@
|
|||||||
# Automatically generated by pb2py
|
# Automatically generated by pb2py
|
||||||
# fmt: off
|
# fmt: off
|
||||||
if False:
|
if __debug__:
|
||||||
from typing_extensions import Literal
|
try:
|
||||||
|
from typing_extensions import Literal # noqa: F401
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
TIF_UNKNOWN = 0 # type: Literal[0]
|
TIF_UNKNOWN: Literal[0] = 0
|
||||||
GTE = 1 # type: Literal[1]
|
GTE: Literal[1] = 1
|
||||||
TIF_RESERVED = 2 # type: Literal[2]
|
TIF_RESERVED: Literal[2] = 2
|
||||||
IOC = 3 # type: Literal[3]
|
IOC: Literal[3] = 3
|
||||||
|
@ -1,25 +1,28 @@
|
|||||||
# Automatically generated by pb2py
|
# Automatically generated by pb2py
|
||||||
# fmt: off
|
# fmt: off
|
||||||
if False:
|
if __debug__:
|
||||||
from typing_extensions import Literal
|
try:
|
||||||
|
from typing_extensions import Literal # noqa: F401
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
Other = 1 # type: Literal[1]
|
Other: Literal[1] = 1
|
||||||
FeeOverThreshold = 2 # type: Literal[2]
|
FeeOverThreshold: Literal[2] = 2
|
||||||
ConfirmOutput = 3 # type: Literal[3]
|
ConfirmOutput: Literal[3] = 3
|
||||||
ResetDevice = 4 # type: Literal[4]
|
ResetDevice: Literal[4] = 4
|
||||||
ConfirmWord = 5 # type: Literal[5]
|
ConfirmWord: Literal[5] = 5
|
||||||
WipeDevice = 6 # type: Literal[6]
|
WipeDevice: Literal[6] = 6
|
||||||
ProtectCall = 7 # type: Literal[7]
|
ProtectCall: Literal[7] = 7
|
||||||
SignTx = 8 # type: Literal[8]
|
SignTx: Literal[8] = 8
|
||||||
FirmwareCheck = 9 # type: Literal[9]
|
FirmwareCheck: Literal[9] = 9
|
||||||
Address = 10 # type: Literal[10]
|
Address: Literal[10] = 10
|
||||||
PublicKey = 11 # type: Literal[11]
|
PublicKey: Literal[11] = 11
|
||||||
MnemonicWordCount = 12 # type: Literal[12]
|
MnemonicWordCount: Literal[12] = 12
|
||||||
MnemonicInput = 13 # type: Literal[13]
|
MnemonicInput: Literal[13] = 13
|
||||||
_Deprecated_ButtonRequest_PassphraseType = 14 # type: Literal[14]
|
_Deprecated_ButtonRequest_PassphraseType: Literal[14] = 14
|
||||||
UnknownDerivationPath = 15 # type: Literal[15]
|
UnknownDerivationPath: Literal[15] = 15
|
||||||
RecoveryHomepage = 16 # type: Literal[16]
|
RecoveryHomepage: Literal[16] = 16
|
||||||
Success = 17 # type: Literal[17]
|
Success: Literal[17] = 17
|
||||||
Warning = 18 # type: Literal[18]
|
Warning: Literal[18] = 18
|
||||||
PassphraseEntry = 19 # type: Literal[19]
|
PassphraseEntry: Literal[19] = 19
|
||||||
PinEntry = 20 # type: Literal[20]
|
PinEntry: Literal[20] = 20
|
||||||
|
@ -2,25 +2,28 @@
|
|||||||
# fmt: off
|
# fmt: off
|
||||||
from trezor import utils
|
from trezor import utils
|
||||||
|
|
||||||
if False:
|
if __debug__:
|
||||||
from typing_extensions import Literal
|
try:
|
||||||
|
from typing_extensions import Literal # noqa: F401
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
Bitcoin = 1 # type: Literal[1]
|
Bitcoin: Literal[1] = 1
|
||||||
if not utils.BITCOIN_ONLY:
|
if not utils.BITCOIN_ONLY:
|
||||||
Bitcoin_like = 2 # type: Literal[2]
|
Bitcoin_like: Literal[2] = 2
|
||||||
Binance = 3 # type: Literal[3]
|
Binance: Literal[3] = 3
|
||||||
Cardano = 4 # type: Literal[4]
|
Cardano: Literal[4] = 4
|
||||||
Crypto = 5 # type: Literal[5]
|
Crypto: Literal[5] = 5
|
||||||
if not utils.BITCOIN_ONLY:
|
if not utils.BITCOIN_ONLY:
|
||||||
EOS = 6 # type: Literal[6]
|
EOS: Literal[6] = 6
|
||||||
Ethereum = 7 # type: Literal[7]
|
Ethereum: Literal[7] = 7
|
||||||
Lisk = 8 # type: Literal[8]
|
Lisk: Literal[8] = 8
|
||||||
Monero = 9 # type: Literal[9]
|
Monero: Literal[9] = 9
|
||||||
NEM = 10 # type: Literal[10]
|
NEM: Literal[10] = 10
|
||||||
Ripple = 11 # type: Literal[11]
|
Ripple: Literal[11] = 11
|
||||||
Stellar = 12 # type: Literal[12]
|
Stellar: Literal[12] = 12
|
||||||
Tezos = 13 # type: Literal[13]
|
Tezos: Literal[13] = 13
|
||||||
U2F = 14 # type: Literal[14]
|
U2F: Literal[14] = 14
|
||||||
Shamir = 15 # type: Literal[15]
|
Shamir: Literal[15] = 15
|
||||||
ShamirGroups = 16 # type: Literal[16]
|
ShamirGroups: Literal[16] = 16
|
||||||
PassphraseEntry = 17 # type: Literal[17]
|
PassphraseEntry: Literal[17] = 17
|
||||||
|
@ -1,16 +1,19 @@
|
|||||||
# Automatically generated by pb2py
|
# Automatically generated by pb2py
|
||||||
# fmt: off
|
# fmt: off
|
||||||
if False:
|
if __debug__:
|
||||||
from typing_extensions import Literal
|
try:
|
||||||
|
from typing_extensions import Literal # noqa: F401
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
BASE = 0 # type: Literal[0]
|
BASE: Literal[0] = 0
|
||||||
BASE_SCRIPT_KEY = 1 # type: Literal[1]
|
BASE_SCRIPT_KEY: Literal[1] = 1
|
||||||
BASE_KEY_SCRIPT = 2 # type: Literal[2]
|
BASE_KEY_SCRIPT: Literal[2] = 2
|
||||||
BASE_SCRIPT_SCRIPT = 3 # type: Literal[3]
|
BASE_SCRIPT_SCRIPT: Literal[3] = 3
|
||||||
POINTER = 4 # type: Literal[4]
|
POINTER: Literal[4] = 4
|
||||||
POINTER_SCRIPT = 5 # type: Literal[5]
|
POINTER_SCRIPT: Literal[5] = 5
|
||||||
ENTERPRISE = 6 # type: Literal[6]
|
ENTERPRISE: Literal[6] = 6
|
||||||
ENTERPRISE_SCRIPT = 7 # type: Literal[7]
|
ENTERPRISE_SCRIPT: Literal[7] = 7
|
||||||
BYRON = 8 # type: Literal[8]
|
BYRON: Literal[8] = 8
|
||||||
REWARD = 14 # type: Literal[14]
|
REWARD: Literal[14] = 14
|
||||||
REWARD_SCRIPT = 15 # type: Literal[15]
|
REWARD_SCRIPT: Literal[15] = 15
|
||||||
|
@ -1,9 +1,12 @@
|
|||||||
# Automatically generated by pb2py
|
# Automatically generated by pb2py
|
||||||
# fmt: off
|
# fmt: off
|
||||||
if False:
|
if __debug__:
|
||||||
from typing_extensions import Literal
|
try:
|
||||||
|
from typing_extensions import Literal # noqa: F401
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
STAKE_REGISTRATION = 0 # type: Literal[0]
|
STAKE_REGISTRATION: Literal[0] = 0
|
||||||
STAKE_DEREGISTRATION = 1 # type: Literal[1]
|
STAKE_DEREGISTRATION: Literal[1] = 1
|
||||||
STAKE_DELEGATION = 2 # type: Literal[2]
|
STAKE_DELEGATION: Literal[2] = 2
|
||||||
STAKE_POOL_REGISTRATION = 3 # type: Literal[3]
|
STAKE_POOL_REGISTRATION: Literal[3] = 3
|
||||||
|
@ -1,8 +1,11 @@
|
|||||||
# Automatically generated by pb2py
|
# Automatically generated by pb2py
|
||||||
# fmt: off
|
# fmt: off
|
||||||
if False:
|
if __debug__:
|
||||||
from typing_extensions import Literal
|
try:
|
||||||
|
from typing_extensions import Literal # noqa: F401
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
SINGLE_HOST_IP = 0 # type: Literal[0]
|
SINGLE_HOST_IP: Literal[0] = 0
|
||||||
SINGLE_HOST_NAME = 1 # type: Literal[1]
|
SINGLE_HOST_NAME: Literal[1] = 1
|
||||||
MULTIPLE_HOST_NAME = 2 # type: Literal[2]
|
MULTIPLE_HOST_NAME: Literal[2] = 2
|
||||||
|
@ -1,11 +1,14 @@
|
|||||||
# Automatically generated by pb2py
|
# Automatically generated by pb2py
|
||||||
# fmt: off
|
# fmt: off
|
||||||
if False:
|
if __debug__:
|
||||||
from typing_extensions import Literal
|
try:
|
||||||
|
from typing_extensions import Literal # noqa: F401
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
NORMAL = 0 # type: Literal[0]
|
NORMAL: Literal[0] = 0
|
||||||
BOLD = 1 # type: Literal[1]
|
BOLD: Literal[1] = 1
|
||||||
MONO = 2 # type: Literal[2]
|
MONO: Literal[2] = 2
|
||||||
BR = 4 # type: Literal[4]
|
BR: Literal[4] = 4
|
||||||
BR_HALF = 5 # type: Literal[5]
|
BR_HALF: Literal[5] = 5
|
||||||
SET_COLOR = 6 # type: Literal[6]
|
SET_COLOR: Literal[6] = 6
|
||||||
|
@ -1,9 +1,12 @@
|
|||||||
# Automatically generated by pb2py
|
# Automatically generated by pb2py
|
||||||
# fmt: off
|
# fmt: off
|
||||||
if False:
|
if __debug__:
|
||||||
from typing_extensions import Literal
|
try:
|
||||||
|
from typing_extensions import Literal # noqa: F401
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
UP = 0 # type: Literal[0]
|
UP: Literal[0] = 0
|
||||||
DOWN = 1 # type: Literal[1]
|
DOWN: Literal[1] = 1
|
||||||
LEFT = 2 # type: Literal[2]
|
LEFT: Literal[2] = 2
|
||||||
RIGHT = 3 # type: Literal[3]
|
RIGHT: Literal[3] = 3
|
||||||
|
@ -1,20 +1,23 @@
|
|||||||
# Automatically generated by pb2py
|
# Automatically generated by pb2py
|
||||||
# fmt: off
|
# fmt: off
|
||||||
if False:
|
if __debug__:
|
||||||
from typing_extensions import Literal
|
try:
|
||||||
|
from typing_extensions import Literal # noqa: F401
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
UnexpectedMessage = 1 # type: Literal[1]
|
UnexpectedMessage: Literal[1] = 1
|
||||||
ButtonExpected = 2 # type: Literal[2]
|
ButtonExpected: Literal[2] = 2
|
||||||
DataError = 3 # type: Literal[3]
|
DataError: Literal[3] = 3
|
||||||
ActionCancelled = 4 # type: Literal[4]
|
ActionCancelled: Literal[4] = 4
|
||||||
PinExpected = 5 # type: Literal[5]
|
PinExpected: Literal[5] = 5
|
||||||
PinCancelled = 6 # type: Literal[6]
|
PinCancelled: Literal[6] = 6
|
||||||
PinInvalid = 7 # type: Literal[7]
|
PinInvalid: Literal[7] = 7
|
||||||
InvalidSignature = 8 # type: Literal[8]
|
InvalidSignature: Literal[8] = 8
|
||||||
ProcessError = 9 # type: Literal[9]
|
ProcessError: Literal[9] = 9
|
||||||
NotEnoughFunds = 10 # type: Literal[10]
|
NotEnoughFunds: Literal[10] = 10
|
||||||
NotInitialized = 11 # type: Literal[11]
|
NotInitialized: Literal[11] = 11
|
||||||
PinMismatch = 12 # type: Literal[12]
|
PinMismatch: Literal[12] = 12
|
||||||
WipeCodeMismatch = 13 # type: Literal[13]
|
WipeCodeMismatch: Literal[13] = 13
|
||||||
InvalidSession = 14 # type: Literal[14]
|
InvalidSession: Literal[14] = 14
|
||||||
FirmwareError = 99 # type: Literal[99]
|
FirmwareError: Literal[99] = 99
|
||||||
|
@ -1,10 +1,13 @@
|
|||||||
# Automatically generated by pb2py
|
# Automatically generated by pb2py
|
||||||
# fmt: off
|
# fmt: off
|
||||||
if False:
|
if __debug__:
|
||||||
from typing_extensions import Literal
|
try:
|
||||||
|
from typing_extensions import Literal # noqa: F401
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
SPENDADDRESS = 0 # type: Literal[0]
|
SPENDADDRESS: Literal[0] = 0
|
||||||
SPENDMULTISIG = 1 # type: Literal[1]
|
SPENDMULTISIG: Literal[1] = 1
|
||||||
EXTERNAL = 2 # type: Literal[2]
|
EXTERNAL: Literal[2] = 2
|
||||||
SPENDWITNESS = 3 # type: Literal[3]
|
SPENDWITNESS: Literal[3] = 3
|
||||||
SPENDP2SHWITNESS = 4 # type: Literal[4]
|
SPENDP2SHWITNESS: Literal[4] = 4
|
||||||
|
@ -1,13 +1,16 @@
|
|||||||
# Automatically generated by pb2py
|
# Automatically generated by pb2py
|
||||||
# fmt: off
|
# fmt: off
|
||||||
if False:
|
if __debug__:
|
||||||
from typing_extensions import Literal
|
try:
|
||||||
|
from typing_extensions import Literal # noqa: F401
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
Transfer = 0 # type: Literal[0]
|
Transfer: Literal[0] = 0
|
||||||
RegisterSecondPassphrase = 1 # type: Literal[1]
|
RegisterSecondPassphrase: Literal[1] = 1
|
||||||
RegisterDelegate = 2 # type: Literal[2]
|
RegisterDelegate: Literal[2] = 2
|
||||||
CastVotes = 3 # type: Literal[3]
|
CastVotes: Literal[3] = 3
|
||||||
RegisterMultisignatureAccount = 4 # type: Literal[4]
|
RegisterMultisignatureAccount: Literal[4] = 4
|
||||||
CreateDapp = 5 # type: Literal[5]
|
CreateDapp: Literal[5] = 5
|
||||||
TransferIntoDapp = 6 # type: Literal[6]
|
TransferIntoDapp: Literal[6] = 6
|
||||||
TransferOutOfDapp = 7 # type: Literal[7]
|
TransferOutOfDapp: Literal[7] = 7
|
||||||
|
@ -2,205 +2,208 @@
|
|||||||
# fmt: off
|
# fmt: off
|
||||||
from trezor import utils
|
from trezor import utils
|
||||||
|
|
||||||
if False:
|
if __debug__:
|
||||||
from typing_extensions import Literal
|
try:
|
||||||
|
from typing_extensions import Literal # noqa: F401
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
Initialize = 0 # type: Literal[0]
|
Initialize: Literal[0] = 0
|
||||||
Ping = 1 # type: Literal[1]
|
Ping: Literal[1] = 1
|
||||||
Success = 2 # type: Literal[2]
|
Success: Literal[2] = 2
|
||||||
Failure = 3 # type: Literal[3]
|
Failure: Literal[3] = 3
|
||||||
ChangePin = 4 # type: Literal[4]
|
ChangePin: Literal[4] = 4
|
||||||
WipeDevice = 5 # type: Literal[5]
|
WipeDevice: Literal[5] = 5
|
||||||
GetEntropy = 9 # type: Literal[9]
|
GetEntropy: Literal[9] = 9
|
||||||
Entropy = 10 # type: Literal[10]
|
Entropy: Literal[10] = 10
|
||||||
LoadDevice = 13 # type: Literal[13]
|
LoadDevice: Literal[13] = 13
|
||||||
ResetDevice = 14 # type: Literal[14]
|
ResetDevice: Literal[14] = 14
|
||||||
Features = 17 # type: Literal[17]
|
Features: Literal[17] = 17
|
||||||
PinMatrixRequest = 18 # type: Literal[18]
|
PinMatrixRequest: Literal[18] = 18
|
||||||
PinMatrixAck = 19 # type: Literal[19]
|
PinMatrixAck: Literal[19] = 19
|
||||||
Cancel = 20 # type: Literal[20]
|
Cancel: Literal[20] = 20
|
||||||
LockDevice = 24 # type: Literal[24]
|
LockDevice: Literal[24] = 24
|
||||||
ApplySettings = 25 # type: Literal[25]
|
ApplySettings: Literal[25] = 25
|
||||||
ButtonRequest = 26 # type: Literal[26]
|
ButtonRequest: Literal[26] = 26
|
||||||
ButtonAck = 27 # type: Literal[27]
|
ButtonAck: Literal[27] = 27
|
||||||
ApplyFlags = 28 # type: Literal[28]
|
ApplyFlags: Literal[28] = 28
|
||||||
BackupDevice = 34 # type: Literal[34]
|
BackupDevice: Literal[34] = 34
|
||||||
EntropyRequest = 35 # type: Literal[35]
|
EntropyRequest: Literal[35] = 35
|
||||||
EntropyAck = 36 # type: Literal[36]
|
EntropyAck: Literal[36] = 36
|
||||||
PassphraseRequest = 41 # type: Literal[41]
|
PassphraseRequest: Literal[41] = 41
|
||||||
PassphraseAck = 42 # type: Literal[42]
|
PassphraseAck: Literal[42] = 42
|
||||||
RecoveryDevice = 45 # type: Literal[45]
|
RecoveryDevice: Literal[45] = 45
|
||||||
WordRequest = 46 # type: Literal[46]
|
WordRequest: Literal[46] = 46
|
||||||
WordAck = 47 # type: Literal[47]
|
WordAck: Literal[47] = 47
|
||||||
GetFeatures = 55 # type: Literal[55]
|
GetFeatures: Literal[55] = 55
|
||||||
SetU2FCounter = 63 # type: Literal[63]
|
SetU2FCounter: Literal[63] = 63
|
||||||
SdProtect = 79 # type: Literal[79]
|
SdProtect: Literal[79] = 79
|
||||||
GetNextU2FCounter = 80 # type: Literal[80]
|
GetNextU2FCounter: Literal[80] = 80
|
||||||
NextU2FCounter = 81 # type: Literal[81]
|
NextU2FCounter: Literal[81] = 81
|
||||||
ChangeWipeCode = 82 # type: Literal[82]
|
ChangeWipeCode: Literal[82] = 82
|
||||||
EndSession = 83 # type: Literal[83]
|
EndSession: Literal[83] = 83
|
||||||
DoPreauthorized = 84 # type: Literal[84]
|
DoPreauthorized: Literal[84] = 84
|
||||||
PreauthorizedRequest = 85 # type: Literal[85]
|
PreauthorizedRequest: Literal[85] = 85
|
||||||
CancelAuthorization = 86 # type: Literal[86]
|
CancelAuthorization: Literal[86] = 86
|
||||||
Deprecated_PassphraseStateRequest = 77 # type: Literal[77]
|
Deprecated_PassphraseStateRequest: Literal[77] = 77
|
||||||
Deprecated_PassphraseStateAck = 78 # type: Literal[78]
|
Deprecated_PassphraseStateAck: Literal[78] = 78
|
||||||
FirmwareErase = 6 # type: Literal[6]
|
FirmwareErase: Literal[6] = 6
|
||||||
FirmwareUpload = 7 # type: Literal[7]
|
FirmwareUpload: Literal[7] = 7
|
||||||
FirmwareRequest = 8 # type: Literal[8]
|
FirmwareRequest: Literal[8] = 8
|
||||||
SelfTest = 32 # type: Literal[32]
|
SelfTest: Literal[32] = 32
|
||||||
GetPublicKey = 11 # type: Literal[11]
|
GetPublicKey: Literal[11] = 11
|
||||||
PublicKey = 12 # type: Literal[12]
|
PublicKey: Literal[12] = 12
|
||||||
SignTx = 15 # type: Literal[15]
|
SignTx: Literal[15] = 15
|
||||||
TxRequest = 21 # type: Literal[21]
|
TxRequest: Literal[21] = 21
|
||||||
TxAck = 22 # type: Literal[22]
|
TxAck: Literal[22] = 22
|
||||||
GetAddress = 29 # type: Literal[29]
|
GetAddress: Literal[29] = 29
|
||||||
Address = 30 # type: Literal[30]
|
Address: Literal[30] = 30
|
||||||
SignMessage = 38 # type: Literal[38]
|
SignMessage: Literal[38] = 38
|
||||||
VerifyMessage = 39 # type: Literal[39]
|
VerifyMessage: Literal[39] = 39
|
||||||
MessageSignature = 40 # type: Literal[40]
|
MessageSignature: Literal[40] = 40
|
||||||
GetOwnershipId = 43 # type: Literal[43]
|
GetOwnershipId: Literal[43] = 43
|
||||||
OwnershipId = 44 # type: Literal[44]
|
OwnershipId: Literal[44] = 44
|
||||||
GetOwnershipProof = 49 # type: Literal[49]
|
GetOwnershipProof: Literal[49] = 49
|
||||||
OwnershipProof = 50 # type: Literal[50]
|
OwnershipProof: Literal[50] = 50
|
||||||
AuthorizeCoinJoin = 51 # type: Literal[51]
|
AuthorizeCoinJoin: Literal[51] = 51
|
||||||
CipherKeyValue = 23 # type: Literal[23]
|
CipherKeyValue: Literal[23] = 23
|
||||||
CipheredKeyValue = 48 # type: Literal[48]
|
CipheredKeyValue: Literal[48] = 48
|
||||||
SignIdentity = 53 # type: Literal[53]
|
SignIdentity: Literal[53] = 53
|
||||||
SignedIdentity = 54 # type: Literal[54]
|
SignedIdentity: Literal[54] = 54
|
||||||
GetECDHSessionKey = 61 # type: Literal[61]
|
GetECDHSessionKey: Literal[61] = 61
|
||||||
ECDHSessionKey = 62 # type: Literal[62]
|
ECDHSessionKey: Literal[62] = 62
|
||||||
CosiCommit = 71 # type: Literal[71]
|
CosiCommit: Literal[71] = 71
|
||||||
CosiCommitment = 72 # type: Literal[72]
|
CosiCommitment: Literal[72] = 72
|
||||||
CosiSign = 73 # type: Literal[73]
|
CosiSign: Literal[73] = 73
|
||||||
CosiSignature = 74 # type: Literal[74]
|
CosiSignature: Literal[74] = 74
|
||||||
DebugLinkDecision = 100 # type: Literal[100]
|
DebugLinkDecision: Literal[100] = 100
|
||||||
DebugLinkGetState = 101 # type: Literal[101]
|
DebugLinkGetState: Literal[101] = 101
|
||||||
DebugLinkState = 102 # type: Literal[102]
|
DebugLinkState: Literal[102] = 102
|
||||||
DebugLinkStop = 103 # type: Literal[103]
|
DebugLinkStop: Literal[103] = 103
|
||||||
DebugLinkLog = 104 # type: Literal[104]
|
DebugLinkLog: Literal[104] = 104
|
||||||
DebugLinkMemoryRead = 110 # type: Literal[110]
|
DebugLinkMemoryRead: Literal[110] = 110
|
||||||
DebugLinkMemory = 111 # type: Literal[111]
|
DebugLinkMemory: Literal[111] = 111
|
||||||
DebugLinkMemoryWrite = 112 # type: Literal[112]
|
DebugLinkMemoryWrite: Literal[112] = 112
|
||||||
DebugLinkFlashErase = 113 # type: Literal[113]
|
DebugLinkFlashErase: Literal[113] = 113
|
||||||
DebugLinkLayout = 9001 # type: Literal[9001]
|
DebugLinkLayout: Literal[9001] = 9001
|
||||||
DebugLinkReseedRandom = 9002 # type: Literal[9002]
|
DebugLinkReseedRandom: Literal[9002] = 9002
|
||||||
DebugLinkRecordScreen = 9003 # type: Literal[9003]
|
DebugLinkRecordScreen: Literal[9003] = 9003
|
||||||
DebugLinkShowText = 9004 # type: Literal[9004]
|
DebugLinkShowText: Literal[9004] = 9004
|
||||||
DebugLinkEraseSdCard = 9005 # type: Literal[9005]
|
DebugLinkEraseSdCard: Literal[9005] = 9005
|
||||||
DebugLinkWatchLayout = 9006 # type: Literal[9006]
|
DebugLinkWatchLayout: Literal[9006] = 9006
|
||||||
if not utils.BITCOIN_ONLY:
|
if not utils.BITCOIN_ONLY:
|
||||||
EthereumGetPublicKey = 450 # type: Literal[450]
|
EthereumGetPublicKey: Literal[450] = 450
|
||||||
EthereumPublicKey = 451 # type: Literal[451]
|
EthereumPublicKey: Literal[451] = 451
|
||||||
EthereumGetAddress = 56 # type: Literal[56]
|
EthereumGetAddress: Literal[56] = 56
|
||||||
EthereumAddress = 57 # type: Literal[57]
|
EthereumAddress: Literal[57] = 57
|
||||||
EthereumSignTx = 58 # type: Literal[58]
|
EthereumSignTx: Literal[58] = 58
|
||||||
EthereumTxRequest = 59 # type: Literal[59]
|
EthereumTxRequest: Literal[59] = 59
|
||||||
EthereumTxAck = 60 # type: Literal[60]
|
EthereumTxAck: Literal[60] = 60
|
||||||
EthereumSignMessage = 64 # type: Literal[64]
|
EthereumSignMessage: Literal[64] = 64
|
||||||
EthereumVerifyMessage = 65 # type: Literal[65]
|
EthereumVerifyMessage: Literal[65] = 65
|
||||||
EthereumMessageSignature = 66 # type: Literal[66]
|
EthereumMessageSignature: Literal[66] = 66
|
||||||
NEMGetAddress = 67 # type: Literal[67]
|
NEMGetAddress: Literal[67] = 67
|
||||||
NEMAddress = 68 # type: Literal[68]
|
NEMAddress: Literal[68] = 68
|
||||||
NEMSignTx = 69 # type: Literal[69]
|
NEMSignTx: Literal[69] = 69
|
||||||
NEMSignedTx = 70 # type: Literal[70]
|
NEMSignedTx: Literal[70] = 70
|
||||||
NEMDecryptMessage = 75 # type: Literal[75]
|
NEMDecryptMessage: Literal[75] = 75
|
||||||
NEMDecryptedMessage = 76 # type: Literal[76]
|
NEMDecryptedMessage: Literal[76] = 76
|
||||||
LiskGetAddress = 114 # type: Literal[114]
|
LiskGetAddress: Literal[114] = 114
|
||||||
LiskAddress = 115 # type: Literal[115]
|
LiskAddress: Literal[115] = 115
|
||||||
LiskSignTx = 116 # type: Literal[116]
|
LiskSignTx: Literal[116] = 116
|
||||||
LiskSignedTx = 117 # type: Literal[117]
|
LiskSignedTx: Literal[117] = 117
|
||||||
LiskSignMessage = 118 # type: Literal[118]
|
LiskSignMessage: Literal[118] = 118
|
||||||
LiskMessageSignature = 119 # type: Literal[119]
|
LiskMessageSignature: Literal[119] = 119
|
||||||
LiskVerifyMessage = 120 # type: Literal[120]
|
LiskVerifyMessage: Literal[120] = 120
|
||||||
LiskGetPublicKey = 121 # type: Literal[121]
|
LiskGetPublicKey: Literal[121] = 121
|
||||||
LiskPublicKey = 122 # type: Literal[122]
|
LiskPublicKey: Literal[122] = 122
|
||||||
TezosGetAddress = 150 # type: Literal[150]
|
TezosGetAddress: Literal[150] = 150
|
||||||
TezosAddress = 151 # type: Literal[151]
|
TezosAddress: Literal[151] = 151
|
||||||
TezosSignTx = 152 # type: Literal[152]
|
TezosSignTx: Literal[152] = 152
|
||||||
TezosSignedTx = 153 # type: Literal[153]
|
TezosSignedTx: Literal[153] = 153
|
||||||
TezosGetPublicKey = 154 # type: Literal[154]
|
TezosGetPublicKey: Literal[154] = 154
|
||||||
TezosPublicKey = 155 # type: Literal[155]
|
TezosPublicKey: Literal[155] = 155
|
||||||
StellarSignTx = 202 # type: Literal[202]
|
StellarSignTx: Literal[202] = 202
|
||||||
StellarTxOpRequest = 203 # type: Literal[203]
|
StellarTxOpRequest: Literal[203] = 203
|
||||||
StellarGetAddress = 207 # type: Literal[207]
|
StellarGetAddress: Literal[207] = 207
|
||||||
StellarAddress = 208 # type: Literal[208]
|
StellarAddress: Literal[208] = 208
|
||||||
StellarCreateAccountOp = 210 # type: Literal[210]
|
StellarCreateAccountOp: Literal[210] = 210
|
||||||
StellarPaymentOp = 211 # type: Literal[211]
|
StellarPaymentOp: Literal[211] = 211
|
||||||
StellarPathPaymentOp = 212 # type: Literal[212]
|
StellarPathPaymentOp: Literal[212] = 212
|
||||||
StellarManageOfferOp = 213 # type: Literal[213]
|
StellarManageOfferOp: Literal[213] = 213
|
||||||
StellarCreatePassiveOfferOp = 214 # type: Literal[214]
|
StellarCreatePassiveOfferOp: Literal[214] = 214
|
||||||
StellarSetOptionsOp = 215 # type: Literal[215]
|
StellarSetOptionsOp: Literal[215] = 215
|
||||||
StellarChangeTrustOp = 216 # type: Literal[216]
|
StellarChangeTrustOp: Literal[216] = 216
|
||||||
StellarAllowTrustOp = 217 # type: Literal[217]
|
StellarAllowTrustOp: Literal[217] = 217
|
||||||
StellarAccountMergeOp = 218 # type: Literal[218]
|
StellarAccountMergeOp: Literal[218] = 218
|
||||||
StellarManageDataOp = 220 # type: Literal[220]
|
StellarManageDataOp: Literal[220] = 220
|
||||||
StellarBumpSequenceOp = 221 # type: Literal[221]
|
StellarBumpSequenceOp: Literal[221] = 221
|
||||||
StellarSignedTx = 230 # type: Literal[230]
|
StellarSignedTx: Literal[230] = 230
|
||||||
CardanoSignTx = 303 # type: Literal[303]
|
CardanoSignTx: Literal[303] = 303
|
||||||
CardanoGetPublicKey = 305 # type: Literal[305]
|
CardanoGetPublicKey: Literal[305] = 305
|
||||||
CardanoPublicKey = 306 # type: Literal[306]
|
CardanoPublicKey: Literal[306] = 306
|
||||||
CardanoGetAddress = 307 # type: Literal[307]
|
CardanoGetAddress: Literal[307] = 307
|
||||||
CardanoAddress = 308 # type: Literal[308]
|
CardanoAddress: Literal[308] = 308
|
||||||
CardanoSignedTx = 310 # type: Literal[310]
|
CardanoSignedTx: Literal[310] = 310
|
||||||
RippleGetAddress = 400 # type: Literal[400]
|
RippleGetAddress: Literal[400] = 400
|
||||||
RippleAddress = 401 # type: Literal[401]
|
RippleAddress: Literal[401] = 401
|
||||||
RippleSignTx = 402 # type: Literal[402]
|
RippleSignTx: Literal[402] = 402
|
||||||
RippleSignedTx = 403 # type: Literal[403]
|
RippleSignedTx: Literal[403] = 403
|
||||||
MoneroTransactionInitRequest = 501 # type: Literal[501]
|
MoneroTransactionInitRequest: Literal[501] = 501
|
||||||
MoneroTransactionInitAck = 502 # type: Literal[502]
|
MoneroTransactionInitAck: Literal[502] = 502
|
||||||
MoneroTransactionSetInputRequest = 503 # type: Literal[503]
|
MoneroTransactionSetInputRequest: Literal[503] = 503
|
||||||
MoneroTransactionSetInputAck = 504 # type: Literal[504]
|
MoneroTransactionSetInputAck: Literal[504] = 504
|
||||||
MoneroTransactionInputsPermutationRequest = 505 # type: Literal[505]
|
MoneroTransactionInputsPermutationRequest: Literal[505] = 505
|
||||||
MoneroTransactionInputsPermutationAck = 506 # type: Literal[506]
|
MoneroTransactionInputsPermutationAck: Literal[506] = 506
|
||||||
MoneroTransactionInputViniRequest = 507 # type: Literal[507]
|
MoneroTransactionInputViniRequest: Literal[507] = 507
|
||||||
MoneroTransactionInputViniAck = 508 # type: Literal[508]
|
MoneroTransactionInputViniAck: Literal[508] = 508
|
||||||
MoneroTransactionAllInputsSetRequest = 509 # type: Literal[509]
|
MoneroTransactionAllInputsSetRequest: Literal[509] = 509
|
||||||
MoneroTransactionAllInputsSetAck = 510 # type: Literal[510]
|
MoneroTransactionAllInputsSetAck: Literal[510] = 510
|
||||||
MoneroTransactionSetOutputRequest = 511 # type: Literal[511]
|
MoneroTransactionSetOutputRequest: Literal[511] = 511
|
||||||
MoneroTransactionSetOutputAck = 512 # type: Literal[512]
|
MoneroTransactionSetOutputAck: Literal[512] = 512
|
||||||
MoneroTransactionAllOutSetRequest = 513 # type: Literal[513]
|
MoneroTransactionAllOutSetRequest: Literal[513] = 513
|
||||||
MoneroTransactionAllOutSetAck = 514 # type: Literal[514]
|
MoneroTransactionAllOutSetAck: Literal[514] = 514
|
||||||
MoneroTransactionSignInputRequest = 515 # type: Literal[515]
|
MoneroTransactionSignInputRequest: Literal[515] = 515
|
||||||
MoneroTransactionSignInputAck = 516 # type: Literal[516]
|
MoneroTransactionSignInputAck: Literal[516] = 516
|
||||||
MoneroTransactionFinalRequest = 517 # type: Literal[517]
|
MoneroTransactionFinalRequest: Literal[517] = 517
|
||||||
MoneroTransactionFinalAck = 518 # type: Literal[518]
|
MoneroTransactionFinalAck: Literal[518] = 518
|
||||||
MoneroKeyImageExportInitRequest = 530 # type: Literal[530]
|
MoneroKeyImageExportInitRequest: Literal[530] = 530
|
||||||
MoneroKeyImageExportInitAck = 531 # type: Literal[531]
|
MoneroKeyImageExportInitAck: Literal[531] = 531
|
||||||
MoneroKeyImageSyncStepRequest = 532 # type: Literal[532]
|
MoneroKeyImageSyncStepRequest: Literal[532] = 532
|
||||||
MoneroKeyImageSyncStepAck = 533 # type: Literal[533]
|
MoneroKeyImageSyncStepAck: Literal[533] = 533
|
||||||
MoneroKeyImageSyncFinalRequest = 534 # type: Literal[534]
|
MoneroKeyImageSyncFinalRequest: Literal[534] = 534
|
||||||
MoneroKeyImageSyncFinalAck = 535 # type: Literal[535]
|
MoneroKeyImageSyncFinalAck: Literal[535] = 535
|
||||||
MoneroGetAddress = 540 # type: Literal[540]
|
MoneroGetAddress: Literal[540] = 540
|
||||||
MoneroAddress = 541 # type: Literal[541]
|
MoneroAddress: Literal[541] = 541
|
||||||
MoneroGetWatchKey = 542 # type: Literal[542]
|
MoneroGetWatchKey: Literal[542] = 542
|
||||||
MoneroWatchKey = 543 # type: Literal[543]
|
MoneroWatchKey: Literal[543] = 543
|
||||||
DebugMoneroDiagRequest = 546 # type: Literal[546]
|
DebugMoneroDiagRequest: Literal[546] = 546
|
||||||
DebugMoneroDiagAck = 547 # type: Literal[547]
|
DebugMoneroDiagAck: Literal[547] = 547
|
||||||
MoneroGetTxKeyRequest = 550 # type: Literal[550]
|
MoneroGetTxKeyRequest: Literal[550] = 550
|
||||||
MoneroGetTxKeyAck = 551 # type: Literal[551]
|
MoneroGetTxKeyAck: Literal[551] = 551
|
||||||
MoneroLiveRefreshStartRequest = 552 # type: Literal[552]
|
MoneroLiveRefreshStartRequest: Literal[552] = 552
|
||||||
MoneroLiveRefreshStartAck = 553 # type: Literal[553]
|
MoneroLiveRefreshStartAck: Literal[553] = 553
|
||||||
MoneroLiveRefreshStepRequest = 554 # type: Literal[554]
|
MoneroLiveRefreshStepRequest: Literal[554] = 554
|
||||||
MoneroLiveRefreshStepAck = 555 # type: Literal[555]
|
MoneroLiveRefreshStepAck: Literal[555] = 555
|
||||||
MoneroLiveRefreshFinalRequest = 556 # type: Literal[556]
|
MoneroLiveRefreshFinalRequest: Literal[556] = 556
|
||||||
MoneroLiveRefreshFinalAck = 557 # type: Literal[557]
|
MoneroLiveRefreshFinalAck: Literal[557] = 557
|
||||||
EosGetPublicKey = 600 # type: Literal[600]
|
EosGetPublicKey: Literal[600] = 600
|
||||||
EosPublicKey = 601 # type: Literal[601]
|
EosPublicKey: Literal[601] = 601
|
||||||
EosSignTx = 602 # type: Literal[602]
|
EosSignTx: Literal[602] = 602
|
||||||
EosTxActionRequest = 603 # type: Literal[603]
|
EosTxActionRequest: Literal[603] = 603
|
||||||
EosTxActionAck = 604 # type: Literal[604]
|
EosTxActionAck: Literal[604] = 604
|
||||||
EosSignedTx = 605 # type: Literal[605]
|
EosSignedTx: Literal[605] = 605
|
||||||
BinanceGetAddress = 700 # type: Literal[700]
|
BinanceGetAddress: Literal[700] = 700
|
||||||
BinanceAddress = 701 # type: Literal[701]
|
BinanceAddress: Literal[701] = 701
|
||||||
BinanceGetPublicKey = 702 # type: Literal[702]
|
BinanceGetPublicKey: Literal[702] = 702
|
||||||
BinancePublicKey = 703 # type: Literal[703]
|
BinancePublicKey: Literal[703] = 703
|
||||||
BinanceSignTx = 704 # type: Literal[704]
|
BinanceSignTx: Literal[704] = 704
|
||||||
BinanceTxRequest = 705 # type: Literal[705]
|
BinanceTxRequest: Literal[705] = 705
|
||||||
BinanceTransferMsg = 706 # type: Literal[706]
|
BinanceTransferMsg: Literal[706] = 706
|
||||||
BinanceOrderMsg = 707 # type: Literal[707]
|
BinanceOrderMsg: Literal[707] = 707
|
||||||
BinanceCancelMsg = 708 # type: Literal[708]
|
BinanceCancelMsg: Literal[708] = 708
|
||||||
BinanceSignedTx = 709 # type: Literal[709]
|
BinanceSignedTx: Literal[709] = 709
|
||||||
WebAuthnListResidentCredentials = 800 # type: Literal[800]
|
WebAuthnListResidentCredentials: Literal[800] = 800
|
||||||
WebAuthnCredentials = 801 # type: Literal[801]
|
WebAuthnCredentials: Literal[801] = 801
|
||||||
WebAuthnAddResidentCredential = 802 # type: Literal[802]
|
WebAuthnAddResidentCredential: Literal[802] = 802
|
||||||
WebAuthnRemoveResidentCredential = 803 # type: Literal[803]
|
WebAuthnRemoveResidentCredential: Literal[803] = 803
|
||||||
|
@ -1,7 +1,10 @@
|
|||||||
# Automatically generated by pb2py
|
# Automatically generated by pb2py
|
||||||
# fmt: off
|
# fmt: off
|
||||||
if False:
|
if __debug__:
|
||||||
from typing_extensions import Literal
|
try:
|
||||||
|
from typing_extensions import Literal # noqa: F401
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
ImportanceTransfer_Activate = 1 # type: Literal[1]
|
ImportanceTransfer_Activate: Literal[1] = 1
|
||||||
ImportanceTransfer_Deactivate = 2 # type: Literal[2]
|
ImportanceTransfer_Deactivate: Literal[2] = 2
|
||||||
|
@ -1,7 +1,10 @@
|
|||||||
# Automatically generated by pb2py
|
# Automatically generated by pb2py
|
||||||
# fmt: off
|
# fmt: off
|
||||||
if False:
|
if __debug__:
|
||||||
from typing_extensions import Literal
|
try:
|
||||||
|
from typing_extensions import Literal # noqa: F401
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
CosignatoryModification_Add = 1 # type: Literal[1]
|
CosignatoryModification_Add: Literal[1] = 1
|
||||||
CosignatoryModification_Delete = 2 # type: Literal[2]
|
CosignatoryModification_Delete: Literal[2] = 2
|
||||||
|
@ -1,7 +1,10 @@
|
|||||||
# Automatically generated by pb2py
|
# Automatically generated by pb2py
|
||||||
# fmt: off
|
# fmt: off
|
||||||
if False:
|
if __debug__:
|
||||||
from typing_extensions import Literal
|
try:
|
||||||
|
from typing_extensions import Literal # noqa: F401
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
MosaicLevy_Absolute = 1 # type: Literal[1]
|
MosaicLevy_Absolute: Literal[1] = 1
|
||||||
MosaicLevy_Percentile = 2 # type: Literal[2]
|
MosaicLevy_Percentile: Literal[2] = 2
|
||||||
|
@ -1,7 +1,10 @@
|
|||||||
# Automatically generated by pb2py
|
# Automatically generated by pb2py
|
||||||
# fmt: off
|
# fmt: off
|
||||||
if False:
|
if __debug__:
|
||||||
from typing_extensions import Literal
|
try:
|
||||||
|
from typing_extensions import Literal # noqa: F401
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
SupplyChange_Increase = 1 # type: Literal[1]
|
SupplyChange_Increase: Literal[1] = 1
|
||||||
SupplyChange_Decrease = 2 # type: Literal[2]
|
SupplyChange_Decrease: Literal[2] = 2
|
||||||
|
@ -1,11 +1,14 @@
|
|||||||
# Automatically generated by pb2py
|
# Automatically generated by pb2py
|
||||||
# fmt: off
|
# fmt: off
|
||||||
if False:
|
if __debug__:
|
||||||
from typing_extensions import Literal
|
try:
|
||||||
|
from typing_extensions import Literal # noqa: F401
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
PAYTOADDRESS = 0 # type: Literal[0]
|
PAYTOADDRESS: Literal[0] = 0
|
||||||
PAYTOSCRIPTHASH = 1 # type: Literal[1]
|
PAYTOSCRIPTHASH: Literal[1] = 1
|
||||||
PAYTOMULTISIG = 2 # type: Literal[2]
|
PAYTOMULTISIG: Literal[2] = 2
|
||||||
PAYTOOPRETURN = 3 # type: Literal[3]
|
PAYTOOPRETURN: Literal[3] = 3
|
||||||
PAYTOWITNESS = 4 # type: Literal[4]
|
PAYTOWITNESS: Literal[4] = 4
|
||||||
PAYTOP2SHWITNESS = 5 # type: Literal[5]
|
PAYTOP2SHWITNESS: Literal[5] = 5
|
||||||
|
@ -1,7 +1,10 @@
|
|||||||
# Automatically generated by pb2py
|
# Automatically generated by pb2py
|
||||||
# fmt: off
|
# fmt: off
|
||||||
if False:
|
if __debug__:
|
||||||
from typing_extensions import Literal
|
try:
|
||||||
|
from typing_extensions import Literal # noqa: F401
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
ScrambledWords = 0 # type: Literal[0]
|
ScrambledWords: Literal[0] = 0
|
||||||
Matrix = 1 # type: Literal[1]
|
Matrix: Literal[1] = 1
|
||||||
|
@ -1,12 +1,15 @@
|
|||||||
# Automatically generated by pb2py
|
# Automatically generated by pb2py
|
||||||
# fmt: off
|
# fmt: off
|
||||||
if False:
|
if __debug__:
|
||||||
from typing_extensions import Literal
|
try:
|
||||||
|
from typing_extensions import Literal # noqa: F401
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
TXINPUT = 0 # type: Literal[0]
|
TXINPUT: Literal[0] = 0
|
||||||
TXOUTPUT = 1 # type: Literal[1]
|
TXOUTPUT: Literal[1] = 1
|
||||||
TXMETA = 2 # type: Literal[2]
|
TXMETA: Literal[2] = 2
|
||||||
TXFINISHED = 3 # type: Literal[3]
|
TXFINISHED: Literal[3] = 3
|
||||||
TXEXTRADATA = 4 # type: Literal[4]
|
TXEXTRADATA: Literal[4] = 4
|
||||||
TXORIGINPUT = 5 # type: Literal[5]
|
TXORIGINPUT: Literal[5] = 5
|
||||||
TXORIGOUTPUT = 6 # type: Literal[6]
|
TXORIGOUTPUT: Literal[6] = 6
|
||||||
|
@ -1,8 +1,11 @@
|
|||||||
# Automatically generated by pb2py
|
# Automatically generated by pb2py
|
||||||
# fmt: off
|
# fmt: off
|
||||||
if False:
|
if __debug__:
|
||||||
from typing_extensions import Literal
|
try:
|
||||||
|
from typing_extensions import Literal # noqa: F401
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
Strict = 0 # type: Literal[0]
|
Strict: Literal[0] = 0
|
||||||
PromptAlways = 1 # type: Literal[1]
|
PromptAlways: Literal[1] = 1
|
||||||
PromptTemporarily = 2 # type: Literal[2]
|
PromptTemporarily: Literal[2] = 2
|
||||||
|
@ -1,8 +1,11 @@
|
|||||||
# Automatically generated by pb2py
|
# Automatically generated by pb2py
|
||||||
# fmt: off
|
# fmt: off
|
||||||
if False:
|
if __debug__:
|
||||||
from typing_extensions import Literal
|
try:
|
||||||
|
from typing_extensions import Literal # noqa: F401
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
DISABLE = 0 # type: Literal[0]
|
DISABLE: Literal[0] = 0
|
||||||
ENABLE = 1 # type: Literal[1]
|
ENABLE: Literal[1] = 1
|
||||||
REFRESH = 2 # type: Literal[2]
|
REFRESH: Literal[2] = 2
|
||||||
|
@ -1,8 +1,11 @@
|
|||||||
# Automatically generated by pb2py
|
# Automatically generated by pb2py
|
||||||
# fmt: off
|
# fmt: off
|
||||||
if False:
|
if __debug__:
|
||||||
from typing_extensions import Literal
|
try:
|
||||||
|
from typing_extensions import Literal # noqa: F401
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
Yay = 0 # type: Literal[0]
|
Yay: Literal[0] = 0
|
||||||
Nay = 1 # type: Literal[1]
|
Nay: Literal[1] = 1
|
||||||
Pass = 2 # type: Literal[2]
|
Pass: Literal[2] = 2
|
||||||
|
@ -1,7 +1,10 @@
|
|||||||
# Automatically generated by pb2py
|
# Automatically generated by pb2py
|
||||||
# fmt: off
|
# fmt: off
|
||||||
if False:
|
if __debug__:
|
||||||
from typing_extensions import Literal
|
try:
|
||||||
|
from typing_extensions import Literal # noqa: F401
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
Implicit = 0 # type: Literal[0]
|
Implicit: Literal[0] = 0
|
||||||
Originated = 1 # type: Literal[1]
|
Originated: Literal[1] = 1
|
||||||
|
@ -28,6 +28,10 @@ def build_map():
|
|||||||
if msg_name.startswith("__"):
|
if msg_name.startswith("__"):
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
if msg_name == "Literal":
|
||||||
|
# TODO: remove this when we have a good implementation of enums
|
||||||
|
continue
|
||||||
|
|
||||||
try:
|
try:
|
||||||
msg_class = getattr(messages, msg_name)
|
msg_class = getattr(messages, msg_name)
|
||||||
except AttributeError:
|
except AttributeError:
|
||||||
|
@ -1,8 +1,11 @@
|
|||||||
# Automatically generated by pb2py
|
# Automatically generated by pb2py
|
||||||
# fmt: off
|
# fmt: off
|
||||||
if False:
|
if __debug__:
|
||||||
from typing_extensions import Literal
|
try:
|
||||||
|
from typing_extensions import Literal # noqa: F401
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
Bip39 = 0 # type: Literal[0]
|
Bip39: Literal[0] = 0
|
||||||
Slip39_Basic = 1 # type: Literal[1]
|
Slip39_Basic: Literal[1] = 1
|
||||||
Slip39_Advanced = 2 # type: Literal[2]
|
Slip39_Advanced: Literal[2] = 2
|
||||||
|
@ -1,8 +1,11 @@
|
|||||||
# Automatically generated by pb2py
|
# Automatically generated by pb2py
|
||||||
# fmt: off
|
# fmt: off
|
||||||
if False:
|
if __debug__:
|
||||||
from typing_extensions import Literal
|
try:
|
||||||
|
from typing_extensions import Literal # noqa: F401
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
SIDE_UNKNOWN = 0 # type: Literal[0]
|
SIDE_UNKNOWN: Literal[0] = 0
|
||||||
BUY = 1 # type: Literal[1]
|
BUY: Literal[1] = 1
|
||||||
SELL = 2 # type: Literal[2]
|
SELL: Literal[2] = 2
|
||||||
|
@ -1,9 +1,12 @@
|
|||||||
# Automatically generated by pb2py
|
# Automatically generated by pb2py
|
||||||
# fmt: off
|
# fmt: off
|
||||||
if False:
|
if __debug__:
|
||||||
from typing_extensions import Literal
|
try:
|
||||||
|
from typing_extensions import Literal # noqa: F401
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
OT_UNKNOWN = 0 # type: Literal[0]
|
OT_UNKNOWN: Literal[0] = 0
|
||||||
MARKET = 1 # type: Literal[1]
|
MARKET: Literal[1] = 1
|
||||||
LIMIT = 2 # type: Literal[2]
|
LIMIT: Literal[2] = 2
|
||||||
OT_RESERVED = 3 # type: Literal[3]
|
OT_RESERVED: Literal[3] = 3
|
||||||
|
@ -1,9 +1,12 @@
|
|||||||
# Automatically generated by pb2py
|
# Automatically generated by pb2py
|
||||||
# fmt: off
|
# fmt: off
|
||||||
if False:
|
if __debug__:
|
||||||
from typing_extensions import Literal
|
try:
|
||||||
|
from typing_extensions import Literal # noqa: F401
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
TIF_UNKNOWN = 0 # type: Literal[0]
|
TIF_UNKNOWN: Literal[0] = 0
|
||||||
GTE = 1 # type: Literal[1]
|
GTE: Literal[1] = 1
|
||||||
TIF_RESERVED = 2 # type: Literal[2]
|
TIF_RESERVED: Literal[2] = 2
|
||||||
IOC = 3 # type: Literal[3]
|
IOC: Literal[3] = 3
|
||||||
|
@ -1,25 +1,28 @@
|
|||||||
# Automatically generated by pb2py
|
# Automatically generated by pb2py
|
||||||
# fmt: off
|
# fmt: off
|
||||||
if False:
|
if __debug__:
|
||||||
from typing_extensions import Literal
|
try:
|
||||||
|
from typing_extensions import Literal # noqa: F401
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
Other = 1 # type: Literal[1]
|
Other: Literal[1] = 1
|
||||||
FeeOverThreshold = 2 # type: Literal[2]
|
FeeOverThreshold: Literal[2] = 2
|
||||||
ConfirmOutput = 3 # type: Literal[3]
|
ConfirmOutput: Literal[3] = 3
|
||||||
ResetDevice = 4 # type: Literal[4]
|
ResetDevice: Literal[4] = 4
|
||||||
ConfirmWord = 5 # type: Literal[5]
|
ConfirmWord: Literal[5] = 5
|
||||||
WipeDevice = 6 # type: Literal[6]
|
WipeDevice: Literal[6] = 6
|
||||||
ProtectCall = 7 # type: Literal[7]
|
ProtectCall: Literal[7] = 7
|
||||||
SignTx = 8 # type: Literal[8]
|
SignTx: Literal[8] = 8
|
||||||
FirmwareCheck = 9 # type: Literal[9]
|
FirmwareCheck: Literal[9] = 9
|
||||||
Address = 10 # type: Literal[10]
|
Address: Literal[10] = 10
|
||||||
PublicKey = 11 # type: Literal[11]
|
PublicKey: Literal[11] = 11
|
||||||
MnemonicWordCount = 12 # type: Literal[12]
|
MnemonicWordCount: Literal[12] = 12
|
||||||
MnemonicInput = 13 # type: Literal[13]
|
MnemonicInput: Literal[13] = 13
|
||||||
_Deprecated_ButtonRequest_PassphraseType = 14 # type: Literal[14]
|
_Deprecated_ButtonRequest_PassphraseType: Literal[14] = 14
|
||||||
UnknownDerivationPath = 15 # type: Literal[15]
|
UnknownDerivationPath: Literal[15] = 15
|
||||||
RecoveryHomepage = 16 # type: Literal[16]
|
RecoveryHomepage: Literal[16] = 16
|
||||||
Success = 17 # type: Literal[17]
|
Success: Literal[17] = 17
|
||||||
Warning = 18 # type: Literal[18]
|
Warning: Literal[18] = 18
|
||||||
PassphraseEntry = 19 # type: Literal[19]
|
PassphraseEntry: Literal[19] = 19
|
||||||
PinEntry = 20 # type: Literal[20]
|
PinEntry: Literal[20] = 20
|
||||||
|
@ -1,22 +1,25 @@
|
|||||||
# Automatically generated by pb2py
|
# Automatically generated by pb2py
|
||||||
# fmt: off
|
# fmt: off
|
||||||
if False:
|
if __debug__:
|
||||||
from typing_extensions import Literal
|
try:
|
||||||
|
from typing_extensions import Literal # noqa: F401
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
Bitcoin = 1 # type: Literal[1]
|
Bitcoin: Literal[1] = 1
|
||||||
Bitcoin_like = 2 # type: Literal[2]
|
Bitcoin_like: Literal[2] = 2
|
||||||
Binance = 3 # type: Literal[3]
|
Binance: Literal[3] = 3
|
||||||
Cardano = 4 # type: Literal[4]
|
Cardano: Literal[4] = 4
|
||||||
Crypto = 5 # type: Literal[5]
|
Crypto: Literal[5] = 5
|
||||||
EOS = 6 # type: Literal[6]
|
EOS: Literal[6] = 6
|
||||||
Ethereum = 7 # type: Literal[7]
|
Ethereum: Literal[7] = 7
|
||||||
Lisk = 8 # type: Literal[8]
|
Lisk: Literal[8] = 8
|
||||||
Monero = 9 # type: Literal[9]
|
Monero: Literal[9] = 9
|
||||||
NEM = 10 # type: Literal[10]
|
NEM: Literal[10] = 10
|
||||||
Ripple = 11 # type: Literal[11]
|
Ripple: Literal[11] = 11
|
||||||
Stellar = 12 # type: Literal[12]
|
Stellar: Literal[12] = 12
|
||||||
Tezos = 13 # type: Literal[13]
|
Tezos: Literal[13] = 13
|
||||||
U2F = 14 # type: Literal[14]
|
U2F: Literal[14] = 14
|
||||||
Shamir = 15 # type: Literal[15]
|
Shamir: Literal[15] = 15
|
||||||
ShamirGroups = 16 # type: Literal[16]
|
ShamirGroups: Literal[16] = 16
|
||||||
PassphraseEntry = 17 # type: Literal[17]
|
PassphraseEntry: Literal[17] = 17
|
||||||
|
@ -1,16 +1,19 @@
|
|||||||
# Automatically generated by pb2py
|
# Automatically generated by pb2py
|
||||||
# fmt: off
|
# fmt: off
|
||||||
if False:
|
if __debug__:
|
||||||
from typing_extensions import Literal
|
try:
|
||||||
|
from typing_extensions import Literal # noqa: F401
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
BASE = 0 # type: Literal[0]
|
BASE: Literal[0] = 0
|
||||||
BASE_SCRIPT_KEY = 1 # type: Literal[1]
|
BASE_SCRIPT_KEY: Literal[1] = 1
|
||||||
BASE_KEY_SCRIPT = 2 # type: Literal[2]
|
BASE_KEY_SCRIPT: Literal[2] = 2
|
||||||
BASE_SCRIPT_SCRIPT = 3 # type: Literal[3]
|
BASE_SCRIPT_SCRIPT: Literal[3] = 3
|
||||||
POINTER = 4 # type: Literal[4]
|
POINTER: Literal[4] = 4
|
||||||
POINTER_SCRIPT = 5 # type: Literal[5]
|
POINTER_SCRIPT: Literal[5] = 5
|
||||||
ENTERPRISE = 6 # type: Literal[6]
|
ENTERPRISE: Literal[6] = 6
|
||||||
ENTERPRISE_SCRIPT = 7 # type: Literal[7]
|
ENTERPRISE_SCRIPT: Literal[7] = 7
|
||||||
BYRON = 8 # type: Literal[8]
|
BYRON: Literal[8] = 8
|
||||||
REWARD = 14 # type: Literal[14]
|
REWARD: Literal[14] = 14
|
||||||
REWARD_SCRIPT = 15 # type: Literal[15]
|
REWARD_SCRIPT: Literal[15] = 15
|
||||||
|
@ -1,9 +1,12 @@
|
|||||||
# Automatically generated by pb2py
|
# Automatically generated by pb2py
|
||||||
# fmt: off
|
# fmt: off
|
||||||
if False:
|
if __debug__:
|
||||||
from typing_extensions import Literal
|
try:
|
||||||
|
from typing_extensions import Literal # noqa: F401
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
STAKE_REGISTRATION = 0 # type: Literal[0]
|
STAKE_REGISTRATION: Literal[0] = 0
|
||||||
STAKE_DEREGISTRATION = 1 # type: Literal[1]
|
STAKE_DEREGISTRATION: Literal[1] = 1
|
||||||
STAKE_DELEGATION = 2 # type: Literal[2]
|
STAKE_DELEGATION: Literal[2] = 2
|
||||||
STAKE_POOL_REGISTRATION = 3 # type: Literal[3]
|
STAKE_POOL_REGISTRATION: Literal[3] = 3
|
||||||
|
@ -1,8 +1,11 @@
|
|||||||
# Automatically generated by pb2py
|
# Automatically generated by pb2py
|
||||||
# fmt: off
|
# fmt: off
|
||||||
if False:
|
if __debug__:
|
||||||
from typing_extensions import Literal
|
try:
|
||||||
|
from typing_extensions import Literal # noqa: F401
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
SINGLE_HOST_IP = 0 # type: Literal[0]
|
SINGLE_HOST_IP: Literal[0] = 0
|
||||||
SINGLE_HOST_NAME = 1 # type: Literal[1]
|
SINGLE_HOST_NAME: Literal[1] = 1
|
||||||
MULTIPLE_HOST_NAME = 2 # type: Literal[2]
|
MULTIPLE_HOST_NAME: Literal[2] = 2
|
||||||
|
@ -1,11 +1,14 @@
|
|||||||
# Automatically generated by pb2py
|
# Automatically generated by pb2py
|
||||||
# fmt: off
|
# fmt: off
|
||||||
if False:
|
if __debug__:
|
||||||
from typing_extensions import Literal
|
try:
|
||||||
|
from typing_extensions import Literal # noqa: F401
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
NORMAL = 0 # type: Literal[0]
|
NORMAL: Literal[0] = 0
|
||||||
BOLD = 1 # type: Literal[1]
|
BOLD: Literal[1] = 1
|
||||||
MONO = 2 # type: Literal[2]
|
MONO: Literal[2] = 2
|
||||||
BR = 4 # type: Literal[4]
|
BR: Literal[4] = 4
|
||||||
BR_HALF = 5 # type: Literal[5]
|
BR_HALF: Literal[5] = 5
|
||||||
SET_COLOR = 6 # type: Literal[6]
|
SET_COLOR: Literal[6] = 6
|
||||||
|
@ -1,9 +1,12 @@
|
|||||||
# Automatically generated by pb2py
|
# Automatically generated by pb2py
|
||||||
# fmt: off
|
# fmt: off
|
||||||
if False:
|
if __debug__:
|
||||||
from typing_extensions import Literal
|
try:
|
||||||
|
from typing_extensions import Literal # noqa: F401
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
UP = 0 # type: Literal[0]
|
UP: Literal[0] = 0
|
||||||
DOWN = 1 # type: Literal[1]
|
DOWN: Literal[1] = 1
|
||||||
LEFT = 2 # type: Literal[2]
|
LEFT: Literal[2] = 2
|
||||||
RIGHT = 3 # type: Literal[3]
|
RIGHT: Literal[3] = 3
|
||||||
|
@ -1,20 +1,23 @@
|
|||||||
# Automatically generated by pb2py
|
# Automatically generated by pb2py
|
||||||
# fmt: off
|
# fmt: off
|
||||||
if False:
|
if __debug__:
|
||||||
from typing_extensions import Literal
|
try:
|
||||||
|
from typing_extensions import Literal # noqa: F401
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
UnexpectedMessage = 1 # type: Literal[1]
|
UnexpectedMessage: Literal[1] = 1
|
||||||
ButtonExpected = 2 # type: Literal[2]
|
ButtonExpected: Literal[2] = 2
|
||||||
DataError = 3 # type: Literal[3]
|
DataError: Literal[3] = 3
|
||||||
ActionCancelled = 4 # type: Literal[4]
|
ActionCancelled: Literal[4] = 4
|
||||||
PinExpected = 5 # type: Literal[5]
|
PinExpected: Literal[5] = 5
|
||||||
PinCancelled = 6 # type: Literal[6]
|
PinCancelled: Literal[6] = 6
|
||||||
PinInvalid = 7 # type: Literal[7]
|
PinInvalid: Literal[7] = 7
|
||||||
InvalidSignature = 8 # type: Literal[8]
|
InvalidSignature: Literal[8] = 8
|
||||||
ProcessError = 9 # type: Literal[9]
|
ProcessError: Literal[9] = 9
|
||||||
NotEnoughFunds = 10 # type: Literal[10]
|
NotEnoughFunds: Literal[10] = 10
|
||||||
NotInitialized = 11 # type: Literal[11]
|
NotInitialized: Literal[11] = 11
|
||||||
PinMismatch = 12 # type: Literal[12]
|
PinMismatch: Literal[12] = 12
|
||||||
WipeCodeMismatch = 13 # type: Literal[13]
|
WipeCodeMismatch: Literal[13] = 13
|
||||||
InvalidSession = 14 # type: Literal[14]
|
InvalidSession: Literal[14] = 14
|
||||||
FirmwareError = 99 # type: Literal[99]
|
FirmwareError: Literal[99] = 99
|
||||||
|
@ -1,10 +1,13 @@
|
|||||||
# Automatically generated by pb2py
|
# Automatically generated by pb2py
|
||||||
# fmt: off
|
# fmt: off
|
||||||
if False:
|
if __debug__:
|
||||||
from typing_extensions import Literal
|
try:
|
||||||
|
from typing_extensions import Literal # noqa: F401
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
SPENDADDRESS = 0 # type: Literal[0]
|
SPENDADDRESS: Literal[0] = 0
|
||||||
SPENDMULTISIG = 1 # type: Literal[1]
|
SPENDMULTISIG: Literal[1] = 1
|
||||||
EXTERNAL = 2 # type: Literal[2]
|
EXTERNAL: Literal[2] = 2
|
||||||
SPENDWITNESS = 3 # type: Literal[3]
|
SPENDWITNESS: Literal[3] = 3
|
||||||
SPENDP2SHWITNESS = 4 # type: Literal[4]
|
SPENDP2SHWITNESS: Literal[4] = 4
|
||||||
|
@ -1,13 +1,16 @@
|
|||||||
# Automatically generated by pb2py
|
# Automatically generated by pb2py
|
||||||
# fmt: off
|
# fmt: off
|
||||||
if False:
|
if __debug__:
|
||||||
from typing_extensions import Literal
|
try:
|
||||||
|
from typing_extensions import Literal # noqa: F401
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
Transfer = 0 # type: Literal[0]
|
Transfer: Literal[0] = 0
|
||||||
RegisterSecondPassphrase = 1 # type: Literal[1]
|
RegisterSecondPassphrase: Literal[1] = 1
|
||||||
RegisterDelegate = 2 # type: Literal[2]
|
RegisterDelegate: Literal[2] = 2
|
||||||
CastVotes = 3 # type: Literal[3]
|
CastVotes: Literal[3] = 3
|
||||||
RegisterMultisignatureAccount = 4 # type: Literal[4]
|
RegisterMultisignatureAccount: Literal[4] = 4
|
||||||
CreateDapp = 5 # type: Literal[5]
|
CreateDapp: Literal[5] = 5
|
||||||
TransferIntoDapp = 6 # type: Literal[6]
|
TransferIntoDapp: Literal[6] = 6
|
||||||
TransferOutOfDapp = 7 # type: Literal[7]
|
TransferOutOfDapp: Literal[7] = 7
|
||||||
|
@ -1,203 +1,206 @@
|
|||||||
# Automatically generated by pb2py
|
# Automatically generated by pb2py
|
||||||
# fmt: off
|
# fmt: off
|
||||||
if False:
|
if __debug__:
|
||||||
from typing_extensions import Literal
|
try:
|
||||||
|
from typing_extensions import Literal # noqa: F401
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
Initialize = 0 # type: Literal[0]
|
Initialize: Literal[0] = 0
|
||||||
Ping = 1 # type: Literal[1]
|
Ping: Literal[1] = 1
|
||||||
Success = 2 # type: Literal[2]
|
Success: Literal[2] = 2
|
||||||
Failure = 3 # type: Literal[3]
|
Failure: Literal[3] = 3
|
||||||
ChangePin = 4 # type: Literal[4]
|
ChangePin: Literal[4] = 4
|
||||||
WipeDevice = 5 # type: Literal[5]
|
WipeDevice: Literal[5] = 5
|
||||||
GetEntropy = 9 # type: Literal[9]
|
GetEntropy: Literal[9] = 9
|
||||||
Entropy = 10 # type: Literal[10]
|
Entropy: Literal[10] = 10
|
||||||
LoadDevice = 13 # type: Literal[13]
|
LoadDevice: Literal[13] = 13
|
||||||
ResetDevice = 14 # type: Literal[14]
|
ResetDevice: Literal[14] = 14
|
||||||
Features = 17 # type: Literal[17]
|
Features: Literal[17] = 17
|
||||||
PinMatrixRequest = 18 # type: Literal[18]
|
PinMatrixRequest: Literal[18] = 18
|
||||||
PinMatrixAck = 19 # type: Literal[19]
|
PinMatrixAck: Literal[19] = 19
|
||||||
Cancel = 20 # type: Literal[20]
|
Cancel: Literal[20] = 20
|
||||||
LockDevice = 24 # type: Literal[24]
|
LockDevice: Literal[24] = 24
|
||||||
ApplySettings = 25 # type: Literal[25]
|
ApplySettings: Literal[25] = 25
|
||||||
ButtonRequest = 26 # type: Literal[26]
|
ButtonRequest: Literal[26] = 26
|
||||||
ButtonAck = 27 # type: Literal[27]
|
ButtonAck: Literal[27] = 27
|
||||||
ApplyFlags = 28 # type: Literal[28]
|
ApplyFlags: Literal[28] = 28
|
||||||
BackupDevice = 34 # type: Literal[34]
|
BackupDevice: Literal[34] = 34
|
||||||
EntropyRequest = 35 # type: Literal[35]
|
EntropyRequest: Literal[35] = 35
|
||||||
EntropyAck = 36 # type: Literal[36]
|
EntropyAck: Literal[36] = 36
|
||||||
PassphraseRequest = 41 # type: Literal[41]
|
PassphraseRequest: Literal[41] = 41
|
||||||
PassphraseAck = 42 # type: Literal[42]
|
PassphraseAck: Literal[42] = 42
|
||||||
RecoveryDevice = 45 # type: Literal[45]
|
RecoveryDevice: Literal[45] = 45
|
||||||
WordRequest = 46 # type: Literal[46]
|
WordRequest: Literal[46] = 46
|
||||||
WordAck = 47 # type: Literal[47]
|
WordAck: Literal[47] = 47
|
||||||
GetFeatures = 55 # type: Literal[55]
|
GetFeatures: Literal[55] = 55
|
||||||
SetU2FCounter = 63 # type: Literal[63]
|
SetU2FCounter: Literal[63] = 63
|
||||||
SdProtect = 79 # type: Literal[79]
|
SdProtect: Literal[79] = 79
|
||||||
GetNextU2FCounter = 80 # type: Literal[80]
|
GetNextU2FCounter: Literal[80] = 80
|
||||||
NextU2FCounter = 81 # type: Literal[81]
|
NextU2FCounter: Literal[81] = 81
|
||||||
ChangeWipeCode = 82 # type: Literal[82]
|
ChangeWipeCode: Literal[82] = 82
|
||||||
EndSession = 83 # type: Literal[83]
|
EndSession: Literal[83] = 83
|
||||||
DoPreauthorized = 84 # type: Literal[84]
|
DoPreauthorized: Literal[84] = 84
|
||||||
PreauthorizedRequest = 85 # type: Literal[85]
|
PreauthorizedRequest: Literal[85] = 85
|
||||||
CancelAuthorization = 86 # type: Literal[86]
|
CancelAuthorization: Literal[86] = 86
|
||||||
Deprecated_PassphraseStateRequest = 77 # type: Literal[77]
|
Deprecated_PassphraseStateRequest: Literal[77] = 77
|
||||||
Deprecated_PassphraseStateAck = 78 # type: Literal[78]
|
Deprecated_PassphraseStateAck: Literal[78] = 78
|
||||||
FirmwareErase = 6 # type: Literal[6]
|
FirmwareErase: Literal[6] = 6
|
||||||
FirmwareUpload = 7 # type: Literal[7]
|
FirmwareUpload: Literal[7] = 7
|
||||||
FirmwareRequest = 8 # type: Literal[8]
|
FirmwareRequest: Literal[8] = 8
|
||||||
SelfTest = 32 # type: Literal[32]
|
SelfTest: Literal[32] = 32
|
||||||
GetPublicKey = 11 # type: Literal[11]
|
GetPublicKey: Literal[11] = 11
|
||||||
PublicKey = 12 # type: Literal[12]
|
PublicKey: Literal[12] = 12
|
||||||
SignTx = 15 # type: Literal[15]
|
SignTx: Literal[15] = 15
|
||||||
TxRequest = 21 # type: Literal[21]
|
TxRequest: Literal[21] = 21
|
||||||
TxAck = 22 # type: Literal[22]
|
TxAck: Literal[22] = 22
|
||||||
GetAddress = 29 # type: Literal[29]
|
GetAddress: Literal[29] = 29
|
||||||
Address = 30 # type: Literal[30]
|
Address: Literal[30] = 30
|
||||||
SignMessage = 38 # type: Literal[38]
|
SignMessage: Literal[38] = 38
|
||||||
VerifyMessage = 39 # type: Literal[39]
|
VerifyMessage: Literal[39] = 39
|
||||||
MessageSignature = 40 # type: Literal[40]
|
MessageSignature: Literal[40] = 40
|
||||||
GetOwnershipId = 43 # type: Literal[43]
|
GetOwnershipId: Literal[43] = 43
|
||||||
OwnershipId = 44 # type: Literal[44]
|
OwnershipId: Literal[44] = 44
|
||||||
GetOwnershipProof = 49 # type: Literal[49]
|
GetOwnershipProof: Literal[49] = 49
|
||||||
OwnershipProof = 50 # type: Literal[50]
|
OwnershipProof: Literal[50] = 50
|
||||||
AuthorizeCoinJoin = 51 # type: Literal[51]
|
AuthorizeCoinJoin: Literal[51] = 51
|
||||||
CipherKeyValue = 23 # type: Literal[23]
|
CipherKeyValue: Literal[23] = 23
|
||||||
CipheredKeyValue = 48 # type: Literal[48]
|
CipheredKeyValue: Literal[48] = 48
|
||||||
SignIdentity = 53 # type: Literal[53]
|
SignIdentity: Literal[53] = 53
|
||||||
SignedIdentity = 54 # type: Literal[54]
|
SignedIdentity: Literal[54] = 54
|
||||||
GetECDHSessionKey = 61 # type: Literal[61]
|
GetECDHSessionKey: Literal[61] = 61
|
||||||
ECDHSessionKey = 62 # type: Literal[62]
|
ECDHSessionKey: Literal[62] = 62
|
||||||
CosiCommit = 71 # type: Literal[71]
|
CosiCommit: Literal[71] = 71
|
||||||
CosiCommitment = 72 # type: Literal[72]
|
CosiCommitment: Literal[72] = 72
|
||||||
CosiSign = 73 # type: Literal[73]
|
CosiSign: Literal[73] = 73
|
||||||
CosiSignature = 74 # type: Literal[74]
|
CosiSignature: Literal[74] = 74
|
||||||
DebugLinkDecision = 100 # type: Literal[100]
|
DebugLinkDecision: Literal[100] = 100
|
||||||
DebugLinkGetState = 101 # type: Literal[101]
|
DebugLinkGetState: Literal[101] = 101
|
||||||
DebugLinkState = 102 # type: Literal[102]
|
DebugLinkState: Literal[102] = 102
|
||||||
DebugLinkStop = 103 # type: Literal[103]
|
DebugLinkStop: Literal[103] = 103
|
||||||
DebugLinkLog = 104 # type: Literal[104]
|
DebugLinkLog: Literal[104] = 104
|
||||||
DebugLinkMemoryRead = 110 # type: Literal[110]
|
DebugLinkMemoryRead: Literal[110] = 110
|
||||||
DebugLinkMemory = 111 # type: Literal[111]
|
DebugLinkMemory: Literal[111] = 111
|
||||||
DebugLinkMemoryWrite = 112 # type: Literal[112]
|
DebugLinkMemoryWrite: Literal[112] = 112
|
||||||
DebugLinkFlashErase = 113 # type: Literal[113]
|
DebugLinkFlashErase: Literal[113] = 113
|
||||||
DebugLinkLayout = 9001 # type: Literal[9001]
|
DebugLinkLayout: Literal[9001] = 9001
|
||||||
DebugLinkReseedRandom = 9002 # type: Literal[9002]
|
DebugLinkReseedRandom: Literal[9002] = 9002
|
||||||
DebugLinkRecordScreen = 9003 # type: Literal[9003]
|
DebugLinkRecordScreen: Literal[9003] = 9003
|
||||||
DebugLinkShowText = 9004 # type: Literal[9004]
|
DebugLinkShowText: Literal[9004] = 9004
|
||||||
DebugLinkEraseSdCard = 9005 # type: Literal[9005]
|
DebugLinkEraseSdCard: Literal[9005] = 9005
|
||||||
DebugLinkWatchLayout = 9006 # type: Literal[9006]
|
DebugLinkWatchLayout: Literal[9006] = 9006
|
||||||
EthereumGetPublicKey = 450 # type: Literal[450]
|
EthereumGetPublicKey: Literal[450] = 450
|
||||||
EthereumPublicKey = 451 # type: Literal[451]
|
EthereumPublicKey: Literal[451] = 451
|
||||||
EthereumGetAddress = 56 # type: Literal[56]
|
EthereumGetAddress: Literal[56] = 56
|
||||||
EthereumAddress = 57 # type: Literal[57]
|
EthereumAddress: Literal[57] = 57
|
||||||
EthereumSignTx = 58 # type: Literal[58]
|
EthereumSignTx: Literal[58] = 58
|
||||||
EthereumTxRequest = 59 # type: Literal[59]
|
EthereumTxRequest: Literal[59] = 59
|
||||||
EthereumTxAck = 60 # type: Literal[60]
|
EthereumTxAck: Literal[60] = 60
|
||||||
EthereumSignMessage = 64 # type: Literal[64]
|
EthereumSignMessage: Literal[64] = 64
|
||||||
EthereumVerifyMessage = 65 # type: Literal[65]
|
EthereumVerifyMessage: Literal[65] = 65
|
||||||
EthereumMessageSignature = 66 # type: Literal[66]
|
EthereumMessageSignature: Literal[66] = 66
|
||||||
NEMGetAddress = 67 # type: Literal[67]
|
NEMGetAddress: Literal[67] = 67
|
||||||
NEMAddress = 68 # type: Literal[68]
|
NEMAddress: Literal[68] = 68
|
||||||
NEMSignTx = 69 # type: Literal[69]
|
NEMSignTx: Literal[69] = 69
|
||||||
NEMSignedTx = 70 # type: Literal[70]
|
NEMSignedTx: Literal[70] = 70
|
||||||
NEMDecryptMessage = 75 # type: Literal[75]
|
NEMDecryptMessage: Literal[75] = 75
|
||||||
NEMDecryptedMessage = 76 # type: Literal[76]
|
NEMDecryptedMessage: Literal[76] = 76
|
||||||
LiskGetAddress = 114 # type: Literal[114]
|
LiskGetAddress: Literal[114] = 114
|
||||||
LiskAddress = 115 # type: Literal[115]
|
LiskAddress: Literal[115] = 115
|
||||||
LiskSignTx = 116 # type: Literal[116]
|
LiskSignTx: Literal[116] = 116
|
||||||
LiskSignedTx = 117 # type: Literal[117]
|
LiskSignedTx: Literal[117] = 117
|
||||||
LiskSignMessage = 118 # type: Literal[118]
|
LiskSignMessage: Literal[118] = 118
|
||||||
LiskMessageSignature = 119 # type: Literal[119]
|
LiskMessageSignature: Literal[119] = 119
|
||||||
LiskVerifyMessage = 120 # type: Literal[120]
|
LiskVerifyMessage: Literal[120] = 120
|
||||||
LiskGetPublicKey = 121 # type: Literal[121]
|
LiskGetPublicKey: Literal[121] = 121
|
||||||
LiskPublicKey = 122 # type: Literal[122]
|
LiskPublicKey: Literal[122] = 122
|
||||||
TezosGetAddress = 150 # type: Literal[150]
|
TezosGetAddress: Literal[150] = 150
|
||||||
TezosAddress = 151 # type: Literal[151]
|
TezosAddress: Literal[151] = 151
|
||||||
TezosSignTx = 152 # type: Literal[152]
|
TezosSignTx: Literal[152] = 152
|
||||||
TezosSignedTx = 153 # type: Literal[153]
|
TezosSignedTx: Literal[153] = 153
|
||||||
TezosGetPublicKey = 154 # type: Literal[154]
|
TezosGetPublicKey: Literal[154] = 154
|
||||||
TezosPublicKey = 155 # type: Literal[155]
|
TezosPublicKey: Literal[155] = 155
|
||||||
StellarSignTx = 202 # type: Literal[202]
|
StellarSignTx: Literal[202] = 202
|
||||||
StellarTxOpRequest = 203 # type: Literal[203]
|
StellarTxOpRequest: Literal[203] = 203
|
||||||
StellarGetAddress = 207 # type: Literal[207]
|
StellarGetAddress: Literal[207] = 207
|
||||||
StellarAddress = 208 # type: Literal[208]
|
StellarAddress: Literal[208] = 208
|
||||||
StellarCreateAccountOp = 210 # type: Literal[210]
|
StellarCreateAccountOp: Literal[210] = 210
|
||||||
StellarPaymentOp = 211 # type: Literal[211]
|
StellarPaymentOp: Literal[211] = 211
|
||||||
StellarPathPaymentOp = 212 # type: Literal[212]
|
StellarPathPaymentOp: Literal[212] = 212
|
||||||
StellarManageOfferOp = 213 # type: Literal[213]
|
StellarManageOfferOp: Literal[213] = 213
|
||||||
StellarCreatePassiveOfferOp = 214 # type: Literal[214]
|
StellarCreatePassiveOfferOp: Literal[214] = 214
|
||||||
StellarSetOptionsOp = 215 # type: Literal[215]
|
StellarSetOptionsOp: Literal[215] = 215
|
||||||
StellarChangeTrustOp = 216 # type: Literal[216]
|
StellarChangeTrustOp: Literal[216] = 216
|
||||||
StellarAllowTrustOp = 217 # type: Literal[217]
|
StellarAllowTrustOp: Literal[217] = 217
|
||||||
StellarAccountMergeOp = 218 # type: Literal[218]
|
StellarAccountMergeOp: Literal[218] = 218
|
||||||
StellarManageDataOp = 220 # type: Literal[220]
|
StellarManageDataOp: Literal[220] = 220
|
||||||
StellarBumpSequenceOp = 221 # type: Literal[221]
|
StellarBumpSequenceOp: Literal[221] = 221
|
||||||
StellarSignedTx = 230 # type: Literal[230]
|
StellarSignedTx: Literal[230] = 230
|
||||||
CardanoSignTx = 303 # type: Literal[303]
|
CardanoSignTx: Literal[303] = 303
|
||||||
CardanoGetPublicKey = 305 # type: Literal[305]
|
CardanoGetPublicKey: Literal[305] = 305
|
||||||
CardanoPublicKey = 306 # type: Literal[306]
|
CardanoPublicKey: Literal[306] = 306
|
||||||
CardanoGetAddress = 307 # type: Literal[307]
|
CardanoGetAddress: Literal[307] = 307
|
||||||
CardanoAddress = 308 # type: Literal[308]
|
CardanoAddress: Literal[308] = 308
|
||||||
CardanoSignedTx = 310 # type: Literal[310]
|
CardanoSignedTx: Literal[310] = 310
|
||||||
RippleGetAddress = 400 # type: Literal[400]
|
RippleGetAddress: Literal[400] = 400
|
||||||
RippleAddress = 401 # type: Literal[401]
|
RippleAddress: Literal[401] = 401
|
||||||
RippleSignTx = 402 # type: Literal[402]
|
RippleSignTx: Literal[402] = 402
|
||||||
RippleSignedTx = 403 # type: Literal[403]
|
RippleSignedTx: Literal[403] = 403
|
||||||
MoneroTransactionInitRequest = 501 # type: Literal[501]
|
MoneroTransactionInitRequest: Literal[501] = 501
|
||||||
MoneroTransactionInitAck = 502 # type: Literal[502]
|
MoneroTransactionInitAck: Literal[502] = 502
|
||||||
MoneroTransactionSetInputRequest = 503 # type: Literal[503]
|
MoneroTransactionSetInputRequest: Literal[503] = 503
|
||||||
MoneroTransactionSetInputAck = 504 # type: Literal[504]
|
MoneroTransactionSetInputAck: Literal[504] = 504
|
||||||
MoneroTransactionInputsPermutationRequest = 505 # type: Literal[505]
|
MoneroTransactionInputsPermutationRequest: Literal[505] = 505
|
||||||
MoneroTransactionInputsPermutationAck = 506 # type: Literal[506]
|
MoneroTransactionInputsPermutationAck: Literal[506] = 506
|
||||||
MoneroTransactionInputViniRequest = 507 # type: Literal[507]
|
MoneroTransactionInputViniRequest: Literal[507] = 507
|
||||||
MoneroTransactionInputViniAck = 508 # type: Literal[508]
|
MoneroTransactionInputViniAck: Literal[508] = 508
|
||||||
MoneroTransactionAllInputsSetRequest = 509 # type: Literal[509]
|
MoneroTransactionAllInputsSetRequest: Literal[509] = 509
|
||||||
MoneroTransactionAllInputsSetAck = 510 # type: Literal[510]
|
MoneroTransactionAllInputsSetAck: Literal[510] = 510
|
||||||
MoneroTransactionSetOutputRequest = 511 # type: Literal[511]
|
MoneroTransactionSetOutputRequest: Literal[511] = 511
|
||||||
MoneroTransactionSetOutputAck = 512 # type: Literal[512]
|
MoneroTransactionSetOutputAck: Literal[512] = 512
|
||||||
MoneroTransactionAllOutSetRequest = 513 # type: Literal[513]
|
MoneroTransactionAllOutSetRequest: Literal[513] = 513
|
||||||
MoneroTransactionAllOutSetAck = 514 # type: Literal[514]
|
MoneroTransactionAllOutSetAck: Literal[514] = 514
|
||||||
MoneroTransactionSignInputRequest = 515 # type: Literal[515]
|
MoneroTransactionSignInputRequest: Literal[515] = 515
|
||||||
MoneroTransactionSignInputAck = 516 # type: Literal[516]
|
MoneroTransactionSignInputAck: Literal[516] = 516
|
||||||
MoneroTransactionFinalRequest = 517 # type: Literal[517]
|
MoneroTransactionFinalRequest: Literal[517] = 517
|
||||||
MoneroTransactionFinalAck = 518 # type: Literal[518]
|
MoneroTransactionFinalAck: Literal[518] = 518
|
||||||
MoneroKeyImageExportInitRequest = 530 # type: Literal[530]
|
MoneroKeyImageExportInitRequest: Literal[530] = 530
|
||||||
MoneroKeyImageExportInitAck = 531 # type: Literal[531]
|
MoneroKeyImageExportInitAck: Literal[531] = 531
|
||||||
MoneroKeyImageSyncStepRequest = 532 # type: Literal[532]
|
MoneroKeyImageSyncStepRequest: Literal[532] = 532
|
||||||
MoneroKeyImageSyncStepAck = 533 # type: Literal[533]
|
MoneroKeyImageSyncStepAck: Literal[533] = 533
|
||||||
MoneroKeyImageSyncFinalRequest = 534 # type: Literal[534]
|
MoneroKeyImageSyncFinalRequest: Literal[534] = 534
|
||||||
MoneroKeyImageSyncFinalAck = 535 # type: Literal[535]
|
MoneroKeyImageSyncFinalAck: Literal[535] = 535
|
||||||
MoneroGetAddress = 540 # type: Literal[540]
|
MoneroGetAddress: Literal[540] = 540
|
||||||
MoneroAddress = 541 # type: Literal[541]
|
MoneroAddress: Literal[541] = 541
|
||||||
MoneroGetWatchKey = 542 # type: Literal[542]
|
MoneroGetWatchKey: Literal[542] = 542
|
||||||
MoneroWatchKey = 543 # type: Literal[543]
|
MoneroWatchKey: Literal[543] = 543
|
||||||
DebugMoneroDiagRequest = 546 # type: Literal[546]
|
DebugMoneroDiagRequest: Literal[546] = 546
|
||||||
DebugMoneroDiagAck = 547 # type: Literal[547]
|
DebugMoneroDiagAck: Literal[547] = 547
|
||||||
MoneroGetTxKeyRequest = 550 # type: Literal[550]
|
MoneroGetTxKeyRequest: Literal[550] = 550
|
||||||
MoneroGetTxKeyAck = 551 # type: Literal[551]
|
MoneroGetTxKeyAck: Literal[551] = 551
|
||||||
MoneroLiveRefreshStartRequest = 552 # type: Literal[552]
|
MoneroLiveRefreshStartRequest: Literal[552] = 552
|
||||||
MoneroLiveRefreshStartAck = 553 # type: Literal[553]
|
MoneroLiveRefreshStartAck: Literal[553] = 553
|
||||||
MoneroLiveRefreshStepRequest = 554 # type: Literal[554]
|
MoneroLiveRefreshStepRequest: Literal[554] = 554
|
||||||
MoneroLiveRefreshStepAck = 555 # type: Literal[555]
|
MoneroLiveRefreshStepAck: Literal[555] = 555
|
||||||
MoneroLiveRefreshFinalRequest = 556 # type: Literal[556]
|
MoneroLiveRefreshFinalRequest: Literal[556] = 556
|
||||||
MoneroLiveRefreshFinalAck = 557 # type: Literal[557]
|
MoneroLiveRefreshFinalAck: Literal[557] = 557
|
||||||
EosGetPublicKey = 600 # type: Literal[600]
|
EosGetPublicKey: Literal[600] = 600
|
||||||
EosPublicKey = 601 # type: Literal[601]
|
EosPublicKey: Literal[601] = 601
|
||||||
EosSignTx = 602 # type: Literal[602]
|
EosSignTx: Literal[602] = 602
|
||||||
EosTxActionRequest = 603 # type: Literal[603]
|
EosTxActionRequest: Literal[603] = 603
|
||||||
EosTxActionAck = 604 # type: Literal[604]
|
EosTxActionAck: Literal[604] = 604
|
||||||
EosSignedTx = 605 # type: Literal[605]
|
EosSignedTx: Literal[605] = 605
|
||||||
BinanceGetAddress = 700 # type: Literal[700]
|
BinanceGetAddress: Literal[700] = 700
|
||||||
BinanceAddress = 701 # type: Literal[701]
|
BinanceAddress: Literal[701] = 701
|
||||||
BinanceGetPublicKey = 702 # type: Literal[702]
|
BinanceGetPublicKey: Literal[702] = 702
|
||||||
BinancePublicKey = 703 # type: Literal[703]
|
BinancePublicKey: Literal[703] = 703
|
||||||
BinanceSignTx = 704 # type: Literal[704]
|
BinanceSignTx: Literal[704] = 704
|
||||||
BinanceTxRequest = 705 # type: Literal[705]
|
BinanceTxRequest: Literal[705] = 705
|
||||||
BinanceTransferMsg = 706 # type: Literal[706]
|
BinanceTransferMsg: Literal[706] = 706
|
||||||
BinanceOrderMsg = 707 # type: Literal[707]
|
BinanceOrderMsg: Literal[707] = 707
|
||||||
BinanceCancelMsg = 708 # type: Literal[708]
|
BinanceCancelMsg: Literal[708] = 708
|
||||||
BinanceSignedTx = 709 # type: Literal[709]
|
BinanceSignedTx: Literal[709] = 709
|
||||||
WebAuthnListResidentCredentials = 800 # type: Literal[800]
|
WebAuthnListResidentCredentials: Literal[800] = 800
|
||||||
WebAuthnCredentials = 801 # type: Literal[801]
|
WebAuthnCredentials: Literal[801] = 801
|
||||||
WebAuthnAddResidentCredential = 802 # type: Literal[802]
|
WebAuthnAddResidentCredential: Literal[802] = 802
|
||||||
WebAuthnRemoveResidentCredential = 803 # type: Literal[803]
|
WebAuthnRemoveResidentCredential: Literal[803] = 803
|
||||||
|
@ -1,7 +1,10 @@
|
|||||||
# Automatically generated by pb2py
|
# Automatically generated by pb2py
|
||||||
# fmt: off
|
# fmt: off
|
||||||
if False:
|
if __debug__:
|
||||||
from typing_extensions import Literal
|
try:
|
||||||
|
from typing_extensions import Literal # noqa: F401
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
ImportanceTransfer_Activate = 1 # type: Literal[1]
|
ImportanceTransfer_Activate: Literal[1] = 1
|
||||||
ImportanceTransfer_Deactivate = 2 # type: Literal[2]
|
ImportanceTransfer_Deactivate: Literal[2] = 2
|
||||||
|
@ -1,7 +1,10 @@
|
|||||||
# Automatically generated by pb2py
|
# Automatically generated by pb2py
|
||||||
# fmt: off
|
# fmt: off
|
||||||
if False:
|
if __debug__:
|
||||||
from typing_extensions import Literal
|
try:
|
||||||
|
from typing_extensions import Literal # noqa: F401
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
CosignatoryModification_Add = 1 # type: Literal[1]
|
CosignatoryModification_Add: Literal[1] = 1
|
||||||
CosignatoryModification_Delete = 2 # type: Literal[2]
|
CosignatoryModification_Delete: Literal[2] = 2
|
||||||
|
@ -1,7 +1,10 @@
|
|||||||
# Automatically generated by pb2py
|
# Automatically generated by pb2py
|
||||||
# fmt: off
|
# fmt: off
|
||||||
if False:
|
if __debug__:
|
||||||
from typing_extensions import Literal
|
try:
|
||||||
|
from typing_extensions import Literal # noqa: F401
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
MosaicLevy_Absolute = 1 # type: Literal[1]
|
MosaicLevy_Absolute: Literal[1] = 1
|
||||||
MosaicLevy_Percentile = 2 # type: Literal[2]
|
MosaicLevy_Percentile: Literal[2] = 2
|
||||||
|
@ -1,7 +1,10 @@
|
|||||||
# Automatically generated by pb2py
|
# Automatically generated by pb2py
|
||||||
# fmt: off
|
# fmt: off
|
||||||
if False:
|
if __debug__:
|
||||||
from typing_extensions import Literal
|
try:
|
||||||
|
from typing_extensions import Literal # noqa: F401
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
SupplyChange_Increase = 1 # type: Literal[1]
|
SupplyChange_Increase: Literal[1] = 1
|
||||||
SupplyChange_Decrease = 2 # type: Literal[2]
|
SupplyChange_Decrease: Literal[2] = 2
|
||||||
|
@ -1,11 +1,14 @@
|
|||||||
# Automatically generated by pb2py
|
# Automatically generated by pb2py
|
||||||
# fmt: off
|
# fmt: off
|
||||||
if False:
|
if __debug__:
|
||||||
from typing_extensions import Literal
|
try:
|
||||||
|
from typing_extensions import Literal # noqa: F401
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
PAYTOADDRESS = 0 # type: Literal[0]
|
PAYTOADDRESS: Literal[0] = 0
|
||||||
PAYTOSCRIPTHASH = 1 # type: Literal[1]
|
PAYTOSCRIPTHASH: Literal[1] = 1
|
||||||
PAYTOMULTISIG = 2 # type: Literal[2]
|
PAYTOMULTISIG: Literal[2] = 2
|
||||||
PAYTOOPRETURN = 3 # type: Literal[3]
|
PAYTOOPRETURN: Literal[3] = 3
|
||||||
PAYTOWITNESS = 4 # type: Literal[4]
|
PAYTOWITNESS: Literal[4] = 4
|
||||||
PAYTOP2SHWITNESS = 5 # type: Literal[5]
|
PAYTOP2SHWITNESS: Literal[5] = 5
|
||||||
|
@ -1,10 +1,13 @@
|
|||||||
# Automatically generated by pb2py
|
# Automatically generated by pb2py
|
||||||
# fmt: off
|
# fmt: off
|
||||||
if False:
|
if __debug__:
|
||||||
from typing_extensions import Literal
|
try:
|
||||||
|
from typing_extensions import Literal # noqa: F401
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
Current = 1 # type: Literal[1]
|
Current: Literal[1] = 1
|
||||||
NewFirst = 2 # type: Literal[2]
|
NewFirst: Literal[2] = 2
|
||||||
NewSecond = 3 # type: Literal[3]
|
NewSecond: Literal[3] = 3
|
||||||
WipeCodeFirst = 4 # type: Literal[4]
|
WipeCodeFirst: Literal[4] = 4
|
||||||
WipeCodeSecond = 5 # type: Literal[5]
|
WipeCodeSecond: Literal[5] = 5
|
||||||
|
@ -1,7 +1,10 @@
|
|||||||
# Automatically generated by pb2py
|
# Automatically generated by pb2py
|
||||||
# fmt: off
|
# fmt: off
|
||||||
if False:
|
if __debug__:
|
||||||
from typing_extensions import Literal
|
try:
|
||||||
|
from typing_extensions import Literal # noqa: F401
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
ScrambledWords = 0 # type: Literal[0]
|
ScrambledWords: Literal[0] = 0
|
||||||
Matrix = 1 # type: Literal[1]
|
Matrix: Literal[1] = 1
|
||||||
|
@ -1,12 +1,15 @@
|
|||||||
# Automatically generated by pb2py
|
# Automatically generated by pb2py
|
||||||
# fmt: off
|
# fmt: off
|
||||||
if False:
|
if __debug__:
|
||||||
from typing_extensions import Literal
|
try:
|
||||||
|
from typing_extensions import Literal # noqa: F401
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
TXINPUT = 0 # type: Literal[0]
|
TXINPUT: Literal[0] = 0
|
||||||
TXOUTPUT = 1 # type: Literal[1]
|
TXOUTPUT: Literal[1] = 1
|
||||||
TXMETA = 2 # type: Literal[2]
|
TXMETA: Literal[2] = 2
|
||||||
TXFINISHED = 3 # type: Literal[3]
|
TXFINISHED: Literal[3] = 3
|
||||||
TXEXTRADATA = 4 # type: Literal[4]
|
TXEXTRADATA: Literal[4] = 4
|
||||||
TXORIGINPUT = 5 # type: Literal[5]
|
TXORIGINPUT: Literal[5] = 5
|
||||||
TXORIGOUTPUT = 6 # type: Literal[6]
|
TXORIGOUTPUT: Literal[6] = 6
|
||||||
|
@ -1,8 +1,11 @@
|
|||||||
# Automatically generated by pb2py
|
# Automatically generated by pb2py
|
||||||
# fmt: off
|
# fmt: off
|
||||||
if False:
|
if __debug__:
|
||||||
from typing_extensions import Literal
|
try:
|
||||||
|
from typing_extensions import Literal # noqa: F401
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
Strict = 0 # type: Literal[0]
|
Strict: Literal[0] = 0
|
||||||
PromptAlways = 1 # type: Literal[1]
|
PromptAlways: Literal[1] = 1
|
||||||
PromptTemporarily = 2 # type: Literal[2]
|
PromptTemporarily: Literal[2] = 2
|
||||||
|
@ -1,8 +1,11 @@
|
|||||||
# Automatically generated by pb2py
|
# Automatically generated by pb2py
|
||||||
# fmt: off
|
# fmt: off
|
||||||
if False:
|
if __debug__:
|
||||||
from typing_extensions import Literal
|
try:
|
||||||
|
from typing_extensions import Literal # noqa: F401
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
DISABLE = 0 # type: Literal[0]
|
DISABLE: Literal[0] = 0
|
||||||
ENABLE = 1 # type: Literal[1]
|
ENABLE: Literal[1] = 1
|
||||||
REFRESH = 2 # type: Literal[2]
|
REFRESH: Literal[2] = 2
|
||||||
|
@ -1,8 +1,11 @@
|
|||||||
# Automatically generated by pb2py
|
# Automatically generated by pb2py
|
||||||
# fmt: off
|
# fmt: off
|
||||||
if False:
|
if __debug__:
|
||||||
from typing_extensions import Literal
|
try:
|
||||||
|
from typing_extensions import Literal # noqa: F401
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
Yay = 0 # type: Literal[0]
|
Yay: Literal[0] = 0
|
||||||
Nay = 1 # type: Literal[1]
|
Nay: Literal[1] = 1
|
||||||
Pass = 2 # type: Literal[2]
|
Pass: Literal[2] = 2
|
||||||
|
@ -1,7 +1,10 @@
|
|||||||
# Automatically generated by pb2py
|
# Automatically generated by pb2py
|
||||||
# fmt: off
|
# fmt: off
|
||||||
if False:
|
if __debug__:
|
||||||
from typing_extensions import Literal
|
try:
|
||||||
|
from typing_extensions import Literal # noqa: F401
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
Implicit = 0 # type: Literal[0]
|
Implicit: Literal[0] = 0
|
||||||
Originated = 1 # type: Literal[1]
|
Originated: Literal[1] = 1
|
||||||
|
@ -1,8 +1,11 @@
|
|||||||
# Automatically generated by pb2py
|
# Automatically generated by pb2py
|
||||||
# fmt: off
|
# fmt: off
|
||||||
if False:
|
if __debug__:
|
||||||
from typing_extensions import Literal
|
try:
|
||||||
|
from typing_extensions import Literal # noqa: F401
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
Plain = 0 # type: Literal[0]
|
Plain: Literal[0] = 0
|
||||||
Matrix9 = 1 # type: Literal[1]
|
Matrix9: Literal[1] = 1
|
||||||
Matrix6 = 2 # type: Literal[2]
|
Matrix6: Literal[2] = 2
|
||||||
|
Loading…
Reference in New Issue
Block a user