mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-05 13:01:12 +00:00
fix(core): properly exclude altcoins from all_modules
This commit is contained in:
parent
a58823cc0c
commit
cbe4e0e725
@ -28,14 +28,14 @@ halt("Tried to import excluded module.")
|
|||||||
# interned, and some operation somewhere (rendering?) is reading strings character by
|
# interned, and some operation somewhere (rendering?) is reading strings character by
|
||||||
# character.
|
# character.
|
||||||
|
|
||||||
|
from trezor import utils
|
||||||
|
|
||||||
all_modules
|
all_modules
|
||||||
import all_modules
|
import all_modules
|
||||||
boot
|
boot
|
||||||
import boot
|
import boot
|
||||||
main
|
main
|
||||||
import main
|
import main
|
||||||
protobuf
|
|
||||||
import protobuf
|
|
||||||
session
|
session
|
||||||
import session
|
import session
|
||||||
usb
|
usb
|
||||||
@ -84,626 +84,40 @@ trezor.crypto.scripts
|
|||||||
import trezor.crypto.scripts
|
import trezor.crypto.scripts
|
||||||
trezor.crypto.slip39
|
trezor.crypto.slip39
|
||||||
import trezor.crypto.slip39
|
import trezor.crypto.slip39
|
||||||
trezor.enums.Address
|
|
||||||
import trezor.enums.Address
|
|
||||||
trezor.enums.AmountUnit
|
trezor.enums.AmountUnit
|
||||||
import trezor.enums.AmountUnit
|
import trezor.enums.AmountUnit
|
||||||
trezor.enums.ApplyFlags
|
|
||||||
import trezor.enums.ApplyFlags
|
|
||||||
trezor.enums.ApplySettings
|
|
||||||
import trezor.enums.ApplySettings
|
|
||||||
trezor.enums.AuthorizeCoinJoin
|
|
||||||
import trezor.enums.AuthorizeCoinJoin
|
|
||||||
trezor.enums.BackupDevice
|
|
||||||
import trezor.enums.BackupDevice
|
|
||||||
trezor.enums.BackupType
|
trezor.enums.BackupType
|
||||||
import trezor.enums.BackupType
|
import trezor.enums.BackupType
|
||||||
trezor.enums.BinanceAddress
|
|
||||||
import trezor.enums.BinanceAddress
|
|
||||||
trezor.enums.BinanceCancelMsg
|
|
||||||
import trezor.enums.BinanceCancelMsg
|
|
||||||
trezor.enums.BinanceCoin
|
|
||||||
import trezor.enums.BinanceCoin
|
|
||||||
trezor.enums.BinanceGetAddress
|
|
||||||
import trezor.enums.BinanceGetAddress
|
|
||||||
trezor.enums.BinanceGetPublicKey
|
|
||||||
import trezor.enums.BinanceGetPublicKey
|
|
||||||
trezor.enums.BinanceInputOutput
|
|
||||||
import trezor.enums.BinanceInputOutput
|
|
||||||
trezor.enums.BinanceOrderMsg
|
|
||||||
import trezor.enums.BinanceOrderMsg
|
|
||||||
trezor.enums.BinanceOrderSide
|
|
||||||
import trezor.enums.BinanceOrderSide
|
|
||||||
trezor.enums.BinanceOrderType
|
|
||||||
import trezor.enums.BinanceOrderType
|
|
||||||
trezor.enums.BinancePublicKey
|
|
||||||
import trezor.enums.BinancePublicKey
|
|
||||||
trezor.enums.BinanceSignTx
|
|
||||||
import trezor.enums.BinanceSignTx
|
|
||||||
trezor.enums.BinanceSignedTx
|
|
||||||
import trezor.enums.BinanceSignedTx
|
|
||||||
trezor.enums.BinanceTimeInForce
|
|
||||||
import trezor.enums.BinanceTimeInForce
|
|
||||||
trezor.enums.BinanceTransferMsg
|
|
||||||
import trezor.enums.BinanceTransferMsg
|
|
||||||
trezor.enums.BinanceTxRequest
|
|
||||||
import trezor.enums.BinanceTxRequest
|
|
||||||
trezor.enums.ButtonAck
|
|
||||||
import trezor.enums.ButtonAck
|
|
||||||
trezor.enums.ButtonRequest
|
|
||||||
import trezor.enums.ButtonRequest
|
|
||||||
trezor.enums.ButtonRequestType
|
trezor.enums.ButtonRequestType
|
||||||
import trezor.enums.ButtonRequestType
|
import trezor.enums.ButtonRequestType
|
||||||
trezor.enums.Cancel
|
|
||||||
import trezor.enums.Cancel
|
|
||||||
trezor.enums.CancelAuthorization
|
|
||||||
import trezor.enums.CancelAuthorization
|
|
||||||
trezor.enums.Capability
|
trezor.enums.Capability
|
||||||
import trezor.enums.Capability
|
import trezor.enums.Capability
|
||||||
trezor.enums.CardanoAddress
|
|
||||||
import trezor.enums.CardanoAddress
|
|
||||||
trezor.enums.CardanoAddressParametersType
|
|
||||||
import trezor.enums.CardanoAddressParametersType
|
|
||||||
trezor.enums.CardanoAddressType
|
|
||||||
import trezor.enums.CardanoAddressType
|
|
||||||
trezor.enums.CardanoAssetGroupType
|
|
||||||
import trezor.enums.CardanoAssetGroupType
|
|
||||||
trezor.enums.CardanoBlockchainPointerType
|
|
||||||
import trezor.enums.CardanoBlockchainPointerType
|
|
||||||
trezor.enums.CardanoCatalystRegistrationParametersType
|
|
||||||
import trezor.enums.CardanoCatalystRegistrationParametersType
|
|
||||||
trezor.enums.CardanoCertificateType
|
|
||||||
import trezor.enums.CardanoCertificateType
|
|
||||||
trezor.enums.CardanoGetAddress
|
|
||||||
import trezor.enums.CardanoGetAddress
|
|
||||||
trezor.enums.CardanoGetPublicKey
|
|
||||||
import trezor.enums.CardanoGetPublicKey
|
|
||||||
trezor.enums.CardanoPoolMetadataType
|
|
||||||
import trezor.enums.CardanoPoolMetadataType
|
|
||||||
trezor.enums.CardanoPoolOwnerType
|
|
||||||
import trezor.enums.CardanoPoolOwnerType
|
|
||||||
trezor.enums.CardanoPoolParametersType
|
|
||||||
import trezor.enums.CardanoPoolParametersType
|
|
||||||
trezor.enums.CardanoPoolRelayParametersType
|
|
||||||
import trezor.enums.CardanoPoolRelayParametersType
|
|
||||||
trezor.enums.CardanoPoolRelayType
|
|
||||||
import trezor.enums.CardanoPoolRelayType
|
|
||||||
trezor.enums.CardanoPublicKey
|
|
||||||
import trezor.enums.CardanoPublicKey
|
|
||||||
trezor.enums.CardanoSignTx
|
|
||||||
import trezor.enums.CardanoSignTx
|
|
||||||
trezor.enums.CardanoSignedTx
|
|
||||||
import trezor.enums.CardanoSignedTx
|
|
||||||
trezor.enums.CardanoSignedTxChunk
|
|
||||||
import trezor.enums.CardanoSignedTxChunk
|
|
||||||
trezor.enums.CardanoSignedTxChunkAck
|
|
||||||
import trezor.enums.CardanoSignedTxChunkAck
|
|
||||||
trezor.enums.CardanoTokenType
|
|
||||||
import trezor.enums.CardanoTokenType
|
|
||||||
trezor.enums.CardanoTxAuxiliaryDataType
|
|
||||||
import trezor.enums.CardanoTxAuxiliaryDataType
|
|
||||||
trezor.enums.CardanoTxCertificateType
|
|
||||||
import trezor.enums.CardanoTxCertificateType
|
|
||||||
trezor.enums.CardanoTxInputType
|
|
||||||
import trezor.enums.CardanoTxInputType
|
|
||||||
trezor.enums.CardanoTxOutputType
|
|
||||||
import trezor.enums.CardanoTxOutputType
|
|
||||||
trezor.enums.CardanoTxWithdrawalType
|
|
||||||
import trezor.enums.CardanoTxWithdrawalType
|
|
||||||
trezor.enums.ChangePin
|
|
||||||
import trezor.enums.ChangePin
|
|
||||||
trezor.enums.ChangeWipeCode
|
|
||||||
import trezor.enums.ChangeWipeCode
|
|
||||||
trezor.enums.CipherKeyValue
|
|
||||||
import trezor.enums.CipherKeyValue
|
|
||||||
trezor.enums.CipheredKeyValue
|
|
||||||
import trezor.enums.CipheredKeyValue
|
|
||||||
trezor.enums.DebugLinkDecision
|
|
||||||
import trezor.enums.DebugLinkDecision
|
|
||||||
trezor.enums.DebugLinkEraseSdCard
|
|
||||||
import trezor.enums.DebugLinkEraseSdCard
|
|
||||||
trezor.enums.DebugLinkGetState
|
|
||||||
import trezor.enums.DebugLinkGetState
|
|
||||||
trezor.enums.DebugLinkLayout
|
|
||||||
import trezor.enums.DebugLinkLayout
|
|
||||||
trezor.enums.DebugLinkRecordScreen
|
|
||||||
import trezor.enums.DebugLinkRecordScreen
|
|
||||||
trezor.enums.DebugLinkReseedRandom
|
|
||||||
import trezor.enums.DebugLinkReseedRandom
|
|
||||||
trezor.enums.DebugLinkState
|
|
||||||
import trezor.enums.DebugLinkState
|
|
||||||
trezor.enums.DebugLinkWatchLayout
|
|
||||||
import trezor.enums.DebugLinkWatchLayout
|
|
||||||
trezor.enums.DebugMoneroDiagAck
|
|
||||||
import trezor.enums.DebugMoneroDiagAck
|
|
||||||
trezor.enums.DebugMoneroDiagRequest
|
|
||||||
import trezor.enums.DebugMoneroDiagRequest
|
|
||||||
trezor.enums.DebugSwipeDirection
|
trezor.enums.DebugSwipeDirection
|
||||||
import trezor.enums.DebugSwipeDirection
|
import trezor.enums.DebugSwipeDirection
|
||||||
trezor.enums.DecredStakingSpendType
|
trezor.enums.DecredStakingSpendType
|
||||||
import trezor.enums.DecredStakingSpendType
|
import trezor.enums.DecredStakingSpendType
|
||||||
trezor.enums.Deprecated_PassphraseStateAck
|
|
||||||
import trezor.enums.Deprecated_PassphraseStateAck
|
|
||||||
trezor.enums.Deprecated_PassphraseStateRequest
|
|
||||||
import trezor.enums.Deprecated_PassphraseStateRequest
|
|
||||||
trezor.enums.DoPreauthorized
|
|
||||||
import trezor.enums.DoPreauthorized
|
|
||||||
trezor.enums.ECDHSessionKey
|
|
||||||
import trezor.enums.ECDHSessionKey
|
|
||||||
trezor.enums.EndSession
|
|
||||||
import trezor.enums.EndSession
|
|
||||||
trezor.enums.Entropy
|
|
||||||
import trezor.enums.Entropy
|
|
||||||
trezor.enums.EntropyAck
|
|
||||||
import trezor.enums.EntropyAck
|
|
||||||
trezor.enums.EntropyRequest
|
|
||||||
import trezor.enums.EntropyRequest
|
|
||||||
trezor.enums.EosActionBuyRam
|
|
||||||
import trezor.enums.EosActionBuyRam
|
|
||||||
trezor.enums.EosActionBuyRamBytes
|
|
||||||
import trezor.enums.EosActionBuyRamBytes
|
|
||||||
trezor.enums.EosActionCommon
|
|
||||||
import trezor.enums.EosActionCommon
|
|
||||||
trezor.enums.EosActionDelegate
|
|
||||||
import trezor.enums.EosActionDelegate
|
|
||||||
trezor.enums.EosActionDeleteAuth
|
|
||||||
import trezor.enums.EosActionDeleteAuth
|
|
||||||
trezor.enums.EosActionLinkAuth
|
|
||||||
import trezor.enums.EosActionLinkAuth
|
|
||||||
trezor.enums.EosActionNewAccount
|
|
||||||
import trezor.enums.EosActionNewAccount
|
|
||||||
trezor.enums.EosActionRefund
|
|
||||||
import trezor.enums.EosActionRefund
|
|
||||||
trezor.enums.EosActionSellRam
|
|
||||||
import trezor.enums.EosActionSellRam
|
|
||||||
trezor.enums.EosActionTransfer
|
|
||||||
import trezor.enums.EosActionTransfer
|
|
||||||
trezor.enums.EosActionUndelegate
|
|
||||||
import trezor.enums.EosActionUndelegate
|
|
||||||
trezor.enums.EosActionUnknown
|
|
||||||
import trezor.enums.EosActionUnknown
|
|
||||||
trezor.enums.EosActionUnlinkAuth
|
|
||||||
import trezor.enums.EosActionUnlinkAuth
|
|
||||||
trezor.enums.EosActionUpdateAuth
|
|
||||||
import trezor.enums.EosActionUpdateAuth
|
|
||||||
trezor.enums.EosActionVoteProducer
|
|
||||||
import trezor.enums.EosActionVoteProducer
|
|
||||||
trezor.enums.EosAsset
|
|
||||||
import trezor.enums.EosAsset
|
|
||||||
trezor.enums.EosAuthorization
|
|
||||||
import trezor.enums.EosAuthorization
|
|
||||||
trezor.enums.EosAuthorizationAccount
|
|
||||||
import trezor.enums.EosAuthorizationAccount
|
|
||||||
trezor.enums.EosAuthorizationKey
|
|
||||||
import trezor.enums.EosAuthorizationKey
|
|
||||||
trezor.enums.EosAuthorizationWait
|
|
||||||
import trezor.enums.EosAuthorizationWait
|
|
||||||
trezor.enums.EosGetPublicKey
|
|
||||||
import trezor.enums.EosGetPublicKey
|
|
||||||
trezor.enums.EosPermissionLevel
|
|
||||||
import trezor.enums.EosPermissionLevel
|
|
||||||
trezor.enums.EosPublicKey
|
|
||||||
import trezor.enums.EosPublicKey
|
|
||||||
trezor.enums.EosSignTx
|
|
||||||
import trezor.enums.EosSignTx
|
|
||||||
trezor.enums.EosSignedTx
|
|
||||||
import trezor.enums.EosSignedTx
|
|
||||||
trezor.enums.EosTxActionAck
|
|
||||||
import trezor.enums.EosTxActionAck
|
|
||||||
trezor.enums.EosTxActionRequest
|
|
||||||
import trezor.enums.EosTxActionRequest
|
|
||||||
trezor.enums.EosTxHeader
|
|
||||||
import trezor.enums.EosTxHeader
|
|
||||||
trezor.enums.EthereumAddress
|
|
||||||
import trezor.enums.EthereumAddress
|
|
||||||
trezor.enums.EthereumGetAddress
|
|
||||||
import trezor.enums.EthereumGetAddress
|
|
||||||
trezor.enums.EthereumGetPublicKey
|
|
||||||
import trezor.enums.EthereumGetPublicKey
|
|
||||||
trezor.enums.EthereumMessageSignature
|
|
||||||
import trezor.enums.EthereumMessageSignature
|
|
||||||
trezor.enums.EthereumPublicKey
|
|
||||||
import trezor.enums.EthereumPublicKey
|
|
||||||
trezor.enums.EthereumSignMessage
|
|
||||||
import trezor.enums.EthereumSignMessage
|
|
||||||
trezor.enums.EthereumSignTx
|
|
||||||
import trezor.enums.EthereumSignTx
|
|
||||||
trezor.enums.EthereumTxAck
|
|
||||||
import trezor.enums.EthereumTxAck
|
|
||||||
trezor.enums.EthereumTxRequest
|
|
||||||
import trezor.enums.EthereumTxRequest
|
|
||||||
trezor.enums.EthereumVerifyMessage
|
|
||||||
import trezor.enums.EthereumVerifyMessage
|
|
||||||
trezor.enums.Failure
|
|
||||||
import trezor.enums.Failure
|
|
||||||
trezor.enums.FailureType
|
trezor.enums.FailureType
|
||||||
import trezor.enums.FailureType
|
import trezor.enums.FailureType
|
||||||
trezor.enums.Features
|
|
||||||
import trezor.enums.Features
|
|
||||||
trezor.enums.GetAddress
|
|
||||||
import trezor.enums.GetAddress
|
|
||||||
trezor.enums.GetECDHSessionKey
|
|
||||||
import trezor.enums.GetECDHSessionKey
|
|
||||||
trezor.enums.GetEntropy
|
|
||||||
import trezor.enums.GetEntropy
|
|
||||||
trezor.enums.GetFeatures
|
|
||||||
import trezor.enums.GetFeatures
|
|
||||||
trezor.enums.GetNextU2FCounter
|
|
||||||
import trezor.enums.GetNextU2FCounter
|
|
||||||
trezor.enums.GetOwnershipId
|
|
||||||
import trezor.enums.GetOwnershipId
|
|
||||||
trezor.enums.GetOwnershipProof
|
|
||||||
import trezor.enums.GetOwnershipProof
|
|
||||||
trezor.enums.GetPublicKey
|
|
||||||
import trezor.enums.GetPublicKey
|
|
||||||
trezor.enums.HDNodePathType
|
|
||||||
import trezor.enums.HDNodePathType
|
|
||||||
trezor.enums.HDNodeType
|
|
||||||
import trezor.enums.HDNodeType
|
|
||||||
trezor.enums.IdentityType
|
|
||||||
import trezor.enums.IdentityType
|
|
||||||
trezor.enums.Initialize
|
|
||||||
import trezor.enums.Initialize
|
|
||||||
trezor.enums.InputScriptType
|
trezor.enums.InputScriptType
|
||||||
import trezor.enums.InputScriptType
|
import trezor.enums.InputScriptType
|
||||||
trezor.enums.LiskAddress
|
|
||||||
import trezor.enums.LiskAddress
|
|
||||||
trezor.enums.LiskDelegateType
|
|
||||||
import trezor.enums.LiskDelegateType
|
|
||||||
trezor.enums.LiskGetAddress
|
|
||||||
import trezor.enums.LiskGetAddress
|
|
||||||
trezor.enums.LiskGetPublicKey
|
|
||||||
import trezor.enums.LiskGetPublicKey
|
|
||||||
trezor.enums.LiskMessageSignature
|
|
||||||
import trezor.enums.LiskMessageSignature
|
|
||||||
trezor.enums.LiskMultisignatureType
|
|
||||||
import trezor.enums.LiskMultisignatureType
|
|
||||||
trezor.enums.LiskPublicKey
|
|
||||||
import trezor.enums.LiskPublicKey
|
|
||||||
trezor.enums.LiskSignMessage
|
|
||||||
import trezor.enums.LiskSignMessage
|
|
||||||
trezor.enums.LiskSignTx
|
|
||||||
import trezor.enums.LiskSignTx
|
|
||||||
trezor.enums.LiskSignatureType
|
|
||||||
import trezor.enums.LiskSignatureType
|
|
||||||
trezor.enums.LiskSignedTx
|
|
||||||
import trezor.enums.LiskSignedTx
|
|
||||||
trezor.enums.LiskTransactionAsset
|
|
||||||
import trezor.enums.LiskTransactionAsset
|
|
||||||
trezor.enums.LiskTransactionCommon
|
|
||||||
import trezor.enums.LiskTransactionCommon
|
|
||||||
trezor.enums.LiskTransactionType
|
|
||||||
import trezor.enums.LiskTransactionType
|
|
||||||
trezor.enums.LiskVerifyMessage
|
|
||||||
import trezor.enums.LiskVerifyMessage
|
|
||||||
trezor.enums.LoadDevice
|
|
||||||
import trezor.enums.LoadDevice
|
|
||||||
trezor.enums.LockDevice
|
|
||||||
import trezor.enums.LockDevice
|
|
||||||
trezor.enums.MessageSignature
|
|
||||||
import trezor.enums.MessageSignature
|
|
||||||
trezor.enums.MessageType
|
trezor.enums.MessageType
|
||||||
import trezor.enums.MessageType
|
import trezor.enums.MessageType
|
||||||
trezor.enums.MoneroAccountPublicAddress
|
|
||||||
import trezor.enums.MoneroAccountPublicAddress
|
|
||||||
trezor.enums.MoneroAddress
|
|
||||||
import trezor.enums.MoneroAddress
|
|
||||||
trezor.enums.MoneroExportedKeyImage
|
|
||||||
import trezor.enums.MoneroExportedKeyImage
|
|
||||||
trezor.enums.MoneroGetAddress
|
|
||||||
import trezor.enums.MoneroGetAddress
|
|
||||||
trezor.enums.MoneroGetTxKeyAck
|
|
||||||
import trezor.enums.MoneroGetTxKeyAck
|
|
||||||
trezor.enums.MoneroGetTxKeyRequest
|
|
||||||
import trezor.enums.MoneroGetTxKeyRequest
|
|
||||||
trezor.enums.MoneroGetWatchKey
|
|
||||||
import trezor.enums.MoneroGetWatchKey
|
|
||||||
trezor.enums.MoneroKeyImageExportInitAck
|
|
||||||
import trezor.enums.MoneroKeyImageExportInitAck
|
|
||||||
trezor.enums.MoneroKeyImageExportInitRequest
|
|
||||||
import trezor.enums.MoneroKeyImageExportInitRequest
|
|
||||||
trezor.enums.MoneroKeyImageSyncFinalAck
|
|
||||||
import trezor.enums.MoneroKeyImageSyncFinalAck
|
|
||||||
trezor.enums.MoneroKeyImageSyncFinalRequest
|
|
||||||
import trezor.enums.MoneroKeyImageSyncFinalRequest
|
|
||||||
trezor.enums.MoneroKeyImageSyncStepAck
|
|
||||||
import trezor.enums.MoneroKeyImageSyncStepAck
|
|
||||||
trezor.enums.MoneroKeyImageSyncStepRequest
|
|
||||||
import trezor.enums.MoneroKeyImageSyncStepRequest
|
|
||||||
trezor.enums.MoneroLiveRefreshFinalAck
|
|
||||||
import trezor.enums.MoneroLiveRefreshFinalAck
|
|
||||||
trezor.enums.MoneroLiveRefreshFinalRequest
|
|
||||||
import trezor.enums.MoneroLiveRefreshFinalRequest
|
|
||||||
trezor.enums.MoneroLiveRefreshStartAck
|
|
||||||
import trezor.enums.MoneroLiveRefreshStartAck
|
|
||||||
trezor.enums.MoneroLiveRefreshStartRequest
|
|
||||||
import trezor.enums.MoneroLiveRefreshStartRequest
|
|
||||||
trezor.enums.MoneroLiveRefreshStepAck
|
|
||||||
import trezor.enums.MoneroLiveRefreshStepAck
|
|
||||||
trezor.enums.MoneroLiveRefreshStepRequest
|
|
||||||
import trezor.enums.MoneroLiveRefreshStepRequest
|
|
||||||
trezor.enums.MoneroMultisigKLRki
|
|
||||||
import trezor.enums.MoneroMultisigKLRki
|
|
||||||
trezor.enums.MoneroOutputEntry
|
|
||||||
import trezor.enums.MoneroOutputEntry
|
|
||||||
trezor.enums.MoneroRctKeyPublic
|
|
||||||
import trezor.enums.MoneroRctKeyPublic
|
|
||||||
trezor.enums.MoneroRingCtSig
|
|
||||||
import trezor.enums.MoneroRingCtSig
|
|
||||||
trezor.enums.MoneroSubAddressIndicesList
|
|
||||||
import trezor.enums.MoneroSubAddressIndicesList
|
|
||||||
trezor.enums.MoneroTransactionAllInputsSetAck
|
|
||||||
import trezor.enums.MoneroTransactionAllInputsSetAck
|
|
||||||
trezor.enums.MoneroTransactionAllInputsSetRequest
|
|
||||||
import trezor.enums.MoneroTransactionAllInputsSetRequest
|
|
||||||
trezor.enums.MoneroTransactionAllOutSetAck
|
|
||||||
import trezor.enums.MoneroTransactionAllOutSetAck
|
|
||||||
trezor.enums.MoneroTransactionAllOutSetRequest
|
|
||||||
import trezor.enums.MoneroTransactionAllOutSetRequest
|
|
||||||
trezor.enums.MoneroTransactionData
|
|
||||||
import trezor.enums.MoneroTransactionData
|
|
||||||
trezor.enums.MoneroTransactionDestinationEntry
|
|
||||||
import trezor.enums.MoneroTransactionDestinationEntry
|
|
||||||
trezor.enums.MoneroTransactionFinalAck
|
|
||||||
import trezor.enums.MoneroTransactionFinalAck
|
|
||||||
trezor.enums.MoneroTransactionFinalRequest
|
|
||||||
import trezor.enums.MoneroTransactionFinalRequest
|
|
||||||
trezor.enums.MoneroTransactionInitAck
|
|
||||||
import trezor.enums.MoneroTransactionInitAck
|
|
||||||
trezor.enums.MoneroTransactionInitRequest
|
|
||||||
import trezor.enums.MoneroTransactionInitRequest
|
|
||||||
trezor.enums.MoneroTransactionInputViniAck
|
|
||||||
import trezor.enums.MoneroTransactionInputViniAck
|
|
||||||
trezor.enums.MoneroTransactionInputViniRequest
|
|
||||||
import trezor.enums.MoneroTransactionInputViniRequest
|
|
||||||
trezor.enums.MoneroTransactionInputsPermutationAck
|
|
||||||
import trezor.enums.MoneroTransactionInputsPermutationAck
|
|
||||||
trezor.enums.MoneroTransactionInputsPermutationRequest
|
|
||||||
import trezor.enums.MoneroTransactionInputsPermutationRequest
|
|
||||||
trezor.enums.MoneroTransactionRsigData
|
|
||||||
import trezor.enums.MoneroTransactionRsigData
|
|
||||||
trezor.enums.MoneroTransactionSetInputAck
|
|
||||||
import trezor.enums.MoneroTransactionSetInputAck
|
|
||||||
trezor.enums.MoneroTransactionSetInputRequest
|
|
||||||
import trezor.enums.MoneroTransactionSetInputRequest
|
|
||||||
trezor.enums.MoneroTransactionSetOutputAck
|
|
||||||
import trezor.enums.MoneroTransactionSetOutputAck
|
|
||||||
trezor.enums.MoneroTransactionSetOutputRequest
|
|
||||||
import trezor.enums.MoneroTransactionSetOutputRequest
|
|
||||||
trezor.enums.MoneroTransactionSignInputAck
|
|
||||||
import trezor.enums.MoneroTransactionSignInputAck
|
|
||||||
trezor.enums.MoneroTransactionSignInputRequest
|
|
||||||
import trezor.enums.MoneroTransactionSignInputRequest
|
|
||||||
trezor.enums.MoneroTransactionSourceEntry
|
|
||||||
import trezor.enums.MoneroTransactionSourceEntry
|
|
||||||
trezor.enums.MoneroTransferDetails
|
|
||||||
import trezor.enums.MoneroTransferDetails
|
|
||||||
trezor.enums.MoneroWatchKey
|
|
||||||
import trezor.enums.MoneroWatchKey
|
|
||||||
trezor.enums.MultisigRedeemScriptType
|
|
||||||
import trezor.enums.MultisigRedeemScriptType
|
|
||||||
trezor.enums.NEMAddress
|
|
||||||
import trezor.enums.NEMAddress
|
|
||||||
trezor.enums.NEMAggregateModification
|
|
||||||
import trezor.enums.NEMAggregateModification
|
|
||||||
trezor.enums.NEMCosignatoryModification
|
|
||||||
import trezor.enums.NEMCosignatoryModification
|
|
||||||
trezor.enums.NEMGetAddress
|
|
||||||
import trezor.enums.NEMGetAddress
|
|
||||||
trezor.enums.NEMImportanceTransfer
|
|
||||||
import trezor.enums.NEMImportanceTransfer
|
|
||||||
trezor.enums.NEMImportanceTransferMode
|
|
||||||
import trezor.enums.NEMImportanceTransferMode
|
|
||||||
trezor.enums.NEMModificationType
|
|
||||||
import trezor.enums.NEMModificationType
|
|
||||||
trezor.enums.NEMMosaic
|
|
||||||
import trezor.enums.NEMMosaic
|
|
||||||
trezor.enums.NEMMosaicCreation
|
|
||||||
import trezor.enums.NEMMosaicCreation
|
|
||||||
trezor.enums.NEMMosaicDefinition
|
|
||||||
import trezor.enums.NEMMosaicDefinition
|
|
||||||
trezor.enums.NEMMosaicLevy
|
|
||||||
import trezor.enums.NEMMosaicLevy
|
|
||||||
trezor.enums.NEMMosaicSupplyChange
|
|
||||||
import trezor.enums.NEMMosaicSupplyChange
|
|
||||||
trezor.enums.NEMProvisionNamespace
|
|
||||||
import trezor.enums.NEMProvisionNamespace
|
|
||||||
trezor.enums.NEMSignTx
|
|
||||||
import trezor.enums.NEMSignTx
|
|
||||||
trezor.enums.NEMSignedTx
|
|
||||||
import trezor.enums.NEMSignedTx
|
|
||||||
trezor.enums.NEMSupplyChangeType
|
|
||||||
import trezor.enums.NEMSupplyChangeType
|
|
||||||
trezor.enums.NEMTransactionCommon
|
|
||||||
import trezor.enums.NEMTransactionCommon
|
|
||||||
trezor.enums.NEMTransfer
|
|
||||||
import trezor.enums.NEMTransfer
|
|
||||||
trezor.enums.NextU2FCounter
|
|
||||||
import trezor.enums.NextU2FCounter
|
|
||||||
trezor.enums.OutputScriptType
|
trezor.enums.OutputScriptType
|
||||||
import trezor.enums.OutputScriptType
|
import trezor.enums.OutputScriptType
|
||||||
trezor.enums.OwnershipId
|
trezor.enums.PinMatrixRequestType
|
||||||
import trezor.enums.OwnershipId
|
import trezor.enums.PinMatrixRequestType
|
||||||
trezor.enums.OwnershipProof
|
|
||||||
import trezor.enums.OwnershipProof
|
|
||||||
trezor.enums.PassphraseAck
|
|
||||||
import trezor.enums.PassphraseAck
|
|
||||||
trezor.enums.PassphraseRequest
|
|
||||||
import trezor.enums.PassphraseRequest
|
|
||||||
trezor.enums.Ping
|
|
||||||
import trezor.enums.Ping
|
|
||||||
trezor.enums.PreauthorizedRequest
|
|
||||||
import trezor.enums.PreauthorizedRequest
|
|
||||||
trezor.enums.PrevInput
|
|
||||||
import trezor.enums.PrevInput
|
|
||||||
trezor.enums.PrevOutput
|
|
||||||
import trezor.enums.PrevOutput
|
|
||||||
trezor.enums.PrevTx
|
|
||||||
import trezor.enums.PrevTx
|
|
||||||
trezor.enums.PublicKey
|
|
||||||
import trezor.enums.PublicKey
|
|
||||||
trezor.enums.RebootToBootloader
|
|
||||||
import trezor.enums.RebootToBootloader
|
|
||||||
trezor.enums.RecoveryDevice
|
|
||||||
import trezor.enums.RecoveryDevice
|
|
||||||
trezor.enums.RecoveryDeviceType
|
trezor.enums.RecoveryDeviceType
|
||||||
import trezor.enums.RecoveryDeviceType
|
import trezor.enums.RecoveryDeviceType
|
||||||
trezor.enums.RequestType
|
trezor.enums.RequestType
|
||||||
import trezor.enums.RequestType
|
import trezor.enums.RequestType
|
||||||
trezor.enums.ResetDevice
|
|
||||||
import trezor.enums.ResetDevice
|
|
||||||
trezor.enums.RippleAddress
|
|
||||||
import trezor.enums.RippleAddress
|
|
||||||
trezor.enums.RippleGetAddress
|
|
||||||
import trezor.enums.RippleGetAddress
|
|
||||||
trezor.enums.RipplePayment
|
|
||||||
import trezor.enums.RipplePayment
|
|
||||||
trezor.enums.RippleSignTx
|
|
||||||
import trezor.enums.RippleSignTx
|
|
||||||
trezor.enums.RippleSignedTx
|
|
||||||
import trezor.enums.RippleSignedTx
|
|
||||||
trezor.enums.SafetyCheckLevel
|
trezor.enums.SafetyCheckLevel
|
||||||
import trezor.enums.SafetyCheckLevel
|
import trezor.enums.SafetyCheckLevel
|
||||||
trezor.enums.SdProtect
|
|
||||||
import trezor.enums.SdProtect
|
|
||||||
trezor.enums.SdProtectOperationType
|
trezor.enums.SdProtectOperationType
|
||||||
import trezor.enums.SdProtectOperationType
|
import trezor.enums.SdProtectOperationType
|
||||||
trezor.enums.SetU2FCounter
|
trezor.enums.WordRequestType
|
||||||
import trezor.enums.SetU2FCounter
|
import trezor.enums.WordRequestType
|
||||||
trezor.enums.SignIdentity
|
trezor.enums
|
||||||
import trezor.enums.SignIdentity
|
import trezor.enums
|
||||||
trezor.enums.SignMessage
|
|
||||||
import trezor.enums.SignMessage
|
|
||||||
trezor.enums.SignTx
|
|
||||||
import trezor.enums.SignTx
|
|
||||||
trezor.enums.SignedIdentity
|
|
||||||
import trezor.enums.SignedIdentity
|
|
||||||
trezor.enums.StellarAccountMergeOp
|
|
||||||
import trezor.enums.StellarAccountMergeOp
|
|
||||||
trezor.enums.StellarAddress
|
|
||||||
import trezor.enums.StellarAddress
|
|
||||||
trezor.enums.StellarAllowTrustOp
|
|
||||||
import trezor.enums.StellarAllowTrustOp
|
|
||||||
trezor.enums.StellarAssetType
|
|
||||||
import trezor.enums.StellarAssetType
|
|
||||||
trezor.enums.StellarBumpSequenceOp
|
|
||||||
import trezor.enums.StellarBumpSequenceOp
|
|
||||||
trezor.enums.StellarChangeTrustOp
|
|
||||||
import trezor.enums.StellarChangeTrustOp
|
|
||||||
trezor.enums.StellarCreateAccountOp
|
|
||||||
import trezor.enums.StellarCreateAccountOp
|
|
||||||
trezor.enums.StellarCreatePassiveOfferOp
|
|
||||||
import trezor.enums.StellarCreatePassiveOfferOp
|
|
||||||
trezor.enums.StellarGetAddress
|
|
||||||
import trezor.enums.StellarGetAddress
|
|
||||||
trezor.enums.StellarManageDataOp
|
|
||||||
import trezor.enums.StellarManageDataOp
|
|
||||||
trezor.enums.StellarManageOfferOp
|
|
||||||
import trezor.enums.StellarManageOfferOp
|
|
||||||
trezor.enums.StellarPathPaymentOp
|
|
||||||
import trezor.enums.StellarPathPaymentOp
|
|
||||||
trezor.enums.StellarPaymentOp
|
|
||||||
import trezor.enums.StellarPaymentOp
|
|
||||||
trezor.enums.StellarSetOptionsOp
|
|
||||||
import trezor.enums.StellarSetOptionsOp
|
|
||||||
trezor.enums.StellarSignTx
|
|
||||||
import trezor.enums.StellarSignTx
|
|
||||||
trezor.enums.StellarSignedTx
|
|
||||||
import trezor.enums.StellarSignedTx
|
|
||||||
trezor.enums.StellarTxOpRequest
|
|
||||||
import trezor.enums.StellarTxOpRequest
|
|
||||||
trezor.enums.Success
|
|
||||||
import trezor.enums.Success
|
|
||||||
trezor.enums.TezosAddress
|
|
||||||
import trezor.enums.TezosAddress
|
|
||||||
trezor.enums.TezosBallotOp
|
|
||||||
import trezor.enums.TezosBallotOp
|
|
||||||
trezor.enums.TezosBallotType
|
|
||||||
import trezor.enums.TezosBallotType
|
|
||||||
trezor.enums.TezosContractID
|
|
||||||
import trezor.enums.TezosContractID
|
|
||||||
trezor.enums.TezosContractType
|
|
||||||
import trezor.enums.TezosContractType
|
|
||||||
trezor.enums.TezosDelegationOp
|
|
||||||
import trezor.enums.TezosDelegationOp
|
|
||||||
trezor.enums.TezosGetAddress
|
|
||||||
import trezor.enums.TezosGetAddress
|
|
||||||
trezor.enums.TezosGetPublicKey
|
|
||||||
import trezor.enums.TezosGetPublicKey
|
|
||||||
trezor.enums.TezosManagerTransfer
|
|
||||||
import trezor.enums.TezosManagerTransfer
|
|
||||||
trezor.enums.TezosOriginationOp
|
|
||||||
import trezor.enums.TezosOriginationOp
|
|
||||||
trezor.enums.TezosParametersManager
|
|
||||||
import trezor.enums.TezosParametersManager
|
|
||||||
trezor.enums.TezosProposalOp
|
|
||||||
import trezor.enums.TezosProposalOp
|
|
||||||
trezor.enums.TezosPublicKey
|
|
||||||
import trezor.enums.TezosPublicKey
|
|
||||||
trezor.enums.TezosRevealOp
|
|
||||||
import trezor.enums.TezosRevealOp
|
|
||||||
trezor.enums.TezosSignTx
|
|
||||||
import trezor.enums.TezosSignTx
|
|
||||||
trezor.enums.TezosSignedTx
|
|
||||||
import trezor.enums.TezosSignedTx
|
|
||||||
trezor.enums.TezosTransactionOp
|
|
||||||
import trezor.enums.TezosTransactionOp
|
|
||||||
trezor.enums.TransactionType
|
|
||||||
import trezor.enums.TransactionType
|
|
||||||
trezor.enums.TxAck
|
|
||||||
import trezor.enums.TxAck
|
|
||||||
trezor.enums.TxAckInput
|
|
||||||
import trezor.enums.TxAckInput
|
|
||||||
trezor.enums.TxAckInputWrapper
|
|
||||||
import trezor.enums.TxAckInputWrapper
|
|
||||||
trezor.enums.TxAckOutput
|
|
||||||
import trezor.enums.TxAckOutput
|
|
||||||
trezor.enums.TxAckOutputWrapper
|
|
||||||
import trezor.enums.TxAckOutputWrapper
|
|
||||||
trezor.enums.TxAckPrevExtraData
|
|
||||||
import trezor.enums.TxAckPrevExtraData
|
|
||||||
trezor.enums.TxAckPrevExtraDataWrapper
|
|
||||||
import trezor.enums.TxAckPrevExtraDataWrapper
|
|
||||||
trezor.enums.TxAckPrevInput
|
|
||||||
import trezor.enums.TxAckPrevInput
|
|
||||||
trezor.enums.TxAckPrevInputWrapper
|
|
||||||
import trezor.enums.TxAckPrevInputWrapper
|
|
||||||
trezor.enums.TxAckPrevMeta
|
|
||||||
import trezor.enums.TxAckPrevMeta
|
|
||||||
trezor.enums.TxAckPrevOutput
|
|
||||||
import trezor.enums.TxAckPrevOutput
|
|
||||||
trezor.enums.TxAckPrevOutputWrapper
|
|
||||||
import trezor.enums.TxAckPrevOutputWrapper
|
|
||||||
trezor.enums.TxInput
|
|
||||||
import trezor.enums.TxInput
|
|
||||||
trezor.enums.TxInputType
|
|
||||||
import trezor.enums.TxInputType
|
|
||||||
trezor.enums.TxOutput
|
|
||||||
import trezor.enums.TxOutput
|
|
||||||
trezor.enums.TxOutputBinType
|
|
||||||
import trezor.enums.TxOutputBinType
|
|
||||||
trezor.enums.TxOutputType
|
|
||||||
import trezor.enums.TxOutputType
|
|
||||||
trezor.enums.TxRequest
|
|
||||||
import trezor.enums.TxRequest
|
|
||||||
trezor.enums.TxRequestDetailsType
|
|
||||||
import trezor.enums.TxRequestDetailsType
|
|
||||||
trezor.enums.TxRequestSerializedType
|
|
||||||
import trezor.enums.TxRequestSerializedType
|
|
||||||
trezor.enums.VerifyMessage
|
|
||||||
import trezor.enums.VerifyMessage
|
|
||||||
trezor.enums.WebAuthnAddResidentCredential
|
|
||||||
import trezor.enums.WebAuthnAddResidentCredential
|
|
||||||
trezor.enums.WebAuthnCredential
|
|
||||||
import trezor.enums.WebAuthnCredential
|
|
||||||
trezor.enums.WebAuthnCredentials
|
|
||||||
import trezor.enums.WebAuthnCredentials
|
|
||||||
trezor.enums.WebAuthnListResidentCredentials
|
|
||||||
import trezor.enums.WebAuthnListResidentCredentials
|
|
||||||
trezor.enums.WebAuthnRemoveResidentCredential
|
|
||||||
import trezor.enums.WebAuthnRemoveResidentCredential
|
|
||||||
trezor.enums.WipeDevice
|
|
||||||
import trezor.enums.WipeDevice
|
|
||||||
trezor.errors
|
trezor.errors
|
||||||
import trezor.errors
|
import trezor.errors
|
||||||
trezor.log
|
trezor.log
|
||||||
@ -714,6 +128,8 @@ trezor.messages
|
|||||||
import trezor.messages
|
import trezor.messages
|
||||||
trezor.pin
|
trezor.pin
|
||||||
import trezor.pin
|
import trezor.pin
|
||||||
|
trezor.protobuf
|
||||||
|
import trezor.protobuf
|
||||||
trezor.res
|
trezor.res
|
||||||
import trezor.res
|
import trezor.res
|
||||||
trezor.res.resources
|
trezor.res.resources
|
||||||
@ -792,18 +208,6 @@ apps
|
|||||||
import apps
|
import apps
|
||||||
apps.base
|
apps.base
|
||||||
import apps.base
|
import apps.base
|
||||||
apps.binance
|
|
||||||
import apps.binance
|
|
||||||
apps.binance.get_address
|
|
||||||
import apps.binance.get_address
|
|
||||||
apps.binance.get_public_key
|
|
||||||
import apps.binance.get_public_key
|
|
||||||
apps.binance.helpers
|
|
||||||
import apps.binance.helpers
|
|
||||||
apps.binance.layout
|
|
||||||
import apps.binance.layout
|
|
||||||
apps.binance.sign_tx
|
|
||||||
import apps.binance.sign_tx
|
|
||||||
apps.bitcoin
|
apps.bitcoin
|
||||||
import apps.bitcoin
|
import apps.bitcoin
|
||||||
apps.bitcoin.addresses
|
apps.bitcoin.addresses
|
||||||
@ -870,40 +274,6 @@ apps.bitcoin.verify_message
|
|||||||
import apps.bitcoin.verify_message
|
import apps.bitcoin.verify_message
|
||||||
apps.bitcoin.writers
|
apps.bitcoin.writers
|
||||||
import apps.bitcoin.writers
|
import apps.bitcoin.writers
|
||||||
apps.cardano
|
|
||||||
import apps.cardano
|
|
||||||
apps.cardano.address
|
|
||||||
import apps.cardano.address
|
|
||||||
apps.cardano.auxiliary_data
|
|
||||||
import apps.cardano.auxiliary_data
|
|
||||||
apps.cardano.byron_address
|
|
||||||
import apps.cardano.byron_address
|
|
||||||
apps.cardano.certificates
|
|
||||||
import apps.cardano.certificates
|
|
||||||
apps.cardano.get_address
|
|
||||||
import apps.cardano.get_address
|
|
||||||
apps.cardano.get_public_key
|
|
||||||
import apps.cardano.get_public_key
|
|
||||||
apps.cardano.helpers
|
|
||||||
import apps.cardano.helpers
|
|
||||||
apps.cardano.helpers.bech32
|
|
||||||
import apps.cardano.helpers.bech32
|
|
||||||
apps.cardano.helpers.network_ids
|
|
||||||
import apps.cardano.helpers.network_ids
|
|
||||||
apps.cardano.helpers.paths
|
|
||||||
import apps.cardano.helpers.paths
|
|
||||||
apps.cardano.helpers.protocol_magics
|
|
||||||
import apps.cardano.helpers.protocol_magics
|
|
||||||
apps.cardano.helpers.staking_use_cases
|
|
||||||
import apps.cardano.helpers.staking_use_cases
|
|
||||||
apps.cardano.helpers.utils
|
|
||||||
import apps.cardano.helpers.utils
|
|
||||||
apps.cardano.layout
|
|
||||||
import apps.cardano.layout
|
|
||||||
apps.cardano.seed
|
|
||||||
import apps.cardano.seed
|
|
||||||
apps.cardano.sign_tx
|
|
||||||
import apps.cardano.sign_tx
|
|
||||||
apps.common
|
apps.common
|
||||||
import apps.common
|
import apps.common
|
||||||
apps.common.address_type
|
apps.common.address_type
|
||||||
@ -922,8 +292,6 @@ apps.common.keychain
|
|||||||
import apps.common.keychain
|
import apps.common.keychain
|
||||||
apps.common.layout
|
apps.common.layout
|
||||||
import apps.common.layout
|
import apps.common.layout
|
||||||
apps.common.mnemonic
|
|
||||||
import apps.common.mnemonic
|
|
||||||
apps.common.passphrase
|
apps.common.passphrase
|
||||||
import apps.common.passphrase
|
import apps.common.passphrase
|
||||||
apps.common.paths
|
apps.common.paths
|
||||||
@ -946,66 +314,12 @@ apps.debug
|
|||||||
import apps.debug
|
import apps.debug
|
||||||
apps.debug.load_device
|
apps.debug.load_device
|
||||||
import apps.debug.load_device
|
import apps.debug.load_device
|
||||||
apps.eos
|
|
||||||
import apps.eos
|
|
||||||
apps.eos.actions
|
|
||||||
import apps.eos.actions
|
|
||||||
apps.eos.actions.layout
|
|
||||||
import apps.eos.actions.layout
|
|
||||||
apps.eos.get_public_key
|
|
||||||
import apps.eos.get_public_key
|
|
||||||
apps.eos.helpers
|
|
||||||
import apps.eos.helpers
|
|
||||||
apps.eos.layout
|
|
||||||
import apps.eos.layout
|
|
||||||
apps.eos.sign_tx
|
|
||||||
import apps.eos.sign_tx
|
|
||||||
apps.eos.writers
|
|
||||||
import apps.eos.writers
|
|
||||||
apps.ethereum
|
|
||||||
import apps.ethereum
|
|
||||||
apps.ethereum.address
|
|
||||||
import apps.ethereum.address
|
|
||||||
apps.ethereum.get_address
|
|
||||||
import apps.ethereum.get_address
|
|
||||||
apps.ethereum.get_public_key
|
|
||||||
import apps.ethereum.get_public_key
|
|
||||||
apps.ethereum.keychain
|
|
||||||
import apps.ethereum.keychain
|
|
||||||
apps.ethereum.layout
|
|
||||||
import apps.ethereum.layout
|
|
||||||
apps.ethereum.networks
|
|
||||||
import apps.ethereum.networks
|
|
||||||
apps.ethereum.sign_message
|
|
||||||
import apps.ethereum.sign_message
|
|
||||||
apps.ethereum.sign_tx
|
|
||||||
import apps.ethereum.sign_tx
|
|
||||||
apps.ethereum.tokens
|
|
||||||
import apps.ethereum.tokens
|
|
||||||
apps.ethereum.verify_message
|
|
||||||
import apps.ethereum.verify_message
|
|
||||||
apps.homescreen
|
apps.homescreen
|
||||||
import apps.homescreen
|
import apps.homescreen
|
||||||
apps.homescreen.homescreen
|
apps.homescreen.homescreen
|
||||||
import apps.homescreen.homescreen
|
import apps.homescreen.homescreen
|
||||||
apps.homescreen.lockscreen
|
apps.homescreen.lockscreen
|
||||||
import apps.homescreen.lockscreen
|
import apps.homescreen.lockscreen
|
||||||
apps.lisk
|
|
||||||
import apps.lisk
|
|
||||||
apps.lisk.get_address
|
|
||||||
import apps.lisk.get_address
|
|
||||||
apps.lisk.get_public_key
|
|
||||||
import apps.lisk.get_public_key
|
|
||||||
apps.lisk.helpers
|
|
||||||
import apps.lisk.helpers
|
|
||||||
apps.lisk.layout
|
|
||||||
import apps.lisk.layout
|
|
||||||
apps.lisk.sign_message
|
|
||||||
import apps.lisk.sign_message
|
|
||||||
apps.lisk.sign_tx
|
|
||||||
import apps.lisk.sign_tx
|
|
||||||
apps.lisk.verify_message
|
|
||||||
import apps.lisk.verify_message
|
|
||||||
apps.management
|
apps.management
|
||||||
import apps.management
|
import apps.management
|
||||||
apps.management.apply_flags
|
apps.management.apply_flags
|
||||||
@ -1056,6 +370,138 @@ apps.misc.get_entropy
|
|||||||
import apps.misc.get_entropy
|
import apps.misc.get_entropy
|
||||||
apps.misc.sign_identity
|
apps.misc.sign_identity
|
||||||
import apps.misc.sign_identity
|
import apps.misc.sign_identity
|
||||||
|
apps.workflow_handlers
|
||||||
|
import apps.workflow_handlers
|
||||||
|
|
||||||
|
if utils.BITCOIN_ONLY:
|
||||||
|
trezor.enums.BinanceOrderSide
|
||||||
|
import trezor.enums.BinanceOrderSide
|
||||||
|
trezor.enums.BinanceOrderType
|
||||||
|
import trezor.enums.BinanceOrderType
|
||||||
|
trezor.enums.BinanceTimeInForce
|
||||||
|
import trezor.enums.BinanceTimeInForce
|
||||||
|
trezor.enums.CardanoAddressType
|
||||||
|
import trezor.enums.CardanoAddressType
|
||||||
|
trezor.enums.CardanoCertificateType
|
||||||
|
import trezor.enums.CardanoCertificateType
|
||||||
|
trezor.enums.CardanoPoolRelayType
|
||||||
|
import trezor.enums.CardanoPoolRelayType
|
||||||
|
trezor.enums.LiskTransactionType
|
||||||
|
import trezor.enums.LiskTransactionType
|
||||||
|
trezor.enums.NEMImportanceTransferMode
|
||||||
|
import trezor.enums.NEMImportanceTransferMode
|
||||||
|
trezor.enums.NEMModificationType
|
||||||
|
import trezor.enums.NEMModificationType
|
||||||
|
trezor.enums.NEMMosaicLevy
|
||||||
|
import trezor.enums.NEMMosaicLevy
|
||||||
|
trezor.enums.NEMSupplyChangeType
|
||||||
|
import trezor.enums.NEMSupplyChangeType
|
||||||
|
trezor.enums.TezosBallotType
|
||||||
|
import trezor.enums.TezosBallotType
|
||||||
|
trezor.enums.TezosContractType
|
||||||
|
import trezor.enums.TezosContractType
|
||||||
|
apps.binance
|
||||||
|
import apps.binance
|
||||||
|
apps.binance.get_address
|
||||||
|
import apps.binance.get_address
|
||||||
|
apps.binance.get_public_key
|
||||||
|
import apps.binance.get_public_key
|
||||||
|
apps.binance.helpers
|
||||||
|
import apps.binance.helpers
|
||||||
|
apps.binance.layout
|
||||||
|
import apps.binance.layout
|
||||||
|
apps.binance.sign_tx
|
||||||
|
import apps.binance.sign_tx
|
||||||
|
apps.cardano
|
||||||
|
import apps.cardano
|
||||||
|
apps.cardano.address
|
||||||
|
import apps.cardano.address
|
||||||
|
apps.cardano.auxiliary_data
|
||||||
|
import apps.cardano.auxiliary_data
|
||||||
|
apps.cardano.byron_address
|
||||||
|
import apps.cardano.byron_address
|
||||||
|
apps.cardano.certificates
|
||||||
|
import apps.cardano.certificates
|
||||||
|
apps.cardano.get_address
|
||||||
|
import apps.cardano.get_address
|
||||||
|
apps.cardano.get_public_key
|
||||||
|
import apps.cardano.get_public_key
|
||||||
|
apps.cardano.helpers
|
||||||
|
import apps.cardano.helpers
|
||||||
|
apps.cardano.helpers.bech32
|
||||||
|
import apps.cardano.helpers.bech32
|
||||||
|
apps.cardano.helpers.network_ids
|
||||||
|
import apps.cardano.helpers.network_ids
|
||||||
|
apps.cardano.helpers.paths
|
||||||
|
import apps.cardano.helpers.paths
|
||||||
|
apps.cardano.helpers.protocol_magics
|
||||||
|
import apps.cardano.helpers.protocol_magics
|
||||||
|
apps.cardano.helpers.staking_use_cases
|
||||||
|
import apps.cardano.helpers.staking_use_cases
|
||||||
|
apps.cardano.helpers.utils
|
||||||
|
import apps.cardano.helpers.utils
|
||||||
|
apps.cardano.layout
|
||||||
|
import apps.cardano.layout
|
||||||
|
apps.cardano.seed
|
||||||
|
import apps.cardano.seed
|
||||||
|
apps.cardano.sign_tx
|
||||||
|
import apps.cardano.sign_tx
|
||||||
|
apps.common.mnemonic
|
||||||
|
import apps.common.mnemonic
|
||||||
|
apps.eos
|
||||||
|
import apps.eos
|
||||||
|
apps.eos.actions
|
||||||
|
import apps.eos.actions
|
||||||
|
apps.eos.actions.layout
|
||||||
|
import apps.eos.actions.layout
|
||||||
|
apps.eos.get_public_key
|
||||||
|
import apps.eos.get_public_key
|
||||||
|
apps.eos.helpers
|
||||||
|
import apps.eos.helpers
|
||||||
|
apps.eos.layout
|
||||||
|
import apps.eos.layout
|
||||||
|
apps.eos.sign_tx
|
||||||
|
import apps.eos.sign_tx
|
||||||
|
apps.eos.writers
|
||||||
|
import apps.eos.writers
|
||||||
|
apps.ethereum
|
||||||
|
import apps.ethereum
|
||||||
|
apps.ethereum.address
|
||||||
|
import apps.ethereum.address
|
||||||
|
apps.ethereum.get_address
|
||||||
|
import apps.ethereum.get_address
|
||||||
|
apps.ethereum.get_public_key
|
||||||
|
import apps.ethereum.get_public_key
|
||||||
|
apps.ethereum.keychain
|
||||||
|
import apps.ethereum.keychain
|
||||||
|
apps.ethereum.layout
|
||||||
|
import apps.ethereum.layout
|
||||||
|
apps.ethereum.networks
|
||||||
|
import apps.ethereum.networks
|
||||||
|
apps.ethereum.sign_message
|
||||||
|
import apps.ethereum.sign_message
|
||||||
|
apps.ethereum.sign_tx
|
||||||
|
import apps.ethereum.sign_tx
|
||||||
|
apps.ethereum.tokens
|
||||||
|
import apps.ethereum.tokens
|
||||||
|
apps.ethereum.verify_message
|
||||||
|
import apps.ethereum.verify_message
|
||||||
|
apps.lisk
|
||||||
|
import apps.lisk
|
||||||
|
apps.lisk.get_address
|
||||||
|
import apps.lisk.get_address
|
||||||
|
apps.lisk.get_public_key
|
||||||
|
import apps.lisk.get_public_key
|
||||||
|
apps.lisk.helpers
|
||||||
|
import apps.lisk.helpers
|
||||||
|
apps.lisk.layout
|
||||||
|
import apps.lisk.layout
|
||||||
|
apps.lisk.sign_message
|
||||||
|
import apps.lisk.sign_message
|
||||||
|
apps.lisk.sign_tx
|
||||||
|
import apps.lisk.sign_tx
|
||||||
|
apps.lisk.verify_message
|
||||||
|
import apps.lisk.verify_message
|
||||||
apps.monero
|
apps.monero
|
||||||
import apps.monero
|
import apps.monero
|
||||||
apps.monero.diag
|
apps.monero.diag
|
||||||
@ -1256,8 +702,6 @@ apps.webauthn.remove_resident_credential
|
|||||||
import apps.webauthn.remove_resident_credential
|
import apps.webauthn.remove_resident_credential
|
||||||
apps.webauthn.resident_credentials
|
apps.webauthn.resident_credentials
|
||||||
import apps.webauthn.resident_credentials
|
import apps.webauthn.resident_credentials
|
||||||
apps.workflow_handlers
|
|
||||||
import apps.workflow_handlers
|
|
||||||
|
|
||||||
# generate full alphabet
|
# generate full alphabet
|
||||||
a
|
a
|
||||||
|
@ -17,7 +17,35 @@ PATTERNS = (
|
|||||||
"apps/**/*.py",
|
"apps/**/*.py",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
ALTCOINS = (
|
||||||
|
"binance",
|
||||||
|
"cardano",
|
||||||
|
"eos",
|
||||||
|
"ethereum",
|
||||||
|
"lisk",
|
||||||
|
"monero",
|
||||||
|
"nem",
|
||||||
|
"ripple",
|
||||||
|
"stellar",
|
||||||
|
"tezos",
|
||||||
|
"webauthn",
|
||||||
|
)
|
||||||
|
|
||||||
pyfiles = chain.from_iterable(sorted(SRCDIR.glob(p)) for p in PATTERNS)
|
pyfiles = chain.from_iterable(sorted(SRCDIR.glob(p)) for p in PATTERNS)
|
||||||
|
|
||||||
|
def make_import_name(pyfile):
|
||||||
|
importfile = pyfile.relative_to(SRCDIR)
|
||||||
|
if importfile.name == "__init__.py":
|
||||||
|
import_name = str(importfile.parent)
|
||||||
|
else:
|
||||||
|
import_name = str(importfile.with_suffix(""))
|
||||||
|
return import_name.replace("/", ".")
|
||||||
|
|
||||||
|
imports = [make_import_name(f) for f in pyfiles]
|
||||||
|
|
||||||
|
imports_common = [import_name for import_name in imports if not any(a in import_name.lower() for a in ALTCOINS)]
|
||||||
|
imports_altcoin = [import_name for import_name in imports if import_name not in imports_common]
|
||||||
|
|
||||||
%>\
|
%>\
|
||||||
from trezor.utils import halt
|
from trezor.utils import halt
|
||||||
|
|
||||||
@ -44,15 +72,15 @@ halt("Tried to import excluded module.")
|
|||||||
# interned, and some operation somewhere (rendering?) is reading strings character by
|
# interned, and some operation somewhere (rendering?) is reading strings character by
|
||||||
# character.
|
# character.
|
||||||
|
|
||||||
% for pyfile in pyfiles:
|
from trezor import utils
|
||||||
<%
|
|
||||||
pyfile = pyfile.relative_to(SRCDIR)
|
% for import_name in imports_common:
|
||||||
if pyfile.name == "__init__.py":
|
${import_name}
|
||||||
import_name = str(pyfile.parent)
|
import ${import_name}
|
||||||
else:
|
% endfor
|
||||||
import_name = str(pyfile.with_suffix(""))
|
|
||||||
import_name = import_name.replace("/", ".")
|
if utils.BITCOIN_ONLY:
|
||||||
%>\
|
% for import_name in imports_altcoin:
|
||||||
${import_name}
|
${import_name}
|
||||||
import ${import_name}
|
import ${import_name}
|
||||||
% endfor
|
% endfor
|
||||||
|
Loading…
Reference in New Issue
Block a user