mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-24 08:28:12 +00:00
6efe4e4418
drop `from future import` in __init__.py, import just the name, not *
19 lines
587 B
Python
19 lines
587 B
Python
# Automatically generated by pb2py
|
|
from .. import protobuf as p
|
|
|
|
|
|
class EthereumSignTx(p.MessageType):
|
|
FIELDS = {
|
|
1: ('address_n', p.UVarintType, p.FLAG_REPEATED),
|
|
2: ('nonce', p.BytesType, 0),
|
|
3: ('gas_price', p.BytesType, 0),
|
|
4: ('gas_limit', p.BytesType, 0),
|
|
5: ('to', p.BytesType, 0),
|
|
6: ('value', p.BytesType, 0),
|
|
7: ('data_initial_chunk', p.BytesType, 0),
|
|
8: ('data_length', p.UVarintType, 0),
|
|
9: ('chain_id', p.UVarintType, 0),
|
|
10: ('tx_type', p.UVarintType, 0),
|
|
}
|
|
MESSAGE_WIRE_TYPE = 58
|