|
|
@ -129,6 +129,7 @@ class MessageType(IntEnum):
|
|
|
|
EthereumTypedDataValueRequest = 467
|
|
|
|
EthereumTypedDataValueRequest = 467
|
|
|
|
EthereumTypedDataValueAck = 468
|
|
|
|
EthereumTypedDataValueAck = 468
|
|
|
|
EthereumTypedDataSignature = 469
|
|
|
|
EthereumTypedDataSignature = 469
|
|
|
|
|
|
|
|
EthereumSignTypedHash = 470
|
|
|
|
NEMGetAddress = 67
|
|
|
|
NEMGetAddress = 67
|
|
|
|
NEMAddress = 68
|
|
|
|
NEMAddress = 68
|
|
|
|
NEMSignTx = 69
|
|
|
|
NEMSignTx = 69
|
|
|
@ -4455,23 +4456,6 @@ class EthereumTypedDataValueAck(protobuf.MessageType):
|
|
|
|
self.value = value
|
|
|
|
self.value = value
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class EthereumTypedDataSignature(protobuf.MessageType):
|
|
|
|
|
|
|
|
MESSAGE_WIRE_TYPE = 469
|
|
|
|
|
|
|
|
FIELDS = {
|
|
|
|
|
|
|
|
1: protobuf.Field("signature", "bytes", repeated=False, required=True),
|
|
|
|
|
|
|
|
2: protobuf.Field("address", "string", repeated=False, required=True),
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def __init__(
|
|
|
|
|
|
|
|
self,
|
|
|
|
|
|
|
|
*,
|
|
|
|
|
|
|
|
signature: "bytes",
|
|
|
|
|
|
|
|
address: "str",
|
|
|
|
|
|
|
|
) -> None:
|
|
|
|
|
|
|
|
self.signature = signature
|
|
|
|
|
|
|
|
self.address = address
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class EthereumStructMember(protobuf.MessageType):
|
|
|
|
class EthereumStructMember(protobuf.MessageType):
|
|
|
|
MESSAGE_WIRE_TYPE = None
|
|
|
|
MESSAGE_WIRE_TYPE = None
|
|
|
|
FIELDS = {
|
|
|
|
FIELDS = {
|
|
|
@ -4756,6 +4740,43 @@ class EthereumVerifyMessage(protobuf.MessageType):
|
|
|
|
self.address = address
|
|
|
|
self.address = address
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class EthereumSignTypedHash(protobuf.MessageType):
|
|
|
|
|
|
|
|
MESSAGE_WIRE_TYPE = 470
|
|
|
|
|
|
|
|
FIELDS = {
|
|
|
|
|
|
|
|
1: protobuf.Field("address_n", "uint32", repeated=True, required=False),
|
|
|
|
|
|
|
|
2: protobuf.Field("domain_separator_hash", "bytes", repeated=False, required=True),
|
|
|
|
|
|
|
|
3: protobuf.Field("message_hash", "bytes", repeated=False, required=True),
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def __init__(
|
|
|
|
|
|
|
|
self,
|
|
|
|
|
|
|
|
*,
|
|
|
|
|
|
|
|
domain_separator_hash: "bytes",
|
|
|
|
|
|
|
|
message_hash: "bytes",
|
|
|
|
|
|
|
|
address_n: Optional[Sequence["int"]] = None,
|
|
|
|
|
|
|
|
) -> None:
|
|
|
|
|
|
|
|
self.address_n: Sequence["int"] = address_n if address_n is not None else []
|
|
|
|
|
|
|
|
self.domain_separator_hash = domain_separator_hash
|
|
|
|
|
|
|
|
self.message_hash = message_hash
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class EthereumTypedDataSignature(protobuf.MessageType):
|
|
|
|
|
|
|
|
MESSAGE_WIRE_TYPE = 469
|
|
|
|
|
|
|
|
FIELDS = {
|
|
|
|
|
|
|
|
1: protobuf.Field("signature", "bytes", repeated=False, required=True),
|
|
|
|
|
|
|
|
2: protobuf.Field("address", "string", repeated=False, required=True),
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def __init__(
|
|
|
|
|
|
|
|
self,
|
|
|
|
|
|
|
|
*,
|
|
|
|
|
|
|
|
signature: "bytes",
|
|
|
|
|
|
|
|
address: "str",
|
|
|
|
|
|
|
|
) -> None:
|
|
|
|
|
|
|
|
self.signature = signature
|
|
|
|
|
|
|
|
self.address = address
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class EthereumAccessList(protobuf.MessageType):
|
|
|
|
class EthereumAccessList(protobuf.MessageType):
|
|
|
|
MESSAGE_WIRE_TYPE = None
|
|
|
|
MESSAGE_WIRE_TYPE = None
|
|
|
|
FIELDS = {
|
|
|
|
FIELDS = {
|
|
|
|