mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-26 17:38:39 +00:00
common: update trezor-common submodule
This commit is contained in:
parent
688fe06e93
commit
c0418333c1
9
trezorlib/messages/LiskAddress.py
Normal file
9
trezorlib/messages/LiskAddress.py
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# Automatically generated by pb2py
|
||||||
|
from .. import protobuf as p
|
||||||
|
|
||||||
|
|
||||||
|
class LiskAddress(p.MessageType):
|
||||||
|
FIELDS = {
|
||||||
|
1: ('address', p.UnicodeType, 0),
|
||||||
|
}
|
||||||
|
MESSAGE_WIRE_TYPE = 115
|
8
trezorlib/messages/LiskDelegateType.py
Normal file
8
trezorlib/messages/LiskDelegateType.py
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
# Automatically generated by pb2py
|
||||||
|
from .. import protobuf as p
|
||||||
|
|
||||||
|
|
||||||
|
class LiskDelegateType(p.MessageType):
|
||||||
|
FIELDS = {
|
||||||
|
1: ('username', p.UnicodeType, 0),
|
||||||
|
}
|
10
trezorlib/messages/LiskGetAddress.py
Normal file
10
trezorlib/messages/LiskGetAddress.py
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# Automatically generated by pb2py
|
||||||
|
from .. import protobuf as p
|
||||||
|
|
||||||
|
|
||||||
|
class LiskGetAddress(p.MessageType):
|
||||||
|
FIELDS = {
|
||||||
|
1: ('address_n', p.UVarintType, p.FLAG_REPEATED),
|
||||||
|
2: ('show_display', p.BoolType, 0),
|
||||||
|
}
|
||||||
|
MESSAGE_WIRE_TYPE = 114
|
10
trezorlib/messages/LiskGetPublicKey.py
Normal file
10
trezorlib/messages/LiskGetPublicKey.py
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# Automatically generated by pb2py
|
||||||
|
from .. import protobuf as p
|
||||||
|
|
||||||
|
|
||||||
|
class LiskGetPublicKey(p.MessageType):
|
||||||
|
FIELDS = {
|
||||||
|
1: ('address_n', p.UVarintType, p.FLAG_REPEATED),
|
||||||
|
2: ('show_display', p.BoolType, 0),
|
||||||
|
}
|
||||||
|
MESSAGE_WIRE_TYPE = 121
|
10
trezorlib/messages/LiskMessageSignature.py
Normal file
10
trezorlib/messages/LiskMessageSignature.py
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# Automatically generated by pb2py
|
||||||
|
from .. import protobuf as p
|
||||||
|
|
||||||
|
|
||||||
|
class LiskMessageSignature(p.MessageType):
|
||||||
|
FIELDS = {
|
||||||
|
1: ('address', p.UnicodeType, 0),
|
||||||
|
2: ('signature', p.BytesType, 0),
|
||||||
|
}
|
||||||
|
MESSAGE_WIRE_TYPE = 119
|
10
trezorlib/messages/LiskMultisignatureType.py
Normal file
10
trezorlib/messages/LiskMultisignatureType.py
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# Automatically generated by pb2py
|
||||||
|
from .. import protobuf as p
|
||||||
|
|
||||||
|
|
||||||
|
class LiskMultisignatureType(p.MessageType):
|
||||||
|
FIELDS = {
|
||||||
|
1: ('min', p.UVarintType, 0),
|
||||||
|
2: ('life_time', p.UVarintType, 0),
|
||||||
|
3: ('keys_group', p.UnicodeType, p.FLAG_REPEATED),
|
||||||
|
}
|
9
trezorlib/messages/LiskPublicKey.py
Normal file
9
trezorlib/messages/LiskPublicKey.py
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# Automatically generated by pb2py
|
||||||
|
from .. import protobuf as p
|
||||||
|
|
||||||
|
|
||||||
|
class LiskPublicKey(p.MessageType):
|
||||||
|
FIELDS = {
|
||||||
|
1: ('public_key', p.BytesType, 0),
|
||||||
|
}
|
||||||
|
MESSAGE_WIRE_TYPE = 122
|
10
trezorlib/messages/LiskSignMessage.py
Normal file
10
trezorlib/messages/LiskSignMessage.py
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# Automatically generated by pb2py
|
||||||
|
from .. import protobuf as p
|
||||||
|
|
||||||
|
|
||||||
|
class LiskSignMessage(p.MessageType):
|
||||||
|
FIELDS = {
|
||||||
|
1: ('address_n', p.UVarintType, p.FLAG_REPEATED),
|
||||||
|
2: ('message', p.BytesType, 0),
|
||||||
|
}
|
||||||
|
MESSAGE_WIRE_TYPE = 118
|
11
trezorlib/messages/LiskSignTx.py
Normal file
11
trezorlib/messages/LiskSignTx.py
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
# Automatically generated by pb2py
|
||||||
|
from .. import protobuf as p
|
||||||
|
from .LiskTransactionCommon import LiskTransactionCommon
|
||||||
|
|
||||||
|
|
||||||
|
class LiskSignTx(p.MessageType):
|
||||||
|
FIELDS = {
|
||||||
|
1: ('address_n', p.UVarintType, p.FLAG_REPEATED),
|
||||||
|
2: ('transaction', LiskTransactionCommon, 0),
|
||||||
|
}
|
||||||
|
MESSAGE_WIRE_TYPE = 116
|
8
trezorlib/messages/LiskSignatureType.py
Normal file
8
trezorlib/messages/LiskSignatureType.py
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
# Automatically generated by pb2py
|
||||||
|
from .. import protobuf as p
|
||||||
|
|
||||||
|
|
||||||
|
class LiskSignatureType(p.MessageType):
|
||||||
|
FIELDS = {
|
||||||
|
1: ('public_key', p.BytesType, 0),
|
||||||
|
}
|
9
trezorlib/messages/LiskSignedTx.py
Normal file
9
trezorlib/messages/LiskSignedTx.py
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# Automatically generated by pb2py
|
||||||
|
from .. import protobuf as p
|
||||||
|
|
||||||
|
|
||||||
|
class LiskSignedTx(p.MessageType):
|
||||||
|
FIELDS = {
|
||||||
|
1: ('signature', p.BytesType, 0),
|
||||||
|
}
|
||||||
|
MESSAGE_WIRE_TYPE = 117
|
15
trezorlib/messages/LiskTransactionAsset.py
Normal file
15
trezorlib/messages/LiskTransactionAsset.py
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
# Automatically generated by pb2py
|
||||||
|
from .. import protobuf as p
|
||||||
|
from .LiskDelegateType import LiskDelegateType
|
||||||
|
from .LiskMultisignatureType import LiskMultisignatureType
|
||||||
|
from .LiskSignatureType import LiskSignatureType
|
||||||
|
|
||||||
|
|
||||||
|
class LiskTransactionAsset(p.MessageType):
|
||||||
|
FIELDS = {
|
||||||
|
1: ('signature', LiskSignatureType, 0),
|
||||||
|
2: ('delegate', LiskDelegateType, 0),
|
||||||
|
3: ('votes', p.UnicodeType, p.FLAG_REPEATED),
|
||||||
|
4: ('multisignature', LiskMultisignatureType, 0),
|
||||||
|
5: ('data', p.UnicodeType, 0),
|
||||||
|
}
|
17
trezorlib/messages/LiskTransactionCommon.py
Normal file
17
trezorlib/messages/LiskTransactionCommon.py
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
# Automatically generated by pb2py
|
||||||
|
from .. import protobuf as p
|
||||||
|
from .LiskTransactionAsset import LiskTransactionAsset
|
||||||
|
|
||||||
|
|
||||||
|
class LiskTransactionCommon(p.MessageType):
|
||||||
|
FIELDS = {
|
||||||
|
1: ('type', p.UVarintType, 0),
|
||||||
|
2: ('amount', p.UVarintType, 0), # default=0
|
||||||
|
3: ('fee', p.UVarintType, 0),
|
||||||
|
4: ('recipient_id', p.UnicodeType, 0),
|
||||||
|
5: ('sender_public_key', p.BytesType, 0),
|
||||||
|
6: ('requester_public_key', p.BytesType, 0),
|
||||||
|
7: ('signature', p.BytesType, 0),
|
||||||
|
8: ('timestamp', p.UVarintType, 0),
|
||||||
|
9: ('asset', LiskTransactionAsset, 0),
|
||||||
|
}
|
9
trezorlib/messages/LiskTransactionType.py
Normal file
9
trezorlib/messages/LiskTransactionType.py
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# Automatically generated by pb2py
|
||||||
|
Transfer = 0
|
||||||
|
RegisterSecondPassphrase = 1
|
||||||
|
RegisterDelegate = 2
|
||||||
|
CastVotes = 3
|
||||||
|
RegisterMultisignatureAccount = 4
|
||||||
|
CreateDapp = 5
|
||||||
|
TransferIntoDapp = 6
|
||||||
|
TransferOutOfDapp = 7
|
11
trezorlib/messages/LiskVerifyMessage.py
Normal file
11
trezorlib/messages/LiskVerifyMessage.py
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
# Automatically generated by pb2py
|
||||||
|
from .. import protobuf as p
|
||||||
|
|
||||||
|
|
||||||
|
class LiskVerifyMessage(p.MessageType):
|
||||||
|
FIELDS = {
|
||||||
|
1: ('signature', p.BytesType, 0),
|
||||||
|
2: ('public_key', p.BytesType, 0),
|
||||||
|
3: ('message', p.BytesType, 0),
|
||||||
|
}
|
||||||
|
MESSAGE_WIRE_TYPE = 120
|
@ -84,3 +84,31 @@ DebugLinkMemoryRead = 110
|
|||||||
DebugLinkMemory = 111
|
DebugLinkMemory = 111
|
||||||
DebugLinkMemoryWrite = 112
|
DebugLinkMemoryWrite = 112
|
||||||
DebugLinkFlashErase = 113
|
DebugLinkFlashErase = 113
|
||||||
|
LiskGetAddress = 114
|
||||||
|
LiskAddress = 115
|
||||||
|
LiskSignTx = 116
|
||||||
|
LiskSignedTx = 117
|
||||||
|
LiskSignMessage = 118
|
||||||
|
LiskMessageSignature = 119
|
||||||
|
LiskVerifyMessage = 120
|
||||||
|
LiskGetPublicKey = 121
|
||||||
|
LiskPublicKey = 122
|
||||||
|
StellarGetPublicKey = 200
|
||||||
|
StellarPublicKey = 201
|
||||||
|
StellarSignTx = 202
|
||||||
|
StellarTxOpRequest = 203
|
||||||
|
StellarSignMessage = 204
|
||||||
|
StellarMessageSignature = 205
|
||||||
|
StellarVerifyMessage = 206
|
||||||
|
StellarCreateAccountOp = 210
|
||||||
|
StellarPaymentOp = 211
|
||||||
|
StellarPathPaymentOp = 212
|
||||||
|
StellarManageOfferOp = 213
|
||||||
|
StellarCreatePassiveOfferOp = 214
|
||||||
|
StellarSetOptionsOp = 215
|
||||||
|
StellarChangeTrustOp = 216
|
||||||
|
StellarAllowTrustOp = 217
|
||||||
|
StellarAccountMergeOp = 218
|
||||||
|
StellarManageDataOp = 220
|
||||||
|
StellarBumpSequenceOp = 221
|
||||||
|
StellarSignedTx = 230
|
||||||
|
10
trezorlib/messages/StellarAccountMergeOp.py
Normal file
10
trezorlib/messages/StellarAccountMergeOp.py
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# Automatically generated by pb2py
|
||||||
|
from .. import protobuf as p
|
||||||
|
|
||||||
|
|
||||||
|
class StellarAccountMergeOp(p.MessageType):
|
||||||
|
FIELDS = {
|
||||||
|
1: ('source_account', p.BytesType, 0),
|
||||||
|
2: ('destination_account', p.BytesType, 0),
|
||||||
|
}
|
||||||
|
MESSAGE_WIRE_TYPE = 218
|
13
trezorlib/messages/StellarAllowTrustOp.py
Normal file
13
trezorlib/messages/StellarAllowTrustOp.py
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# Automatically generated by pb2py
|
||||||
|
from .. import protobuf as p
|
||||||
|
|
||||||
|
|
||||||
|
class StellarAllowTrustOp(p.MessageType):
|
||||||
|
FIELDS = {
|
||||||
|
1: ('source_account', p.BytesType, 0),
|
||||||
|
2: ('trusted_account', p.BytesType, 0),
|
||||||
|
3: ('asset_type', p.UVarintType, 0),
|
||||||
|
4: ('asset_code', p.UnicodeType, 0),
|
||||||
|
5: ('is_authorized', p.UVarintType, 0),
|
||||||
|
}
|
||||||
|
MESSAGE_WIRE_TYPE = 217
|
10
trezorlib/messages/StellarAssetType.py
Normal file
10
trezorlib/messages/StellarAssetType.py
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# Automatically generated by pb2py
|
||||||
|
from .. import protobuf as p
|
||||||
|
|
||||||
|
|
||||||
|
class StellarAssetType(p.MessageType):
|
||||||
|
FIELDS = {
|
||||||
|
1: ('type', p.UVarintType, 0),
|
||||||
|
2: ('code', p.UnicodeType, 0),
|
||||||
|
3: ('issuer', p.BytesType, 0),
|
||||||
|
}
|
10
trezorlib/messages/StellarBumpSequenceOp.py
Normal file
10
trezorlib/messages/StellarBumpSequenceOp.py
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# Automatically generated by pb2py
|
||||||
|
from .. import protobuf as p
|
||||||
|
|
||||||
|
|
||||||
|
class StellarBumpSequenceOp(p.MessageType):
|
||||||
|
FIELDS = {
|
||||||
|
1: ('source_account', p.BytesType, 0),
|
||||||
|
2: ('bump_to', p.UVarintType, 0),
|
||||||
|
}
|
||||||
|
MESSAGE_WIRE_TYPE = 221
|
12
trezorlib/messages/StellarChangeTrustOp.py
Normal file
12
trezorlib/messages/StellarChangeTrustOp.py
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
# Automatically generated by pb2py
|
||||||
|
from .. import protobuf as p
|
||||||
|
from .StellarAssetType import StellarAssetType
|
||||||
|
|
||||||
|
|
||||||
|
class StellarChangeTrustOp(p.MessageType):
|
||||||
|
FIELDS = {
|
||||||
|
1: ('source_account', p.BytesType, 0),
|
||||||
|
2: ('asset', StellarAssetType, 0),
|
||||||
|
3: ('limit', p.UVarintType, 0),
|
||||||
|
}
|
||||||
|
MESSAGE_WIRE_TYPE = 216
|
11
trezorlib/messages/StellarCreateAccountOp.py
Normal file
11
trezorlib/messages/StellarCreateAccountOp.py
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
# Automatically generated by pb2py
|
||||||
|
from .. import protobuf as p
|
||||||
|
|
||||||
|
|
||||||
|
class StellarCreateAccountOp(p.MessageType):
|
||||||
|
FIELDS = {
|
||||||
|
1: ('source_account', p.BytesType, 0),
|
||||||
|
2: ('new_account', p.BytesType, 0),
|
||||||
|
3: ('starting_balance', p.Sint64Type, 0),
|
||||||
|
}
|
||||||
|
MESSAGE_WIRE_TYPE = 210
|
15
trezorlib/messages/StellarCreatePassiveOfferOp.py
Normal file
15
trezorlib/messages/StellarCreatePassiveOfferOp.py
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
# Automatically generated by pb2py
|
||||||
|
from .. import protobuf as p
|
||||||
|
from .StellarAssetType import StellarAssetType
|
||||||
|
|
||||||
|
|
||||||
|
class StellarCreatePassiveOfferOp(p.MessageType):
|
||||||
|
FIELDS = {
|
||||||
|
1: ('source_account', p.BytesType, 0),
|
||||||
|
2: ('selling_asset', StellarAssetType, 0),
|
||||||
|
3: ('buying_asset', StellarAssetType, 0),
|
||||||
|
4: ('amount', p.Sint64Type, 0),
|
||||||
|
5: ('price_n', p.UVarintType, 0),
|
||||||
|
6: ('price_d', p.UVarintType, 0),
|
||||||
|
}
|
||||||
|
MESSAGE_WIRE_TYPE = 214
|
9
trezorlib/messages/StellarGetPublicKey.py
Normal file
9
trezorlib/messages/StellarGetPublicKey.py
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# Automatically generated by pb2py
|
||||||
|
from .. import protobuf as p
|
||||||
|
|
||||||
|
|
||||||
|
class StellarGetPublicKey(p.MessageType):
|
||||||
|
FIELDS = {
|
||||||
|
1: ('address_n', p.UVarintType, p.FLAG_REPEATED),
|
||||||
|
}
|
||||||
|
MESSAGE_WIRE_TYPE = 200
|
11
trezorlib/messages/StellarManageDataOp.py
Normal file
11
trezorlib/messages/StellarManageDataOp.py
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
# Automatically generated by pb2py
|
||||||
|
from .. import protobuf as p
|
||||||
|
|
||||||
|
|
||||||
|
class StellarManageDataOp(p.MessageType):
|
||||||
|
FIELDS = {
|
||||||
|
1: ('source_account', p.BytesType, 0),
|
||||||
|
2: ('key', p.UnicodeType, 0),
|
||||||
|
3: ('value', p.BytesType, 0),
|
||||||
|
}
|
||||||
|
MESSAGE_WIRE_TYPE = 220
|
16
trezorlib/messages/StellarManageOfferOp.py
Normal file
16
trezorlib/messages/StellarManageOfferOp.py
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
# Automatically generated by pb2py
|
||||||
|
from .. import protobuf as p
|
||||||
|
from .StellarAssetType import StellarAssetType
|
||||||
|
|
||||||
|
|
||||||
|
class StellarManageOfferOp(p.MessageType):
|
||||||
|
FIELDS = {
|
||||||
|
1: ('source_account', p.BytesType, 0),
|
||||||
|
2: ('selling_asset', StellarAssetType, 0),
|
||||||
|
3: ('buying_asset', StellarAssetType, 0),
|
||||||
|
4: ('amount', p.Sint64Type, 0),
|
||||||
|
5: ('price_n', p.UVarintType, 0),
|
||||||
|
6: ('price_d', p.UVarintType, 0),
|
||||||
|
7: ('offer_id', p.UVarintType, 0),
|
||||||
|
}
|
||||||
|
MESSAGE_WIRE_TYPE = 213
|
10
trezorlib/messages/StellarMessageSignature.py
Normal file
10
trezorlib/messages/StellarMessageSignature.py
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# Automatically generated by pb2py
|
||||||
|
from .. import protobuf as p
|
||||||
|
|
||||||
|
|
||||||
|
class StellarMessageSignature(p.MessageType):
|
||||||
|
FIELDS = {
|
||||||
|
1: ('public_key', p.BytesType, 0),
|
||||||
|
2: ('signature', p.BytesType, 0),
|
||||||
|
}
|
||||||
|
MESSAGE_WIRE_TYPE = 205
|
16
trezorlib/messages/StellarPathPaymentOp.py
Normal file
16
trezorlib/messages/StellarPathPaymentOp.py
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
# Automatically generated by pb2py
|
||||||
|
from .. import protobuf as p
|
||||||
|
from .StellarAssetType import StellarAssetType
|
||||||
|
|
||||||
|
|
||||||
|
class StellarPathPaymentOp(p.MessageType):
|
||||||
|
FIELDS = {
|
||||||
|
1: ('source_account', p.BytesType, 0),
|
||||||
|
2: ('send_asset', StellarAssetType, 0),
|
||||||
|
3: ('send_max', p.Sint64Type, 0),
|
||||||
|
4: ('destination_account', p.BytesType, 0),
|
||||||
|
5: ('destination_asset', StellarAssetType, 0),
|
||||||
|
6: ('destination_amount', p.Sint64Type, 0),
|
||||||
|
7: ('paths', StellarAssetType, p.FLAG_REPEATED),
|
||||||
|
}
|
||||||
|
MESSAGE_WIRE_TYPE = 212
|
13
trezorlib/messages/StellarPaymentOp.py
Normal file
13
trezorlib/messages/StellarPaymentOp.py
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# Automatically generated by pb2py
|
||||||
|
from .. import protobuf as p
|
||||||
|
from .StellarAssetType import StellarAssetType
|
||||||
|
|
||||||
|
|
||||||
|
class StellarPaymentOp(p.MessageType):
|
||||||
|
FIELDS = {
|
||||||
|
1: ('source_account', p.BytesType, 0),
|
||||||
|
2: ('destination_account', p.BytesType, 0),
|
||||||
|
3: ('asset', StellarAssetType, 0),
|
||||||
|
4: ('amount', p.Sint64Type, 0),
|
||||||
|
}
|
||||||
|
MESSAGE_WIRE_TYPE = 211
|
9
trezorlib/messages/StellarPublicKey.py
Normal file
9
trezorlib/messages/StellarPublicKey.py
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# Automatically generated by pb2py
|
||||||
|
from .. import protobuf as p
|
||||||
|
|
||||||
|
|
||||||
|
class StellarPublicKey(p.MessageType):
|
||||||
|
FIELDS = {
|
||||||
|
1: ('public_key', p.BytesType, 0),
|
||||||
|
}
|
||||||
|
MESSAGE_WIRE_TYPE = 201
|
20
trezorlib/messages/StellarSetOptionsOp.py
Normal file
20
trezorlib/messages/StellarSetOptionsOp.py
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
# Automatically generated by pb2py
|
||||||
|
from .. import protobuf as p
|
||||||
|
|
||||||
|
|
||||||
|
class StellarSetOptionsOp(p.MessageType):
|
||||||
|
FIELDS = {
|
||||||
|
1: ('source_account', p.BytesType, 0),
|
||||||
|
2: ('inflation_destination_account', p.BytesType, 0),
|
||||||
|
3: ('clear_flags', p.UVarintType, 0),
|
||||||
|
4: ('set_flags', p.UVarintType, 0),
|
||||||
|
5: ('master_weight', p.UVarintType, 0),
|
||||||
|
6: ('low_threshold', p.UVarintType, 0),
|
||||||
|
7: ('medium_threshold', p.UVarintType, 0),
|
||||||
|
8: ('high_threshold', p.UVarintType, 0),
|
||||||
|
9: ('home_domain', p.UnicodeType, 0),
|
||||||
|
10: ('signer_type', p.UVarintType, 0),
|
||||||
|
11: ('signer_key', p.BytesType, 0),
|
||||||
|
12: ('signer_weight', p.UVarintType, 0),
|
||||||
|
}
|
||||||
|
MESSAGE_WIRE_TYPE = 215
|
10
trezorlib/messages/StellarSignMessage.py
Normal file
10
trezorlib/messages/StellarSignMessage.py
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# Automatically generated by pb2py
|
||||||
|
from .. import protobuf as p
|
||||||
|
|
||||||
|
|
||||||
|
class StellarSignMessage(p.MessageType):
|
||||||
|
FIELDS = {
|
||||||
|
1: ('address_n', p.UVarintType, p.FLAG_REPEATED),
|
||||||
|
2: ('message', p.UnicodeType, 0),
|
||||||
|
}
|
||||||
|
MESSAGE_WIRE_TYPE = 204
|
21
trezorlib/messages/StellarSignTx.py
Normal file
21
trezorlib/messages/StellarSignTx.py
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
# Automatically generated by pb2py
|
||||||
|
from .. import protobuf as p
|
||||||
|
|
||||||
|
|
||||||
|
class StellarSignTx(p.MessageType):
|
||||||
|
FIELDS = {
|
||||||
|
1: ('protocol_version', p.UVarintType, 0),
|
||||||
|
2: ('address_n', p.UVarintType, p.FLAG_REPEATED),
|
||||||
|
3: ('network_passphrase', p.UnicodeType, 0),
|
||||||
|
4: ('source_account', p.BytesType, 0),
|
||||||
|
5: ('fee', p.UVarintType, 0),
|
||||||
|
6: ('sequence_number', p.UVarintType, 0),
|
||||||
|
8: ('timebounds_start', p.UVarintType, 0),
|
||||||
|
9: ('timebounds_end', p.UVarintType, 0),
|
||||||
|
10: ('memo_type', p.UVarintType, 0),
|
||||||
|
11: ('memo_text', p.UnicodeType, 0),
|
||||||
|
12: ('memo_id', p.UVarintType, 0),
|
||||||
|
13: ('memo_hash', p.BytesType, 0),
|
||||||
|
14: ('num_operations', p.UVarintType, 0),
|
||||||
|
}
|
||||||
|
MESSAGE_WIRE_TYPE = 202
|
10
trezorlib/messages/StellarSignedTx.py
Normal file
10
trezorlib/messages/StellarSignedTx.py
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# Automatically generated by pb2py
|
||||||
|
from .. import protobuf as p
|
||||||
|
|
||||||
|
|
||||||
|
class StellarSignedTx(p.MessageType):
|
||||||
|
FIELDS = {
|
||||||
|
1: ('public_key', p.BytesType, 0),
|
||||||
|
2: ('signature', p.BytesType, 0),
|
||||||
|
}
|
||||||
|
MESSAGE_WIRE_TYPE = 230
|
6
trezorlib/messages/StellarTxOpRequest.py
Normal file
6
trezorlib/messages/StellarTxOpRequest.py
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
# Automatically generated by pb2py
|
||||||
|
from .. import protobuf as p
|
||||||
|
|
||||||
|
|
||||||
|
class StellarTxOpRequest(p.MessageType):
|
||||||
|
MESSAGE_WIRE_TYPE = 203
|
11
trezorlib/messages/StellarVerifyMessage.py
Normal file
11
trezorlib/messages/StellarVerifyMessage.py
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
# Automatically generated by pb2py
|
||||||
|
from .. import protobuf as p
|
||||||
|
|
||||||
|
|
||||||
|
class StellarVerifyMessage(p.MessageType):
|
||||||
|
FIELDS = {
|
||||||
|
1: ('public_key', p.BytesType, 0),
|
||||||
|
2: ('message', p.BytesType, 0),
|
||||||
|
3: ('signature', p.BytesType, 0),
|
||||||
|
}
|
||||||
|
MESSAGE_WIRE_TYPE = 206
|
@ -4,6 +4,11 @@ from .CoinType import CoinType
|
|||||||
from .HDNodePathType import HDNodePathType
|
from .HDNodePathType import HDNodePathType
|
||||||
from .HDNodeType import HDNodeType
|
from .HDNodeType import HDNodeType
|
||||||
from .IdentityType import IdentityType
|
from .IdentityType import IdentityType
|
||||||
|
from .LiskDelegateType import LiskDelegateType
|
||||||
|
from .LiskMultisignatureType import LiskMultisignatureType
|
||||||
|
from .LiskSignatureType import LiskSignatureType
|
||||||
|
from .LiskTransactionAsset import LiskTransactionAsset
|
||||||
|
from .LiskTransactionCommon import LiskTransactionCommon
|
||||||
from .MultisigRedeemScriptType import MultisigRedeemScriptType
|
from .MultisigRedeemScriptType import MultisigRedeemScriptType
|
||||||
from .NEMAggregateModification import NEMAggregateModification
|
from .NEMAggregateModification import NEMAggregateModification
|
||||||
from .NEMCosignatoryModification import NEMCosignatoryModification
|
from .NEMCosignatoryModification import NEMCosignatoryModification
|
||||||
@ -15,6 +20,7 @@ from .NEMMosaicSupplyChange import NEMMosaicSupplyChange
|
|||||||
from .NEMProvisionNamespace import NEMProvisionNamespace
|
from .NEMProvisionNamespace import NEMProvisionNamespace
|
||||||
from .NEMTransactionCommon import NEMTransactionCommon
|
from .NEMTransactionCommon import NEMTransactionCommon
|
||||||
from .NEMTransfer import NEMTransfer
|
from .NEMTransfer import NEMTransfer
|
||||||
|
from .StellarAssetType import StellarAssetType
|
||||||
from .TransactionType import TransactionType
|
from .TransactionType import TransactionType
|
||||||
from .TxInputType import TxInputType
|
from .TxInputType import TxInputType
|
||||||
from .TxOutputBinType import TxOutputBinType
|
from .TxOutputBinType import TxOutputBinType
|
||||||
@ -34,6 +40,7 @@ from . import NEMMosaicLevy
|
|||||||
from . import NEMSupplyChangeType
|
from . import NEMSupplyChangeType
|
||||||
from . import NEMModificationType
|
from . import NEMModificationType
|
||||||
from . import NEMImportanceTransferMode
|
from . import NEMImportanceTransferMode
|
||||||
|
from . import LiskTransactionType
|
||||||
from .Address import Address
|
from .Address import Address
|
||||||
from .ApplyFlags import ApplyFlags
|
from .ApplyFlags import ApplyFlags
|
||||||
from .ApplySettings import ApplySettings
|
from .ApplySettings import ApplySettings
|
||||||
@ -86,6 +93,15 @@ from .GetEntropy import GetEntropy
|
|||||||
from .GetFeatures import GetFeatures
|
from .GetFeatures import GetFeatures
|
||||||
from .GetPublicKey import GetPublicKey
|
from .GetPublicKey import GetPublicKey
|
||||||
from .Initialize import Initialize
|
from .Initialize import Initialize
|
||||||
|
from .LiskAddress import LiskAddress
|
||||||
|
from .LiskGetAddress import LiskGetAddress
|
||||||
|
from .LiskGetPublicKey import LiskGetPublicKey
|
||||||
|
from .LiskMessageSignature import LiskMessageSignature
|
||||||
|
from .LiskPublicKey import LiskPublicKey
|
||||||
|
from .LiskSignMessage import LiskSignMessage
|
||||||
|
from .LiskSignTx import LiskSignTx
|
||||||
|
from .LiskSignedTx import LiskSignedTx
|
||||||
|
from .LiskVerifyMessage import LiskVerifyMessage
|
||||||
from .LoadDevice import LoadDevice
|
from .LoadDevice import LoadDevice
|
||||||
from .MessageSignature import MessageSignature
|
from .MessageSignature import MessageSignature
|
||||||
from .NEMAddress import NEMAddress
|
from .NEMAddress import NEMAddress
|
||||||
@ -111,6 +127,25 @@ from .SignMessage import SignMessage
|
|||||||
from .SignTx import SignTx
|
from .SignTx import SignTx
|
||||||
from .SignedIdentity import SignedIdentity
|
from .SignedIdentity import SignedIdentity
|
||||||
from .SimpleSignTx import SimpleSignTx
|
from .SimpleSignTx import SimpleSignTx
|
||||||
|
from .StellarAccountMergeOp import StellarAccountMergeOp
|
||||||
|
from .StellarAllowTrustOp import StellarAllowTrustOp
|
||||||
|
from .StellarBumpSequenceOp import StellarBumpSequenceOp
|
||||||
|
from .StellarChangeTrustOp import StellarChangeTrustOp
|
||||||
|
from .StellarCreateAccountOp import StellarCreateAccountOp
|
||||||
|
from .StellarCreatePassiveOfferOp import StellarCreatePassiveOfferOp
|
||||||
|
from .StellarGetPublicKey import StellarGetPublicKey
|
||||||
|
from .StellarManageDataOp import StellarManageDataOp
|
||||||
|
from .StellarManageOfferOp import StellarManageOfferOp
|
||||||
|
from .StellarMessageSignature import StellarMessageSignature
|
||||||
|
from .StellarPathPaymentOp import StellarPathPaymentOp
|
||||||
|
from .StellarPaymentOp import StellarPaymentOp
|
||||||
|
from .StellarPublicKey import StellarPublicKey
|
||||||
|
from .StellarSetOptionsOp import StellarSetOptionsOp
|
||||||
|
from .StellarSignMessage import StellarSignMessage
|
||||||
|
from .StellarSignTx import StellarSignTx
|
||||||
|
from .StellarSignedTx import StellarSignedTx
|
||||||
|
from .StellarTxOpRequest import StellarTxOpRequest
|
||||||
|
from .StellarVerifyMessage import StellarVerifyMessage
|
||||||
from .Success import Success
|
from .Success import Success
|
||||||
from .TxAck import TxAck
|
from .TxAck import TxAck
|
||||||
from .TxRequest import TxRequest
|
from .TxRequest import TxRequest
|
||||||
|
2
vendor/trezor-common
vendored
2
vendor/trezor-common
vendored
@ -1 +1 @@
|
|||||||
Subproject commit 233456f0774dd31cc10c445313dd429ba1140971
|
Subproject commit 9abe3a7c69000cc7ee3cda2ec940193fa9d62e6c
|
Loading…
Reference in New Issue
Block a user