1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-02-21 03:52:04 +00:00
trezor-firmware/src/apps/ethereum/__init__.py

14 lines
428 B
Python
Raw Normal View History

2016-12-08 15:18:12 +00:00
from trezor.wire import register, protobuf_workflow
from trezor.utils import unimport
from trezor.messages.wire_types import \
EthereumGetAddress
@unimport
def dispatch_EthereumGetAddress(*args, **kwargs):
2016-12-08 15:18:12 +00:00
from .ethereum_get_address import layout_ethereum_get_address
return layout_ethereum_get_address(*args, **kwargs)
def boot():
2016-12-08 15:18:12 +00:00
register(EthereumGetAddress, protobuf_workflow, dispatch_EthereumGetAddress)