parent
18adf6cc4d
commit
e0d850df7d
@ -1,10 +1,23 @@
|
||||
# Automatically generated by pb2py
|
||||
from .. import protobuf as p
|
||||
if __debug__:
|
||||
try:
|
||||
from typing import List
|
||||
except ImportError:
|
||||
List = None
|
||||
|
||||
|
||||
class CosiCommit(p.MessageType):
|
||||
MESSAGE_WIRE_TYPE = 71
|
||||
FIELDS = {
|
||||
1: ('address_n', p.UVarintType, p.FLAG_REPEATED),
|
||||
2: ('data', p.BytesType, 0),
|
||||
}
|
||||
MESSAGE_WIRE_TYPE = 71
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
address_n: List[int] = None,
|
||||
data: bytes = None
|
||||
) -> None:
|
||||
self.address_n = address_n if address_n is not None else []
|
||||
self.data = data
|
||||
|
@ -1,12 +1,29 @@
|
||||
# Automatically generated by pb2py
|
||||
from .. import protobuf as p
|
||||
if __debug__:
|
||||
try:
|
||||
from typing import List
|
||||
except ImportError:
|
||||
List = None
|
||||
|
||||
|
||||
class CosiSign(p.MessageType):
|
||||
MESSAGE_WIRE_TYPE = 73
|
||||
FIELDS = {
|
||||
1: ('address_n', p.UVarintType, p.FLAG_REPEATED),
|
||||
2: ('data', p.BytesType, 0),
|
||||
3: ('global_commitment', p.BytesType, 0),
|
||||
4: ('global_pubkey', p.BytesType, 0),
|
||||
}
|
||||
MESSAGE_WIRE_TYPE = 73
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
address_n: List[int] = None,
|
||||
data: bytes = None,
|
||||
global_commitment: bytes = None,
|
||||
global_pubkey: bytes = None
|
||||
) -> None:
|
||||
self.address_n = address_n if address_n is not None else []
|
||||
self.data = data
|
||||
self.global_commitment = global_commitment
|
||||
self.global_pubkey = global_pubkey
|
||||
|
@ -1,12 +1,29 @@
|
||||
# Automatically generated by pb2py
|
||||
from .. import protobuf as p
|
||||
if __debug__:
|
||||
try:
|
||||
from typing import List
|
||||
except ImportError:
|
||||
List = None
|
||||
|
||||
|
||||
class DecryptMessage(p.MessageType):
|
||||
MESSAGE_WIRE_TYPE = 51
|
||||
FIELDS = {
|
||||
1: ('address_n', p.UVarintType, p.FLAG_REPEATED),
|
||||
2: ('nonce', p.BytesType, 0),
|
||||
3: ('message', p.BytesType, 0),
|
||||
4: ('hmac', p.BytesType, 0),
|
||||
}
|
||||
MESSAGE_WIRE_TYPE = 51
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
address_n: List[int] = None,
|
||||
nonce: bytes = None,
|
||||
message: bytes = None,
|
||||
hmac: bytes = None
|
||||
) -> None:
|
||||
self.address_n = address_n if address_n is not None else []
|
||||
self.nonce = nonce
|
||||
self.message = message
|
||||
self.hmac = hmac
|
||||
|
@ -1,10 +1,23 @@
|
||||
# Automatically generated by pb2py
|
||||
from .. import protobuf as p
|
||||
if __debug__:
|
||||
try:
|
||||
from typing import List
|
||||
except ImportError:
|
||||
List = None
|
||||
|
||||
|
||||
class EthereumGetAddress(p.MessageType):
|
||||
MESSAGE_WIRE_TYPE = 56
|
||||
FIELDS = {
|
||||
1: ('address_n', p.UVarintType, p.FLAG_REPEATED),
|
||||
2: ('show_display', p.BoolType, 0),
|
||||
}
|
||||
MESSAGE_WIRE_TYPE = 56
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
address_n: List[int] = None,
|
||||
show_display: bool = None
|
||||
) -> None:
|
||||
self.address_n = address_n if address_n is not None else []
|
||||
self.show_display = show_display
|
||||
|
@ -1,10 +1,23 @@
|
||||
# Automatically generated by pb2py
|
||||
from .. import protobuf as p
|
||||
if __debug__:
|
||||
try:
|
||||
from typing import List
|
||||
except ImportError:
|
||||
List = None
|
||||
|
||||
|
||||
class EthereumSignMessage(p.MessageType):
|
||||
MESSAGE_WIRE_TYPE = 64
|
||||
FIELDS = {
|
||||
1: ('address_n', p.UVarintType, p.FLAG_REPEATED),
|
||||
2: ('message', p.BytesType, 0), # required
|
||||
}
|
||||
MESSAGE_WIRE_TYPE = 64
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
address_n: List[int] = None,
|
||||
message: bytes = None
|
||||
) -> None:
|
||||
self.address_n = address_n if address_n is not None else []
|
||||
self.message = message
|
||||
|
@ -1,12 +1,29 @@
|
||||
# Automatically generated by pb2py
|
||||
from .. import protobuf as p
|
||||
if __debug__:
|
||||
try:
|
||||
from typing import List
|
||||
except ImportError:
|
||||
List = None
|
||||
|
||||
|
||||
class GetPublicKey(p.MessageType):
|
||||
MESSAGE_WIRE_TYPE = 11
|
||||
FIELDS = {
|
||||
1: ('address_n', p.UVarintType, p.FLAG_REPEATED),
|
||||
2: ('ecdsa_curve_name', p.UnicodeType, 0),
|
||||
3: ('show_display', p.BoolType, 0),
|
||||
4: ('coin_name', p.UnicodeType, 0), # default='Bitcoin'
|
||||
}
|
||||
MESSAGE_WIRE_TYPE = 11
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
address_n: List[int] = None,
|
||||
ecdsa_curve_name: str = None,
|
||||
show_display: bool = None,
|
||||
coin_name: str = None
|
||||
) -> None:
|
||||
self.address_n = address_n if address_n is not None else []
|
||||
self.ecdsa_curve_name = ecdsa_curve_name
|
||||
self.show_display = show_display
|
||||
self.coin_name = coin_name
|
||||
|
@ -1,10 +1,23 @@
|
||||
# Automatically generated by pb2py
|
||||
from .. import protobuf as p
|
||||
if __debug__:
|
||||
try:
|
||||
from typing import List
|
||||
except ImportError:
|
||||
List = None
|
||||
|
||||
|
||||
class LiskGetAddress(p.MessageType):
|
||||
MESSAGE_WIRE_TYPE = 114
|
||||
FIELDS = {
|
||||
1: ('address_n', p.UVarintType, p.FLAG_REPEATED),
|
||||
2: ('show_display', p.BoolType, 0),
|
||||
}
|
||||
MESSAGE_WIRE_TYPE = 114
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
address_n: List[int] = None,
|
||||
show_display: bool = None
|
||||
) -> None:
|
||||
self.address_n = address_n if address_n is not None else []
|
||||
self.show_display = show_display
|
||||
|
@ -1,10 +1,23 @@
|
||||
# Automatically generated by pb2py
|
||||
from .. import protobuf as p
|
||||
if __debug__:
|
||||
try:
|
||||
from typing import List
|
||||
except ImportError:
|
||||
List = None
|
||||
|
||||
|
||||
class LiskGetPublicKey(p.MessageType):
|
||||
MESSAGE_WIRE_TYPE = 121
|
||||
FIELDS = {
|
||||
1: ('address_n', p.UVarintType, p.FLAG_REPEATED),
|
||||
2: ('show_display', p.BoolType, 0),
|
||||
}
|
||||
MESSAGE_WIRE_TYPE = 121
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
address_n: List[int] = None,
|
||||
show_display: bool = None
|
||||
) -> None:
|
||||
self.address_n = address_n if address_n is not None else []
|
||||
self.show_display = show_display
|
||||
|
@ -1,10 +1,23 @@
|
||||
# Automatically generated by pb2py
|
||||
from .. import protobuf as p
|
||||
if __debug__:
|
||||
try:
|
||||
from typing import List
|
||||
except ImportError:
|
||||
List = None
|
||||
|
||||
|
||||
class LiskSignMessage(p.MessageType):
|
||||
MESSAGE_WIRE_TYPE = 118
|
||||
FIELDS = {
|
||||
1: ('address_n', p.UVarintType, p.FLAG_REPEATED),
|
||||
2: ('message', p.BytesType, 0),
|
||||
}
|
||||
MESSAGE_WIRE_TYPE = 118
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
address_n: List[int] = None,
|
||||
message: bytes = None
|
||||
) -> None:
|
||||
self.address_n = address_n if address_n is not None else []
|
||||
self.message = message
|
||||
|
@ -1,11 +1,24 @@
|
||||
# Automatically generated by pb2py
|
||||
from .. import protobuf as p
|
||||
if __debug__:
|
||||
try:
|
||||
from typing import List
|
||||
except ImportError:
|
||||
List = None
|
||||
from .LiskTransactionCommon import LiskTransactionCommon
|
||||
|
||||
|
||||
class LiskSignTx(p.MessageType):
|
||||
MESSAGE_WIRE_TYPE = 116
|
||||
FIELDS = {
|
||||
1: ('address_n', p.UVarintType, p.FLAG_REPEATED),
|
||||
2: ('transaction', LiskTransactionCommon, 0),
|
||||
}
|
||||
MESSAGE_WIRE_TYPE = 116
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
address_n: List[int] = None,
|
||||
transaction: LiskTransactionCommon = None
|
||||
) -> None:
|
||||
self.address_n = address_n if address_n is not None else []
|
||||
self.transaction = transaction
|
||||
|
@ -1,12 +1,29 @@
|
||||
# Automatically generated by pb2py
|
||||
from .. import protobuf as p
|
||||
if __debug__:
|
||||
try:
|
||||
from typing import List
|
||||
except ImportError:
|
||||
List = None
|
||||
|
||||
|
||||
class NEMDecryptMessage(p.MessageType):
|
||||
MESSAGE_WIRE_TYPE = 75
|
||||
FIELDS = {
|
||||
1: ('address_n', p.UVarintType, p.FLAG_REPEATED),
|
||||
2: ('network', p.UVarintType, 0),
|
||||
3: ('public_key', p.BytesType, 0),
|
||||
4: ('payload', p.BytesType, 0),
|
||||
}
|
||||
MESSAGE_WIRE_TYPE = 75
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
address_n: List[int] = None,
|
||||
network: int = None,
|
||||
public_key: bytes = None,
|
||||
payload: bytes = None
|
||||
) -> None:
|
||||
self.address_n = address_n if address_n is not None else []
|
||||
self.network = network
|
||||
self.public_key = public_key
|
||||
self.payload = payload
|
||||
|
@ -1,11 +1,26 @@
|
||||
# Automatically generated by pb2py
|
||||
from .. import protobuf as p
|
||||
if __debug__:
|
||||
try:
|
||||
from typing import List
|
||||
except ImportError:
|
||||
List = None
|
||||
|
||||
|
||||
class NEMGetAddress(p.MessageType):
|
||||
MESSAGE_WIRE_TYPE = 67
|
||||
FIELDS = {
|
||||
1: ('address_n', p.UVarintType, p.FLAG_REPEATED),
|
||||
2: ('network', p.UVarintType, 0),
|
||||
3: ('show_display', p.BoolType, 0),
|
||||
}
|
||||
MESSAGE_WIRE_TYPE = 67
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
address_n: List[int] = None,
|
||||
network: int = None,
|
||||
show_display: bool = None
|
||||
) -> None:
|
||||
self.address_n = address_n if address_n is not None else []
|
||||
self.network = network
|
||||
self.show_display = show_display
|
||||
|
@ -1,12 +1,29 @@
|
||||
# Automatically generated by pb2py
|
||||
from .. import protobuf as p
|
||||
if __debug__:
|
||||
try:
|
||||
from typing import List
|
||||
except ImportError:
|
||||
List = None
|
||||
|
||||
|
||||
class SignMessage(p.MessageType):
|
||||
MESSAGE_WIRE_TYPE = 38
|
||||
FIELDS = {
|
||||
1: ('address_n', p.UVarintType, p.FLAG_REPEATED),
|
||||
2: ('message', p.BytesType, 0), # required
|
||||
3: ('coin_name', p.UnicodeType, 0), # default='Bitcoin'
|
||||
4: ('script_type', p.UVarintType, 0), # default=0
|
||||
}
|
||||
MESSAGE_WIRE_TYPE = 38
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
address_n: List[int] = None,
|
||||
message: bytes = None,
|
||||
coin_name: str = None,
|
||||
script_type: int = None
|
||||
) -> None:
|
||||
self.address_n = address_n if address_n is not None else []
|
||||
self.message = message
|
||||
self.coin_name = coin_name
|
||||
self.script_type = script_type
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue