parent
b03d93c182
commit
0902aefd62
@ -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
|
@ -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
|
@ -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),
|
||||
}
|
@ -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
|
@ -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
|
@ -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.UVarintType, 0),
|
||||
}
|
||||
MESSAGE_WIRE_TYPE = 210
|
@ -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.UVarintType, 0),
|
||||
5: ('price_n', p.UVarintType, 0),
|
||||
6: ('price_d', p.UVarintType, 0),
|
||||
}
|
||||
MESSAGE_WIRE_TYPE = 214
|
@ -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
|
@ -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
|
@ -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.UVarintType, 0),
|
||||
5: ('price_n', p.UVarintType, 0),
|
||||
6: ('price_d', p.UVarintType, 0),
|
||||
7: ('offer_id', p.UVarintType, 0),
|
||||
}
|
||||
MESSAGE_WIRE_TYPE = 213
|
@ -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
|
@ -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.UVarintType, 0),
|
||||
4: ('destination_account', p.BytesType, 0),
|
||||
5: ('destination_asset', StellarAssetType, 0),
|
||||
6: ('destination_amount', p.UVarintType, 0),
|
||||
7: ('paths', StellarAssetType, p.FLAG_REPEATED),
|
||||
}
|
||||
MESSAGE_WIRE_TYPE = 212
|
@ -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.UVarintType, 0),
|
||||
}
|
||||
MESSAGE_WIRE_TYPE = 211
|
@ -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
|
@ -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
|
@ -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
|
@ -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
|
@ -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
|
@ -0,0 +1,6 @@
|
||||
# Automatically generated by pb2py
|
||||
from .. import protobuf as p
|
||||
|
||||
|
||||
class StellarTxOpRequest(p.MessageType):
|
||||
MESSAGE_WIRE_TYPE = 203
|
@ -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
|
Loading…
Reference in new issue