From 9498be3fc67d1b5ddb132b0c1e8e86f65417e768 Mon Sep 17 00:00:00 2001 From: Dmitrii Pichulin Date: Thu, 15 Aug 2024 02:24:08 +0300 Subject: [PATCH] updated protobuf-schemas 1.4.3 -> 1.5.2 (protoc 21.4 -> 27.3) --- protobuf.bat | 4 +- src/Waves/Protobuf/Amount.php | 1 + src/Waves/Protobuf/AssetPair.php | 1 + src/Waves/Protobuf/Block.php | 1 + src/Waves/Protobuf/Block/Header.php | 68 ++- .../Block/Header/ChallengedHeader.php | 248 ++++++++++ src/Waves/Protobuf/BlockSnapshot.php | 86 ++++ src/Waves/Protobuf/Block_Header.php | 16 - src/Waves/Protobuf/BurnTransactionData.php | 1 + .../Protobuf/CreateAliasTransactionData.php | 1 + .../{DataTransactionData => }/DataEntry.php | 8 +- src/Waves/Protobuf/DataTransactionData.php | 13 +- .../DataTransactionData_DataEntry.php | 16 - .../Protobuf/ExchangeTransactionData.php | 1 + src/Waves/Protobuf/GenesisTransactionData.php | 1 + .../InvokeExpressionTransactionData.php | 1 + src/Waves/Protobuf/InvokeScriptResult.php | 13 +- .../Protobuf/InvokeScriptResult/Burn.php | 4 +- .../Protobuf/InvokeScriptResult/Call.php | 4 +- .../InvokeScriptResult/Call/Argument.php | 4 +- .../Call/Argument/PBList.php | 4 +- .../InvokeScriptResult/ErrorMessage.php | 4 +- .../InvokeScriptResult/Invocation.php | 4 +- .../Protobuf/InvokeScriptResult/Issue.php | 4 +- .../Protobuf/InvokeScriptResult/Lease.php | 4 +- .../InvokeScriptResult/LeaseCancel.php | 4 +- .../Protobuf/InvokeScriptResult/Payment.php | 4 +- .../Protobuf/InvokeScriptResult/Reissue.php | 4 +- .../InvokeScriptResult/SponsorFee.php | 4 +- .../Protobuf/InvokeScriptResult_Burn.php | 16 - .../Protobuf/InvokeScriptResult_Call.php | 16 - .../InvokeScriptResult_Call_Argument.php | 16 - .../InvokeScriptResult_Call_Argument_List.php | 16 - .../InvokeScriptResult_ErrorMessage.php | 16 - .../InvokeScriptResult_Invocation.php | 16 - .../Protobuf/InvokeScriptResult_Issue.php | 16 - .../Protobuf/InvokeScriptResult_Lease.php | 16 - .../InvokeScriptResult_LeaseCancel.php | 16 - .../Protobuf/InvokeScriptResult_Payment.php | 16 - .../Protobuf/InvokeScriptResult_Reissue.php | 16 - .../InvokeScriptResult_SponsorFee.php | 16 - .../Protobuf/InvokeScriptTransactionData.php | 1 + src/Waves/Protobuf/IssueTransactionData.php | 1 + .../Protobuf/LeaseCancelTransactionData.php | 1 + src/Waves/Protobuf/LeaseTransactionData.php | 1 + .../Protobuf/MassTransferTransactionData.php | 1 + .../MassTransferTransactionData/Transfer.php | 4 +- .../MassTransferTransactionData_Transfer.php | 16 - src/Waves/Protobuf/MicroBlock.php | 28 ++ src/Waves/Protobuf/MicroBlockSnapshot.php | 86 ++++ src/Waves/Protobuf/Order.php | 28 ++ src/Waves/Protobuf/Order/PriceMode.php | 4 +- src/Waves/Protobuf/Order/Side.php | 4 +- src/Waves/Protobuf/Order_PriceMode.php | 16 - src/Waves/Protobuf/Order_Side.php | 16 - src/Waves/Protobuf/PaymentTransactionData.php | 1 + src/Waves/Protobuf/Recipient.php | 1 + src/Waves/Protobuf/ReissueTransactionData.php | 1 + src/Waves/Protobuf/RewardShare.php | 86 ++++ .../SetAssetScriptTransactionData.php | 1 + .../Protobuf/SetScriptTransactionData.php | 1 + src/Waves/Protobuf/SignedMicroBlock.php | 1 + src/Waves/Protobuf/SignedTransaction.php | 1 + .../Protobuf/SponsorFeeTransactionData.php | 1 + src/Waves/Protobuf/Transaction.php | 1 + .../Protobuf/TransactionStateSnapshot.php | 440 ++++++++++++++++++ .../TransactionStateSnapshot/AccountData.php | 86 ++++ .../AccountScript.php | 113 +++++ .../TransactionStateSnapshot/Alias.php | 86 ++++ .../AssetNameAndDescription.php | 113 +++++ .../TransactionStateSnapshot/AssetScript.php | 86 ++++ .../TransactionStateSnapshot/AssetVolume.php | 113 +++++ .../TransactionStateSnapshot/Balance.php | 96 ++++ .../CancelledLease.php | 59 +++ .../TransactionStateSnapshot/LeaseBalance.php | 113 +++++ .../TransactionStateSnapshot/NewAsset.php | 140 ++++++ .../TransactionStateSnapshot/NewLease.php | 140 ++++++ .../TransactionStateSnapshot/OrderFill.php | 113 +++++ .../TransactionStateSnapshot/Sponsorship.php | 86 ++++ src/Waves/Protobuf/TransactionStatus.php | 54 +++ .../Protobuf/TransferTransactionData.php | 1 + .../UpdateAssetInfoTransactionData.php | 1 + src/Waves/ProtobufMetadata/Amount.php | 9 +- src/Waves/ProtobufMetadata/Block.php | 33 +- .../ProtobufMetadata/InvokeScriptResult.php | Bin 2578 -> 3957 bytes src/Waves/ProtobufMetadata/Order.php | Bin 1279 -> 1944 bytes src/Waves/ProtobufMetadata/Recipient.php | Bin 777 -> 940 bytes src/Waves/ProtobufMetadata/RewardShare.php | 25 + src/Waves/ProtobufMetadata/StateSnapshot.php | 26 ++ src/Waves/ProtobufMetadata/Transaction.php | Bin 3851 -> 5912 bytes .../TransactionStateSnapshot.php | 27 ++ 91 files changed, 2605 insertions(+), 377 deletions(-) create mode 100644 src/Waves/Protobuf/Block/Header/ChallengedHeader.php create mode 100644 src/Waves/Protobuf/BlockSnapshot.php delete mode 100644 src/Waves/Protobuf/Block_Header.php rename src/Waves/Protobuf/{DataTransactionData => }/DataEntry.php (92%) delete mode 100644 src/Waves/Protobuf/DataTransactionData_DataEntry.php delete mode 100644 src/Waves/Protobuf/InvokeScriptResult_Burn.php delete mode 100644 src/Waves/Protobuf/InvokeScriptResult_Call.php delete mode 100644 src/Waves/Protobuf/InvokeScriptResult_Call_Argument.php delete mode 100644 src/Waves/Protobuf/InvokeScriptResult_Call_Argument_List.php delete mode 100644 src/Waves/Protobuf/InvokeScriptResult_ErrorMessage.php delete mode 100644 src/Waves/Protobuf/InvokeScriptResult_Invocation.php delete mode 100644 src/Waves/Protobuf/InvokeScriptResult_Issue.php delete mode 100644 src/Waves/Protobuf/InvokeScriptResult_Lease.php delete mode 100644 src/Waves/Protobuf/InvokeScriptResult_LeaseCancel.php delete mode 100644 src/Waves/Protobuf/InvokeScriptResult_Payment.php delete mode 100644 src/Waves/Protobuf/InvokeScriptResult_Reissue.php delete mode 100644 src/Waves/Protobuf/InvokeScriptResult_SponsorFee.php delete mode 100644 src/Waves/Protobuf/MassTransferTransactionData_Transfer.php create mode 100644 src/Waves/Protobuf/MicroBlockSnapshot.php delete mode 100644 src/Waves/Protobuf/Order_PriceMode.php delete mode 100644 src/Waves/Protobuf/Order_Side.php create mode 100644 src/Waves/Protobuf/RewardShare.php create mode 100644 src/Waves/Protobuf/TransactionStateSnapshot.php create mode 100644 src/Waves/Protobuf/TransactionStateSnapshot/AccountData.php create mode 100644 src/Waves/Protobuf/TransactionStateSnapshot/AccountScript.php create mode 100644 src/Waves/Protobuf/TransactionStateSnapshot/Alias.php create mode 100644 src/Waves/Protobuf/TransactionStateSnapshot/AssetNameAndDescription.php create mode 100644 src/Waves/Protobuf/TransactionStateSnapshot/AssetScript.php create mode 100644 src/Waves/Protobuf/TransactionStateSnapshot/AssetVolume.php create mode 100644 src/Waves/Protobuf/TransactionStateSnapshot/Balance.php create mode 100644 src/Waves/Protobuf/TransactionStateSnapshot/CancelledLease.php create mode 100644 src/Waves/Protobuf/TransactionStateSnapshot/LeaseBalance.php create mode 100644 src/Waves/Protobuf/TransactionStateSnapshot/NewAsset.php create mode 100644 src/Waves/Protobuf/TransactionStateSnapshot/NewLease.php create mode 100644 src/Waves/Protobuf/TransactionStateSnapshot/OrderFill.php create mode 100644 src/Waves/Protobuf/TransactionStateSnapshot/Sponsorship.php create mode 100644 src/Waves/Protobuf/TransactionStatus.php create mode 100644 src/Waves/ProtobufMetadata/RewardShare.php create mode 100644 src/Waves/ProtobufMetadata/StateSnapshot.php create mode 100644 src/Waves/ProtobufMetadata/TransactionStateSnapshot.php diff --git a/protobuf.bat b/protobuf.bat index 948bcc7..c47b266 100644 --- a/protobuf.bat +++ b/protobuf.bat @@ -1,6 +1,6 @@ cd /d %~dp0 -set PROTOC_VERSION=21.4 -set PROTO_WAVES_VERSION=1.4.3 +set PROTOC_VERSION=27.3 +set PROTO_WAVES_VERSION=1.5.2 set PROTOC_URL=https://github.com/protocolbuffers/protobuf/releases/download/v%PROTOC_VERSION%/ set PROTOC_ARCH=protoc-%PROTOC_VERSION%-win32.zip diff --git a/src/Waves/Protobuf/Amount.php b/src/Waves/Protobuf/Amount.php index 0357589..fa6747e 100644 --- a/src/Waves/Protobuf/Amount.php +++ b/src/Waves/Protobuf/Amount.php @@ -1,5 +1,6 @@ bytes transactions_root = 10; */ protected $transactions_root = ''; + /** + * Generated from protobuf field bytes state_hash = 11; + */ + protected $state_hash = ''; + /** + * Generated from protobuf field .waves.Block.Header.ChallengedHeader challenged_header = 12; + */ + protected $challenged_header = null; /** * Constructor. @@ -70,6 +79,8 @@ class Header extends \Google\Protobuf\Internal\Message * @type string $generator * @type int|string $reward_vote * @type string $transactions_root + * @type string $state_hash + * @type \Waves\Protobuf\Block\Header\ChallengedHeader $challenged_header * } */ public function __construct($data = NULL) { @@ -297,8 +308,59 @@ public function setTransactionsRoot($var) return $this; } -} + /** + * Generated from protobuf field bytes state_hash = 11; + * @return string + */ + public function getStateHash() + { + return $this->state_hash; + } + + /** + * Generated from protobuf field bytes state_hash = 11; + * @param string $var + * @return $this + */ + public function setStateHash($var) + { + GPBUtil::checkString($var, False); + $this->state_hash = $var; + + return $this; + } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Header::class, \Waves\Protobuf\Block_Header::class); + /** + * Generated from protobuf field .waves.Block.Header.ChallengedHeader challenged_header = 12; + * @return \Waves\Protobuf\Block\Header\ChallengedHeader|null + */ + public function getChallengedHeader() + { + return $this->challenged_header; + } + + public function hasChallengedHeader() + { + return isset($this->challenged_header); + } + + public function clearChallengedHeader() + { + unset($this->challenged_header); + } + + /** + * Generated from protobuf field .waves.Block.Header.ChallengedHeader challenged_header = 12; + * @param \Waves\Protobuf\Block\Header\ChallengedHeader $var + * @return $this + */ + public function setChallengedHeader($var) + { + GPBUtil::checkMessage($var, \Waves\Protobuf\Block\Header\ChallengedHeader::class); + $this->challenged_header = $var; + + return $this; + } + +} diff --git a/src/Waves/Protobuf/Block/Header/ChallengedHeader.php b/src/Waves/Protobuf/Block/Header/ChallengedHeader.php new file mode 100644 index 0000000..a46d0eb --- /dev/null +++ b/src/Waves/Protobuf/Block/Header/ChallengedHeader.php @@ -0,0 +1,248 @@ +waves.Block.Header.ChallengedHeader + */ +class ChallengedHeader extends \Google\Protobuf\Internal\Message +{ + /** + * Generated from protobuf field int64 base_target = 1; + */ + protected $base_target = 0; + /** + * Generated from protobuf field bytes generation_signature = 2; + */ + protected $generation_signature = ''; + /** + * Generated from protobuf field repeated uint32 feature_votes = 3; + */ + private $feature_votes; + /** + * Generated from protobuf field int64 timestamp = 4; + */ + protected $timestamp = 0; + /** + * Generated from protobuf field bytes generator = 5; + */ + protected $generator = ''; + /** + * Generated from protobuf field int64 reward_vote = 6; + */ + protected $reward_vote = 0; + /** + * Generated from protobuf field bytes state_hash = 7; + */ + protected $state_hash = ''; + /** + * Generated from protobuf field bytes header_signature = 8; + */ + protected $header_signature = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int|string $base_target + * @type string $generation_signature + * @type array|\Google\Protobuf\Internal\RepeatedField $feature_votes + * @type int|string $timestamp + * @type string $generator + * @type int|string $reward_vote + * @type string $state_hash + * @type string $header_signature + * } + */ + public function __construct($data = NULL) { + \Waves\ProtobufMetadata\Block::initOnce(); + parent::__construct($data); + } + + /** + * Generated from protobuf field int64 base_target = 1; + * @return int|string + */ + public function getBaseTarget() + { + return $this->base_target; + } + + /** + * Generated from protobuf field int64 base_target = 1; + * @param int|string $var + * @return $this + */ + public function setBaseTarget($var) + { + GPBUtil::checkInt64($var); + $this->base_target = $var; + + return $this; + } + + /** + * Generated from protobuf field bytes generation_signature = 2; + * @return string + */ + public function getGenerationSignature() + { + return $this->generation_signature; + } + + /** + * Generated from protobuf field bytes generation_signature = 2; + * @param string $var + * @return $this + */ + public function setGenerationSignature($var) + { + GPBUtil::checkString($var, False); + $this->generation_signature = $var; + + return $this; + } + + /** + * Generated from protobuf field repeated uint32 feature_votes = 3; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getFeatureVotes() + { + return $this->feature_votes; + } + + /** + * Generated from protobuf field repeated uint32 feature_votes = 3; + * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setFeatureVotes($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::UINT32); + $this->feature_votes = $arr; + + return $this; + } + + /** + * Generated from protobuf field int64 timestamp = 4; + * @return int|string + */ + public function getTimestamp() + { + return $this->timestamp; + } + + /** + * Generated from protobuf field int64 timestamp = 4; + * @param int|string $var + * @return $this + */ + public function setTimestamp($var) + { + GPBUtil::checkInt64($var); + $this->timestamp = $var; + + return $this; + } + + /** + * Generated from protobuf field bytes generator = 5; + * @return string + */ + public function getGenerator() + { + return $this->generator; + } + + /** + * Generated from protobuf field bytes generator = 5; + * @param string $var + * @return $this + */ + public function setGenerator($var) + { + GPBUtil::checkString($var, False); + $this->generator = $var; + + return $this; + } + + /** + * Generated from protobuf field int64 reward_vote = 6; + * @return int|string + */ + public function getRewardVote() + { + return $this->reward_vote; + } + + /** + * Generated from protobuf field int64 reward_vote = 6; + * @param int|string $var + * @return $this + */ + public function setRewardVote($var) + { + GPBUtil::checkInt64($var); + $this->reward_vote = $var; + + return $this; + } + + /** + * Generated from protobuf field bytes state_hash = 7; + * @return string + */ + public function getStateHash() + { + return $this->state_hash; + } + + /** + * Generated from protobuf field bytes state_hash = 7; + * @param string $var + * @return $this + */ + public function setStateHash($var) + { + GPBUtil::checkString($var, False); + $this->state_hash = $var; + + return $this; + } + + /** + * Generated from protobuf field bytes header_signature = 8; + * @return string + */ + public function getHeaderSignature() + { + return $this->header_signature; + } + + /** + * Generated from protobuf field bytes header_signature = 8; + * @param string $var + * @return $this + */ + public function setHeaderSignature($var) + { + GPBUtil::checkString($var, False); + $this->header_signature = $var; + + return $this; + } + +} + diff --git a/src/Waves/Protobuf/BlockSnapshot.php b/src/Waves/Protobuf/BlockSnapshot.php new file mode 100644 index 0000000..38440e9 --- /dev/null +++ b/src/Waves/Protobuf/BlockSnapshot.php @@ -0,0 +1,86 @@ +waves.BlockSnapshot + */ +class BlockSnapshot extends \Google\Protobuf\Internal\Message +{ + /** + * Generated from protobuf field bytes block_id = 1; + */ + protected $block_id = ''; + /** + * Generated from protobuf field repeated .waves.TransactionStateSnapshot snapshots = 2; + */ + private $snapshots; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $block_id + * @type array<\Waves\Protobuf\TransactionStateSnapshot>|\Google\Protobuf\Internal\RepeatedField $snapshots + * } + */ + public function __construct($data = NULL) { + \Waves\ProtobufMetadata\StateSnapshot::initOnce(); + parent::__construct($data); + } + + /** + * Generated from protobuf field bytes block_id = 1; + * @return string + */ + public function getBlockId() + { + return $this->block_id; + } + + /** + * Generated from protobuf field bytes block_id = 1; + * @param string $var + * @return $this + */ + public function setBlockId($var) + { + GPBUtil::checkString($var, False); + $this->block_id = $var; + + return $this; + } + + /** + * Generated from protobuf field repeated .waves.TransactionStateSnapshot snapshots = 2; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getSnapshots() + { + return $this->snapshots; + } + + /** + * Generated from protobuf field repeated .waves.TransactionStateSnapshot snapshots = 2; + * @param array<\Waves\Protobuf\TransactionStateSnapshot>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setSnapshots($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Waves\Protobuf\TransactionStateSnapshot::class); + $this->snapshots = $arr; + + return $this; + } + +} + diff --git a/src/Waves/Protobuf/Block_Header.php b/src/Waves/Protobuf/Block_Header.php deleted file mode 100644 index 5ecaa23..0000000 --- a/src/Waves/Protobuf/Block_Header.php +++ /dev/null @@ -1,16 +0,0 @@ -waves.DataTransactionData.DataEntry + * Generated from protobuf message waves.DataEntry */ class DataEntry extends \Google\Protobuf\Internal\Message { @@ -177,6 +178,3 @@ public function getValue() } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(DataEntry::class, \Waves\Protobuf\DataTransactionData_DataEntry::class); - diff --git a/src/Waves/Protobuf/DataTransactionData.php b/src/Waves/Protobuf/DataTransactionData.php index fce2dbe..0b7962a 100644 --- a/src/Waves/Protobuf/DataTransactionData.php +++ b/src/Waves/Protobuf/DataTransactionData.php @@ -1,5 +1,6 @@ repeated .waves.DataTransactionData.DataEntry data = 1; + * Generated from protobuf field repeated .waves.DataEntry data = 1; */ private $data; @@ -24,7 +25,7 @@ class DataTransactionData extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Waves\Protobuf\DataTransactionData\DataEntry>|\Google\Protobuf\Internal\RepeatedField $data + * @type array<\Waves\Protobuf\DataEntry>|\Google\Protobuf\Internal\RepeatedField $data * } */ public function __construct($data = NULL) { @@ -33,7 +34,7 @@ public function __construct($data = NULL) { } /** - * Generated from protobuf field repeated .waves.DataTransactionData.DataEntry data = 1; + * Generated from protobuf field repeated .waves.DataEntry data = 1; * @return \Google\Protobuf\Internal\RepeatedField */ public function getData() @@ -42,13 +43,13 @@ public function getData() } /** - * Generated from protobuf field repeated .waves.DataTransactionData.DataEntry data = 1; - * @param array<\Waves\Protobuf\DataTransactionData\DataEntry>|\Google\Protobuf\Internal\RepeatedField $var + * Generated from protobuf field repeated .waves.DataEntry data = 1; + * @param array<\Waves\Protobuf\DataEntry>|\Google\Protobuf\Internal\RepeatedField $var * @return $this */ public function setData($var) { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Waves\Protobuf\DataTransactionData\DataEntry::class); + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Waves\Protobuf\DataEntry::class); $this->data = $arr; return $this; diff --git a/src/Waves/Protobuf/DataTransactionData_DataEntry.php b/src/Waves/Protobuf/DataTransactionData_DataEntry.php deleted file mode 100644 index 0b7f360..0000000 --- a/src/Waves/Protobuf/DataTransactionData_DataEntry.php +++ /dev/null @@ -1,16 +0,0 @@ -repeated .waves.DataTransactionData.DataEntry data = 1; + * Generated from protobuf field repeated .waves.DataEntry data = 1; */ private $data; /** @@ -60,7 +61,7 @@ class InvokeScriptResult extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Waves\Protobuf\DataTransactionData\DataEntry>|\Google\Protobuf\Internal\RepeatedField $data + * @type array<\Waves\Protobuf\DataEntry>|\Google\Protobuf\Internal\RepeatedField $data * @type array<\Waves\Protobuf\InvokeScriptResult\Payment>|\Google\Protobuf\Internal\RepeatedField $transfers * @type array<\Waves\Protobuf\InvokeScriptResult\Issue>|\Google\Protobuf\Internal\RepeatedField $issues * @type array<\Waves\Protobuf\InvokeScriptResult\Reissue>|\Google\Protobuf\Internal\RepeatedField $reissues @@ -78,7 +79,7 @@ public function __construct($data = NULL) { } /** - * Generated from protobuf field repeated .waves.DataTransactionData.DataEntry data = 1; + * Generated from protobuf field repeated .waves.DataEntry data = 1; * @return \Google\Protobuf\Internal\RepeatedField */ public function getData() @@ -87,13 +88,13 @@ public function getData() } /** - * Generated from protobuf field repeated .waves.DataTransactionData.DataEntry data = 1; - * @param array<\Waves\Protobuf\DataTransactionData\DataEntry>|\Google\Protobuf\Internal\RepeatedField $var + * Generated from protobuf field repeated .waves.DataEntry data = 1; + * @param array<\Waves\Protobuf\DataEntry>|\Google\Protobuf\Internal\RepeatedField $var * @return $this */ public function setData($var) { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Waves\Protobuf\DataTransactionData\DataEntry::class); + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Waves\Protobuf\DataEntry::class); $this->data = $arr; return $this; diff --git a/src/Waves/Protobuf/InvokeScriptResult/Burn.php b/src/Waves/Protobuf/InvokeScriptResult/Burn.php index c1a7e61..6bc2c40 100644 --- a/src/Waves/Protobuf/InvokeScriptResult/Burn.php +++ b/src/Waves/Protobuf/InvokeScriptResult/Burn.php @@ -1,5 +1,6 @@ repeated .waves.SignedTransaction transactions = 5; */ private $transactions; + /** + * Generated from protobuf field bytes state_hash = 6; + */ + protected $state_hash = ''; /** * Constructor. @@ -45,6 +50,7 @@ class MicroBlock extends \Google\Protobuf\Internal\Message * @type string $updated_block_signature * @type string $sender_public_key * @type array<\Waves\Protobuf\SignedTransaction>|\Google\Protobuf\Internal\RepeatedField $transactions + * @type string $state_hash * } */ public function __construct($data = NULL) { @@ -162,5 +168,27 @@ public function setTransactions($var) return $this; } + /** + * Generated from protobuf field bytes state_hash = 6; + * @return string + */ + public function getStateHash() + { + return $this->state_hash; + } + + /** + * Generated from protobuf field bytes state_hash = 6; + * @param string $var + * @return $this + */ + public function setStateHash($var) + { + GPBUtil::checkString($var, False); + $this->state_hash = $var; + + return $this; + } + } diff --git a/src/Waves/Protobuf/MicroBlockSnapshot.php b/src/Waves/Protobuf/MicroBlockSnapshot.php new file mode 100644 index 0000000..99de227 --- /dev/null +++ b/src/Waves/Protobuf/MicroBlockSnapshot.php @@ -0,0 +1,86 @@ +waves.MicroBlockSnapshot + */ +class MicroBlockSnapshot extends \Google\Protobuf\Internal\Message +{ + /** + * Generated from protobuf field bytes total_block_id = 1; + */ + protected $total_block_id = ''; + /** + * Generated from protobuf field repeated .waves.TransactionStateSnapshot snapshots = 2; + */ + private $snapshots; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $total_block_id + * @type array<\Waves\Protobuf\TransactionStateSnapshot>|\Google\Protobuf\Internal\RepeatedField $snapshots + * } + */ + public function __construct($data = NULL) { + \Waves\ProtobufMetadata\StateSnapshot::initOnce(); + parent::__construct($data); + } + + /** + * Generated from protobuf field bytes total_block_id = 1; + * @return string + */ + public function getTotalBlockId() + { + return $this->total_block_id; + } + + /** + * Generated from protobuf field bytes total_block_id = 1; + * @param string $var + * @return $this + */ + public function setTotalBlockId($var) + { + GPBUtil::checkString($var, False); + $this->total_block_id = $var; + + return $this; + } + + /** + * Generated from protobuf field repeated .waves.TransactionStateSnapshot snapshots = 2; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getSnapshots() + { + return $this->snapshots; + } + + /** + * Generated from protobuf field repeated .waves.TransactionStateSnapshot snapshots = 2; + * @param array<\Waves\Protobuf\TransactionStateSnapshot>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setSnapshots($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Waves\Protobuf\TransactionStateSnapshot::class); + $this->snapshots = $arr; + + return $this; + } + +} + diff --git a/src/Waves/Protobuf/Order.php b/src/Waves/Protobuf/Order.php index 89836c2..40060fd 100644 --- a/src/Waves/Protobuf/Order.php +++ b/src/Waves/Protobuf/Order.php @@ -1,5 +1,6 @@ .waves.Order.PriceMode price_mode = 14; */ protected $price_mode = 0; + /** + * Generated from protobuf field bytes attachment = 15; + */ + protected $attachment = ''; protected $sender; /** @@ -81,6 +86,7 @@ class Order extends \Google\Protobuf\Internal\Message * @type int $version * @type array|\Google\Protobuf\Internal\RepeatedField $proofs * @type int $price_mode + * @type string $attachment * @type string $sender_public_key * @type string $eip712_signature * } @@ -374,6 +380,28 @@ public function setPriceMode($var) return $this; } + /** + * Generated from protobuf field bytes attachment = 15; + * @return string + */ + public function getAttachment() + { + return $this->attachment; + } + + /** + * Generated from protobuf field bytes attachment = 15; + * @param string $var + * @return $this + */ + public function setAttachment($var) + { + GPBUtil::checkString($var, False); + $this->attachment = $var; + + return $this; + } + /** * Generated from protobuf field bytes sender_public_key = 2; * @return string diff --git a/src/Waves/Protobuf/Order/PriceMode.php b/src/Waves/Protobuf/Order/PriceMode.php index 549a67d..0a6744a 100644 --- a/src/Waves/Protobuf/Order/PriceMode.php +++ b/src/Waves/Protobuf/Order/PriceMode.php @@ -1,5 +1,6 @@ waves.RewardShare + */ +class RewardShare extends \Google\Protobuf\Internal\Message +{ + /** + * Generated from protobuf field bytes address = 1; + */ + protected $address = ''; + /** + * Generated from protobuf field int64 reward = 2; + */ + protected $reward = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $address + * @type int|string $reward + * } + */ + public function __construct($data = NULL) { + \Waves\ProtobufMetadata\RewardShare::initOnce(); + parent::__construct($data); + } + + /** + * Generated from protobuf field bytes address = 1; + * @return string + */ + public function getAddress() + { + return $this->address; + } + + /** + * Generated from protobuf field bytes address = 1; + * @param string $var + * @return $this + */ + public function setAddress($var) + { + GPBUtil::checkString($var, False); + $this->address = $var; + + return $this; + } + + /** + * Generated from protobuf field int64 reward = 2; + * @return int|string + */ + public function getReward() + { + return $this->reward; + } + + /** + * Generated from protobuf field int64 reward = 2; + * @param int|string $var + * @return $this + */ + public function setReward($var) + { + GPBUtil::checkInt64($var); + $this->reward = $var; + + return $this; + } + +} + diff --git a/src/Waves/Protobuf/SetAssetScriptTransactionData.php b/src/Waves/Protobuf/SetAssetScriptTransactionData.php index e694b81..b828db7 100644 --- a/src/Waves/Protobuf/SetAssetScriptTransactionData.php +++ b/src/Waves/Protobuf/SetAssetScriptTransactionData.php @@ -1,5 +1,6 @@ waves.TransactionStateSnapshot + */ +class TransactionStateSnapshot extends \Google\Protobuf\Internal\Message +{ + /** + * Generated from protobuf field repeated .waves.TransactionStateSnapshot.Balance balances = 1; + */ + private $balances; + /** + * Generated from protobuf field repeated .waves.TransactionStateSnapshot.LeaseBalance lease_balances = 2; + */ + private $lease_balances; + /** + * Generated from protobuf field repeated .waves.TransactionStateSnapshot.NewLease new_leases = 3; + */ + private $new_leases; + /** + * Generated from protobuf field repeated .waves.TransactionStateSnapshot.CancelledLease cancelled_leases = 4; + */ + private $cancelled_leases; + /** + * Generated from protobuf field repeated .waves.TransactionStateSnapshot.NewAsset asset_statics = 5; + */ + private $asset_statics; + /** + * Generated from protobuf field repeated .waves.TransactionStateSnapshot.AssetVolume asset_volumes = 6; + */ + private $asset_volumes; + /** + * Generated from protobuf field repeated .waves.TransactionStateSnapshot.AssetNameAndDescription asset_names_and_descriptions = 7; + */ + private $asset_names_and_descriptions; + /** + * Generated from protobuf field .waves.TransactionStateSnapshot.AssetScript asset_scripts = 8; + */ + protected $asset_scripts = null; + /** + * Generated from protobuf field .waves.TransactionStateSnapshot.Alias aliases = 9; + */ + protected $aliases = null; + /** + * Generated from protobuf field repeated .waves.TransactionStateSnapshot.OrderFill order_fills = 10; + */ + private $order_fills; + /** + * Generated from protobuf field .waves.TransactionStateSnapshot.AccountScript account_scripts = 11; + */ + protected $account_scripts = null; + /** + * Generated from protobuf field repeated .waves.TransactionStateSnapshot.AccountData account_data = 12; + */ + private $account_data; + /** + * Generated from protobuf field repeated .waves.TransactionStateSnapshot.Sponsorship sponsorships = 13; + */ + private $sponsorships; + /** + * Generated from protobuf field .waves.TransactionStatus transaction_status = 14; + */ + protected $transaction_status = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type array<\Waves\Protobuf\TransactionStateSnapshot\Balance>|\Google\Protobuf\Internal\RepeatedField $balances + * @type array<\Waves\Protobuf\TransactionStateSnapshot\LeaseBalance>|\Google\Protobuf\Internal\RepeatedField $lease_balances + * @type array<\Waves\Protobuf\TransactionStateSnapshot\NewLease>|\Google\Protobuf\Internal\RepeatedField $new_leases + * @type array<\Waves\Protobuf\TransactionStateSnapshot\CancelledLease>|\Google\Protobuf\Internal\RepeatedField $cancelled_leases + * @type array<\Waves\Protobuf\TransactionStateSnapshot\NewAsset>|\Google\Protobuf\Internal\RepeatedField $asset_statics + * @type array<\Waves\Protobuf\TransactionStateSnapshot\AssetVolume>|\Google\Protobuf\Internal\RepeatedField $asset_volumes + * @type array<\Waves\Protobuf\TransactionStateSnapshot\AssetNameAndDescription>|\Google\Protobuf\Internal\RepeatedField $asset_names_and_descriptions + * @type \Waves\Protobuf\TransactionStateSnapshot\AssetScript $asset_scripts + * @type \Waves\Protobuf\TransactionStateSnapshot\Alias $aliases + * @type array<\Waves\Protobuf\TransactionStateSnapshot\OrderFill>|\Google\Protobuf\Internal\RepeatedField $order_fills + * @type \Waves\Protobuf\TransactionStateSnapshot\AccountScript $account_scripts + * @type array<\Waves\Protobuf\TransactionStateSnapshot\AccountData>|\Google\Protobuf\Internal\RepeatedField $account_data + * @type array<\Waves\Protobuf\TransactionStateSnapshot\Sponsorship>|\Google\Protobuf\Internal\RepeatedField $sponsorships + * @type int $transaction_status + * } + */ + public function __construct($data = NULL) { + \Waves\ProtobufMetadata\TransactionStateSnapshot::initOnce(); + parent::__construct($data); + } + + /** + * Generated from protobuf field repeated .waves.TransactionStateSnapshot.Balance balances = 1; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getBalances() + { + return $this->balances; + } + + /** + * Generated from protobuf field repeated .waves.TransactionStateSnapshot.Balance balances = 1; + * @param array<\Waves\Protobuf\TransactionStateSnapshot\Balance>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setBalances($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Waves\Protobuf\TransactionStateSnapshot\Balance::class); + $this->balances = $arr; + + return $this; + } + + /** + * Generated from protobuf field repeated .waves.TransactionStateSnapshot.LeaseBalance lease_balances = 2; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getLeaseBalances() + { + return $this->lease_balances; + } + + /** + * Generated from protobuf field repeated .waves.TransactionStateSnapshot.LeaseBalance lease_balances = 2; + * @param array<\Waves\Protobuf\TransactionStateSnapshot\LeaseBalance>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setLeaseBalances($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Waves\Protobuf\TransactionStateSnapshot\LeaseBalance::class); + $this->lease_balances = $arr; + + return $this; + } + + /** + * Generated from protobuf field repeated .waves.TransactionStateSnapshot.NewLease new_leases = 3; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getNewLeases() + { + return $this->new_leases; + } + + /** + * Generated from protobuf field repeated .waves.TransactionStateSnapshot.NewLease new_leases = 3; + * @param array<\Waves\Protobuf\TransactionStateSnapshot\NewLease>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setNewLeases($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Waves\Protobuf\TransactionStateSnapshot\NewLease::class); + $this->new_leases = $arr; + + return $this; + } + + /** + * Generated from protobuf field repeated .waves.TransactionStateSnapshot.CancelledLease cancelled_leases = 4; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getCancelledLeases() + { + return $this->cancelled_leases; + } + + /** + * Generated from protobuf field repeated .waves.TransactionStateSnapshot.CancelledLease cancelled_leases = 4; + * @param array<\Waves\Protobuf\TransactionStateSnapshot\CancelledLease>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setCancelledLeases($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Waves\Protobuf\TransactionStateSnapshot\CancelledLease::class); + $this->cancelled_leases = $arr; + + return $this; + } + + /** + * Generated from protobuf field repeated .waves.TransactionStateSnapshot.NewAsset asset_statics = 5; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getAssetStatics() + { + return $this->asset_statics; + } + + /** + * Generated from protobuf field repeated .waves.TransactionStateSnapshot.NewAsset asset_statics = 5; + * @param array<\Waves\Protobuf\TransactionStateSnapshot\NewAsset>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setAssetStatics($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Waves\Protobuf\TransactionStateSnapshot\NewAsset::class); + $this->asset_statics = $arr; + + return $this; + } + + /** + * Generated from protobuf field repeated .waves.TransactionStateSnapshot.AssetVolume asset_volumes = 6; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getAssetVolumes() + { + return $this->asset_volumes; + } + + /** + * Generated from protobuf field repeated .waves.TransactionStateSnapshot.AssetVolume asset_volumes = 6; + * @param array<\Waves\Protobuf\TransactionStateSnapshot\AssetVolume>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setAssetVolumes($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Waves\Protobuf\TransactionStateSnapshot\AssetVolume::class); + $this->asset_volumes = $arr; + + return $this; + } + + /** + * Generated from protobuf field repeated .waves.TransactionStateSnapshot.AssetNameAndDescription asset_names_and_descriptions = 7; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getAssetNamesAndDescriptions() + { + return $this->asset_names_and_descriptions; + } + + /** + * Generated from protobuf field repeated .waves.TransactionStateSnapshot.AssetNameAndDescription asset_names_and_descriptions = 7; + * @param array<\Waves\Protobuf\TransactionStateSnapshot\AssetNameAndDescription>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setAssetNamesAndDescriptions($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Waves\Protobuf\TransactionStateSnapshot\AssetNameAndDescription::class); + $this->asset_names_and_descriptions = $arr; + + return $this; + } + + /** + * Generated from protobuf field .waves.TransactionStateSnapshot.AssetScript asset_scripts = 8; + * @return \Waves\Protobuf\TransactionStateSnapshot\AssetScript|null + */ + public function getAssetScripts() + { + return $this->asset_scripts; + } + + public function hasAssetScripts() + { + return isset($this->asset_scripts); + } + + public function clearAssetScripts() + { + unset($this->asset_scripts); + } + + /** + * Generated from protobuf field .waves.TransactionStateSnapshot.AssetScript asset_scripts = 8; + * @param \Waves\Protobuf\TransactionStateSnapshot\AssetScript $var + * @return $this + */ + public function setAssetScripts($var) + { + GPBUtil::checkMessage($var, \Waves\Protobuf\TransactionStateSnapshot\AssetScript::class); + $this->asset_scripts = $var; + + return $this; + } + + /** + * Generated from protobuf field .waves.TransactionStateSnapshot.Alias aliases = 9; + * @return \Waves\Protobuf\TransactionStateSnapshot\Alias|null + */ + public function getAliases() + { + return $this->aliases; + } + + public function hasAliases() + { + return isset($this->aliases); + } + + public function clearAliases() + { + unset($this->aliases); + } + + /** + * Generated from protobuf field .waves.TransactionStateSnapshot.Alias aliases = 9; + * @param \Waves\Protobuf\TransactionStateSnapshot\Alias $var + * @return $this + */ + public function setAliases($var) + { + GPBUtil::checkMessage($var, \Waves\Protobuf\TransactionStateSnapshot\Alias::class); + $this->aliases = $var; + + return $this; + } + + /** + * Generated from protobuf field repeated .waves.TransactionStateSnapshot.OrderFill order_fills = 10; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getOrderFills() + { + return $this->order_fills; + } + + /** + * Generated from protobuf field repeated .waves.TransactionStateSnapshot.OrderFill order_fills = 10; + * @param array<\Waves\Protobuf\TransactionStateSnapshot\OrderFill>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setOrderFills($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Waves\Protobuf\TransactionStateSnapshot\OrderFill::class); + $this->order_fills = $arr; + + return $this; + } + + /** + * Generated from protobuf field .waves.TransactionStateSnapshot.AccountScript account_scripts = 11; + * @return \Waves\Protobuf\TransactionStateSnapshot\AccountScript|null + */ + public function getAccountScripts() + { + return $this->account_scripts; + } + + public function hasAccountScripts() + { + return isset($this->account_scripts); + } + + public function clearAccountScripts() + { + unset($this->account_scripts); + } + + /** + * Generated from protobuf field .waves.TransactionStateSnapshot.AccountScript account_scripts = 11; + * @param \Waves\Protobuf\TransactionStateSnapshot\AccountScript $var + * @return $this + */ + public function setAccountScripts($var) + { + GPBUtil::checkMessage($var, \Waves\Protobuf\TransactionStateSnapshot\AccountScript::class); + $this->account_scripts = $var; + + return $this; + } + + /** + * Generated from protobuf field repeated .waves.TransactionStateSnapshot.AccountData account_data = 12; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getAccountData() + { + return $this->account_data; + } + + /** + * Generated from protobuf field repeated .waves.TransactionStateSnapshot.AccountData account_data = 12; + * @param array<\Waves\Protobuf\TransactionStateSnapshot\AccountData>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setAccountData($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Waves\Protobuf\TransactionStateSnapshot\AccountData::class); + $this->account_data = $arr; + + return $this; + } + + /** + * Generated from protobuf field repeated .waves.TransactionStateSnapshot.Sponsorship sponsorships = 13; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getSponsorships() + { + return $this->sponsorships; + } + + /** + * Generated from protobuf field repeated .waves.TransactionStateSnapshot.Sponsorship sponsorships = 13; + * @param array<\Waves\Protobuf\TransactionStateSnapshot\Sponsorship>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setSponsorships($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Waves\Protobuf\TransactionStateSnapshot\Sponsorship::class); + $this->sponsorships = $arr; + + return $this; + } + + /** + * Generated from protobuf field .waves.TransactionStatus transaction_status = 14; + * @return int + */ + public function getTransactionStatus() + { + return $this->transaction_status; + } + + /** + * Generated from protobuf field .waves.TransactionStatus transaction_status = 14; + * @param int $var + * @return $this + */ + public function setTransactionStatus($var) + { + GPBUtil::checkEnum($var, \Waves\Protobuf\TransactionStatus::class); + $this->transaction_status = $var; + + return $this; + } + +} + diff --git a/src/Waves/Protobuf/TransactionStateSnapshot/AccountData.php b/src/Waves/Protobuf/TransactionStateSnapshot/AccountData.php new file mode 100644 index 0000000..9daea0e --- /dev/null +++ b/src/Waves/Protobuf/TransactionStateSnapshot/AccountData.php @@ -0,0 +1,86 @@ +waves.TransactionStateSnapshot.AccountData + */ +class AccountData extends \Google\Protobuf\Internal\Message +{ + /** + * Generated from protobuf field bytes address = 1; + */ + protected $address = ''; + /** + * Generated from protobuf field repeated .waves.DataEntry entries = 2; + */ + private $entries; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $address + * @type array<\Waves\Protobuf\DataEntry>|\Google\Protobuf\Internal\RepeatedField $entries + * } + */ + public function __construct($data = NULL) { + \Waves\ProtobufMetadata\TransactionStateSnapshot::initOnce(); + parent::__construct($data); + } + + /** + * Generated from protobuf field bytes address = 1; + * @return string + */ + public function getAddress() + { + return $this->address; + } + + /** + * Generated from protobuf field bytes address = 1; + * @param string $var + * @return $this + */ + public function setAddress($var) + { + GPBUtil::checkString($var, False); + $this->address = $var; + + return $this; + } + + /** + * Generated from protobuf field repeated .waves.DataEntry entries = 2; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getEntries() + { + return $this->entries; + } + + /** + * Generated from protobuf field repeated .waves.DataEntry entries = 2; + * @param array<\Waves\Protobuf\DataEntry>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setEntries($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Waves\Protobuf\DataEntry::class); + $this->entries = $arr; + + return $this; + } + +} + diff --git a/src/Waves/Protobuf/TransactionStateSnapshot/AccountScript.php b/src/Waves/Protobuf/TransactionStateSnapshot/AccountScript.php new file mode 100644 index 0000000..34d3759 --- /dev/null +++ b/src/Waves/Protobuf/TransactionStateSnapshot/AccountScript.php @@ -0,0 +1,113 @@ +waves.TransactionStateSnapshot.AccountScript + */ +class AccountScript extends \Google\Protobuf\Internal\Message +{ + /** + * Generated from protobuf field bytes sender_public_key = 1; + */ + protected $sender_public_key = ''; + /** + * Generated from protobuf field bytes script = 2; + */ + protected $script = ''; + /** + * Generated from protobuf field int64 verifier_complexity = 3; + */ + protected $verifier_complexity = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $sender_public_key + * @type string $script + * @type int|string $verifier_complexity + * } + */ + public function __construct($data = NULL) { + \Waves\ProtobufMetadata\TransactionStateSnapshot::initOnce(); + parent::__construct($data); + } + + /** + * Generated from protobuf field bytes sender_public_key = 1; + * @return string + */ + public function getSenderPublicKey() + { + return $this->sender_public_key; + } + + /** + * Generated from protobuf field bytes sender_public_key = 1; + * @param string $var + * @return $this + */ + public function setSenderPublicKey($var) + { + GPBUtil::checkString($var, False); + $this->sender_public_key = $var; + + return $this; + } + + /** + * Generated from protobuf field bytes script = 2; + * @return string + */ + public function getScript() + { + return $this->script; + } + + /** + * Generated from protobuf field bytes script = 2; + * @param string $var + * @return $this + */ + public function setScript($var) + { + GPBUtil::checkString($var, False); + $this->script = $var; + + return $this; + } + + /** + * Generated from protobuf field int64 verifier_complexity = 3; + * @return int|string + */ + public function getVerifierComplexity() + { + return $this->verifier_complexity; + } + + /** + * Generated from protobuf field int64 verifier_complexity = 3; + * @param int|string $var + * @return $this + */ + public function setVerifierComplexity($var) + { + GPBUtil::checkInt64($var); + $this->verifier_complexity = $var; + + return $this; + } + +} + diff --git a/src/Waves/Protobuf/TransactionStateSnapshot/Alias.php b/src/Waves/Protobuf/TransactionStateSnapshot/Alias.php new file mode 100644 index 0000000..347e6a9 --- /dev/null +++ b/src/Waves/Protobuf/TransactionStateSnapshot/Alias.php @@ -0,0 +1,86 @@ +waves.TransactionStateSnapshot.Alias + */ +class Alias extends \Google\Protobuf\Internal\Message +{ + /** + * Generated from protobuf field bytes address = 1; + */ + protected $address = ''; + /** + * Generated from protobuf field string alias = 2; + */ + protected $alias = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $address + * @type string $alias + * } + */ + public function __construct($data = NULL) { + \Waves\ProtobufMetadata\TransactionStateSnapshot::initOnce(); + parent::__construct($data); + } + + /** + * Generated from protobuf field bytes address = 1; + * @return string + */ + public function getAddress() + { + return $this->address; + } + + /** + * Generated from protobuf field bytes address = 1; + * @param string $var + * @return $this + */ + public function setAddress($var) + { + GPBUtil::checkString($var, False); + $this->address = $var; + + return $this; + } + + /** + * Generated from protobuf field string alias = 2; + * @return string + */ + public function getAlias() + { + return $this->alias; + } + + /** + * Generated from protobuf field string alias = 2; + * @param string $var + * @return $this + */ + public function setAlias($var) + { + GPBUtil::checkString($var, True); + $this->alias = $var; + + return $this; + } + +} + diff --git a/src/Waves/Protobuf/TransactionStateSnapshot/AssetNameAndDescription.php b/src/Waves/Protobuf/TransactionStateSnapshot/AssetNameAndDescription.php new file mode 100644 index 0000000..2dd910f --- /dev/null +++ b/src/Waves/Protobuf/TransactionStateSnapshot/AssetNameAndDescription.php @@ -0,0 +1,113 @@ +waves.TransactionStateSnapshot.AssetNameAndDescription + */ +class AssetNameAndDescription extends \Google\Protobuf\Internal\Message +{ + /** + * Generated from protobuf field bytes asset_id = 1; + */ + protected $asset_id = ''; + /** + * Generated from protobuf field string name = 2; + */ + protected $name = ''; + /** + * Generated from protobuf field string description = 3; + */ + protected $description = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $asset_id + * @type string $name + * @type string $description + * } + */ + public function __construct($data = NULL) { + \Waves\ProtobufMetadata\TransactionStateSnapshot::initOnce(); + parent::__construct($data); + } + + /** + * Generated from protobuf field bytes asset_id = 1; + * @return string + */ + public function getAssetId() + { + return $this->asset_id; + } + + /** + * Generated from protobuf field bytes asset_id = 1; + * @param string $var + * @return $this + */ + public function setAssetId($var) + { + GPBUtil::checkString($var, False); + $this->asset_id = $var; + + return $this; + } + + /** + * Generated from protobuf field string name = 2; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Generated from protobuf field string name = 2; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Generated from protobuf field string description = 3; + * @return string + */ + public function getDescription() + { + return $this->description; + } + + /** + * Generated from protobuf field string description = 3; + * @param string $var + * @return $this + */ + public function setDescription($var) + { + GPBUtil::checkString($var, True); + $this->description = $var; + + return $this; + } + +} + diff --git a/src/Waves/Protobuf/TransactionStateSnapshot/AssetScript.php b/src/Waves/Protobuf/TransactionStateSnapshot/AssetScript.php new file mode 100644 index 0000000..f1a6e49 --- /dev/null +++ b/src/Waves/Protobuf/TransactionStateSnapshot/AssetScript.php @@ -0,0 +1,86 @@ +waves.TransactionStateSnapshot.AssetScript + */ +class AssetScript extends \Google\Protobuf\Internal\Message +{ + /** + * Generated from protobuf field bytes asset_id = 1; + */ + protected $asset_id = ''; + /** + * Generated from protobuf field bytes script = 2; + */ + protected $script = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $asset_id + * @type string $script + * } + */ + public function __construct($data = NULL) { + \Waves\ProtobufMetadata\TransactionStateSnapshot::initOnce(); + parent::__construct($data); + } + + /** + * Generated from protobuf field bytes asset_id = 1; + * @return string + */ + public function getAssetId() + { + return $this->asset_id; + } + + /** + * Generated from protobuf field bytes asset_id = 1; + * @param string $var + * @return $this + */ + public function setAssetId($var) + { + GPBUtil::checkString($var, False); + $this->asset_id = $var; + + return $this; + } + + /** + * Generated from protobuf field bytes script = 2; + * @return string + */ + public function getScript() + { + return $this->script; + } + + /** + * Generated from protobuf field bytes script = 2; + * @param string $var + * @return $this + */ + public function setScript($var) + { + GPBUtil::checkString($var, False); + $this->script = $var; + + return $this; + } + +} + diff --git a/src/Waves/Protobuf/TransactionStateSnapshot/AssetVolume.php b/src/Waves/Protobuf/TransactionStateSnapshot/AssetVolume.php new file mode 100644 index 0000000..2c3a152 --- /dev/null +++ b/src/Waves/Protobuf/TransactionStateSnapshot/AssetVolume.php @@ -0,0 +1,113 @@ +waves.TransactionStateSnapshot.AssetVolume + */ +class AssetVolume extends \Google\Protobuf\Internal\Message +{ + /** + * Generated from protobuf field bytes asset_id = 1; + */ + protected $asset_id = ''; + /** + * Generated from protobuf field bool reissuable = 2; + */ + protected $reissuable = false; + /** + * Generated from protobuf field bytes volume = 3; + */ + protected $volume = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $asset_id + * @type bool $reissuable + * @type string $volume + * } + */ + public function __construct($data = NULL) { + \Waves\ProtobufMetadata\TransactionStateSnapshot::initOnce(); + parent::__construct($data); + } + + /** + * Generated from protobuf field bytes asset_id = 1; + * @return string + */ + public function getAssetId() + { + return $this->asset_id; + } + + /** + * Generated from protobuf field bytes asset_id = 1; + * @param string $var + * @return $this + */ + public function setAssetId($var) + { + GPBUtil::checkString($var, False); + $this->asset_id = $var; + + return $this; + } + + /** + * Generated from protobuf field bool reissuable = 2; + * @return bool + */ + public function getReissuable() + { + return $this->reissuable; + } + + /** + * Generated from protobuf field bool reissuable = 2; + * @param bool $var + * @return $this + */ + public function setReissuable($var) + { + GPBUtil::checkBool($var); + $this->reissuable = $var; + + return $this; + } + + /** + * Generated from protobuf field bytes volume = 3; + * @return string + */ + public function getVolume() + { + return $this->volume; + } + + /** + * Generated from protobuf field bytes volume = 3; + * @param string $var + * @return $this + */ + public function setVolume($var) + { + GPBUtil::checkString($var, False); + $this->volume = $var; + + return $this; + } + +} + diff --git a/src/Waves/Protobuf/TransactionStateSnapshot/Balance.php b/src/Waves/Protobuf/TransactionStateSnapshot/Balance.php new file mode 100644 index 0000000..5f670ae --- /dev/null +++ b/src/Waves/Protobuf/TransactionStateSnapshot/Balance.php @@ -0,0 +1,96 @@ +waves.TransactionStateSnapshot.Balance + */ +class Balance extends \Google\Protobuf\Internal\Message +{ + /** + * Generated from protobuf field bytes address = 1; + */ + protected $address = ''; + /** + * Generated from protobuf field .waves.Amount amount = 2; + */ + protected $amount = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $address + * @type \Waves\Protobuf\Amount $amount + * } + */ + public function __construct($data = NULL) { + \Waves\ProtobufMetadata\TransactionStateSnapshot::initOnce(); + parent::__construct($data); + } + + /** + * Generated from protobuf field bytes address = 1; + * @return string + */ + public function getAddress() + { + return $this->address; + } + + /** + * Generated from protobuf field bytes address = 1; + * @param string $var + * @return $this + */ + public function setAddress($var) + { + GPBUtil::checkString($var, False); + $this->address = $var; + + return $this; + } + + /** + * Generated from protobuf field .waves.Amount amount = 2; + * @return \Waves\Protobuf\Amount|null + */ + public function getAmount() + { + return $this->amount; + } + + public function hasAmount() + { + return isset($this->amount); + } + + public function clearAmount() + { + unset($this->amount); + } + + /** + * Generated from protobuf field .waves.Amount amount = 2; + * @param \Waves\Protobuf\Amount $var + * @return $this + */ + public function setAmount($var) + { + GPBUtil::checkMessage($var, \Waves\Protobuf\Amount::class); + $this->amount = $var; + + return $this; + } + +} + diff --git a/src/Waves/Protobuf/TransactionStateSnapshot/CancelledLease.php b/src/Waves/Protobuf/TransactionStateSnapshot/CancelledLease.php new file mode 100644 index 0000000..a340e97 --- /dev/null +++ b/src/Waves/Protobuf/TransactionStateSnapshot/CancelledLease.php @@ -0,0 +1,59 @@ +waves.TransactionStateSnapshot.CancelledLease + */ +class CancelledLease extends \Google\Protobuf\Internal\Message +{ + /** + * Generated from protobuf field bytes lease_id = 1; + */ + protected $lease_id = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $lease_id + * } + */ + public function __construct($data = NULL) { + \Waves\ProtobufMetadata\TransactionStateSnapshot::initOnce(); + parent::__construct($data); + } + + /** + * Generated from protobuf field bytes lease_id = 1; + * @return string + */ + public function getLeaseId() + { + return $this->lease_id; + } + + /** + * Generated from protobuf field bytes lease_id = 1; + * @param string $var + * @return $this + */ + public function setLeaseId($var) + { + GPBUtil::checkString($var, False); + $this->lease_id = $var; + + return $this; + } + +} + diff --git a/src/Waves/Protobuf/TransactionStateSnapshot/LeaseBalance.php b/src/Waves/Protobuf/TransactionStateSnapshot/LeaseBalance.php new file mode 100644 index 0000000..0659d0b --- /dev/null +++ b/src/Waves/Protobuf/TransactionStateSnapshot/LeaseBalance.php @@ -0,0 +1,113 @@ +waves.TransactionStateSnapshot.LeaseBalance + */ +class LeaseBalance extends \Google\Protobuf\Internal\Message +{ + /** + * Generated from protobuf field bytes address = 1; + */ + protected $address = ''; + /** + * Generated from protobuf field int64 in = 2; + */ + protected $in = 0; + /** + * Generated from protobuf field int64 out = 3; + */ + protected $out = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $address + * @type int|string $in + * @type int|string $out + * } + */ + public function __construct($data = NULL) { + \Waves\ProtobufMetadata\TransactionStateSnapshot::initOnce(); + parent::__construct($data); + } + + /** + * Generated from protobuf field bytes address = 1; + * @return string + */ + public function getAddress() + { + return $this->address; + } + + /** + * Generated from protobuf field bytes address = 1; + * @param string $var + * @return $this + */ + public function setAddress($var) + { + GPBUtil::checkString($var, False); + $this->address = $var; + + return $this; + } + + /** + * Generated from protobuf field int64 in = 2; + * @return int|string + */ + public function getIn() + { + return $this->in; + } + + /** + * Generated from protobuf field int64 in = 2; + * @param int|string $var + * @return $this + */ + public function setIn($var) + { + GPBUtil::checkInt64($var); + $this->in = $var; + + return $this; + } + + /** + * Generated from protobuf field int64 out = 3; + * @return int|string + */ + public function getOut() + { + return $this->out; + } + + /** + * Generated from protobuf field int64 out = 3; + * @param int|string $var + * @return $this + */ + public function setOut($var) + { + GPBUtil::checkInt64($var); + $this->out = $var; + + return $this; + } + +} + diff --git a/src/Waves/Protobuf/TransactionStateSnapshot/NewAsset.php b/src/Waves/Protobuf/TransactionStateSnapshot/NewAsset.php new file mode 100644 index 0000000..79744ff --- /dev/null +++ b/src/Waves/Protobuf/TransactionStateSnapshot/NewAsset.php @@ -0,0 +1,140 @@ +waves.TransactionStateSnapshot.NewAsset + */ +class NewAsset extends \Google\Protobuf\Internal\Message +{ + /** + * Generated from protobuf field bytes asset_id = 1; + */ + protected $asset_id = ''; + /** + * Generated from protobuf field bytes issuer_public_key = 2; + */ + protected $issuer_public_key = ''; + /** + * Generated from protobuf field int32 decimals = 3; + */ + protected $decimals = 0; + /** + * Generated from protobuf field bool nft = 4; + */ + protected $nft = false; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $asset_id + * @type string $issuer_public_key + * @type int $decimals + * @type bool $nft + * } + */ + public function __construct($data = NULL) { + \Waves\ProtobufMetadata\TransactionStateSnapshot::initOnce(); + parent::__construct($data); + } + + /** + * Generated from protobuf field bytes asset_id = 1; + * @return string + */ + public function getAssetId() + { + return $this->asset_id; + } + + /** + * Generated from protobuf field bytes asset_id = 1; + * @param string $var + * @return $this + */ + public function setAssetId($var) + { + GPBUtil::checkString($var, False); + $this->asset_id = $var; + + return $this; + } + + /** + * Generated from protobuf field bytes issuer_public_key = 2; + * @return string + */ + public function getIssuerPublicKey() + { + return $this->issuer_public_key; + } + + /** + * Generated from protobuf field bytes issuer_public_key = 2; + * @param string $var + * @return $this + */ + public function setIssuerPublicKey($var) + { + GPBUtil::checkString($var, False); + $this->issuer_public_key = $var; + + return $this; + } + + /** + * Generated from protobuf field int32 decimals = 3; + * @return int + */ + public function getDecimals() + { + return $this->decimals; + } + + /** + * Generated from protobuf field int32 decimals = 3; + * @param int $var + * @return $this + */ + public function setDecimals($var) + { + GPBUtil::checkInt32($var); + $this->decimals = $var; + + return $this; + } + + /** + * Generated from protobuf field bool nft = 4; + * @return bool + */ + public function getNft() + { + return $this->nft; + } + + /** + * Generated from protobuf field bool nft = 4; + * @param bool $var + * @return $this + */ + public function setNft($var) + { + GPBUtil::checkBool($var); + $this->nft = $var; + + return $this; + } + +} + diff --git a/src/Waves/Protobuf/TransactionStateSnapshot/NewLease.php b/src/Waves/Protobuf/TransactionStateSnapshot/NewLease.php new file mode 100644 index 0000000..d03243a --- /dev/null +++ b/src/Waves/Protobuf/TransactionStateSnapshot/NewLease.php @@ -0,0 +1,140 @@ +waves.TransactionStateSnapshot.NewLease + */ +class NewLease extends \Google\Protobuf\Internal\Message +{ + /** + * Generated from protobuf field bytes lease_id = 1; + */ + protected $lease_id = ''; + /** + * Generated from protobuf field bytes sender_public_key = 2; + */ + protected $sender_public_key = ''; + /** + * Generated from protobuf field bytes recipient_address = 3; + */ + protected $recipient_address = ''; + /** + * Generated from protobuf field int64 amount = 4; + */ + protected $amount = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $lease_id + * @type string $sender_public_key + * @type string $recipient_address + * @type int|string $amount + * } + */ + public function __construct($data = NULL) { + \Waves\ProtobufMetadata\TransactionStateSnapshot::initOnce(); + parent::__construct($data); + } + + /** + * Generated from protobuf field bytes lease_id = 1; + * @return string + */ + public function getLeaseId() + { + return $this->lease_id; + } + + /** + * Generated from protobuf field bytes lease_id = 1; + * @param string $var + * @return $this + */ + public function setLeaseId($var) + { + GPBUtil::checkString($var, False); + $this->lease_id = $var; + + return $this; + } + + /** + * Generated from protobuf field bytes sender_public_key = 2; + * @return string + */ + public function getSenderPublicKey() + { + return $this->sender_public_key; + } + + /** + * Generated from protobuf field bytes sender_public_key = 2; + * @param string $var + * @return $this + */ + public function setSenderPublicKey($var) + { + GPBUtil::checkString($var, False); + $this->sender_public_key = $var; + + return $this; + } + + /** + * Generated from protobuf field bytes recipient_address = 3; + * @return string + */ + public function getRecipientAddress() + { + return $this->recipient_address; + } + + /** + * Generated from protobuf field bytes recipient_address = 3; + * @param string $var + * @return $this + */ + public function setRecipientAddress($var) + { + GPBUtil::checkString($var, False); + $this->recipient_address = $var; + + return $this; + } + + /** + * Generated from protobuf field int64 amount = 4; + * @return int|string + */ + public function getAmount() + { + return $this->amount; + } + + /** + * Generated from protobuf field int64 amount = 4; + * @param int|string $var + * @return $this + */ + public function setAmount($var) + { + GPBUtil::checkInt64($var); + $this->amount = $var; + + return $this; + } + +} + diff --git a/src/Waves/Protobuf/TransactionStateSnapshot/OrderFill.php b/src/Waves/Protobuf/TransactionStateSnapshot/OrderFill.php new file mode 100644 index 0000000..0f1071d --- /dev/null +++ b/src/Waves/Protobuf/TransactionStateSnapshot/OrderFill.php @@ -0,0 +1,113 @@ +waves.TransactionStateSnapshot.OrderFill + */ +class OrderFill extends \Google\Protobuf\Internal\Message +{ + /** + * Generated from protobuf field bytes order_id = 1; + */ + protected $order_id = ''; + /** + * Generated from protobuf field int64 volume = 2; + */ + protected $volume = 0; + /** + * Generated from protobuf field int64 fee = 3; + */ + protected $fee = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $order_id + * @type int|string $volume + * @type int|string $fee + * } + */ + public function __construct($data = NULL) { + \Waves\ProtobufMetadata\TransactionStateSnapshot::initOnce(); + parent::__construct($data); + } + + /** + * Generated from protobuf field bytes order_id = 1; + * @return string + */ + public function getOrderId() + { + return $this->order_id; + } + + /** + * Generated from protobuf field bytes order_id = 1; + * @param string $var + * @return $this + */ + public function setOrderId($var) + { + GPBUtil::checkString($var, False); + $this->order_id = $var; + + return $this; + } + + /** + * Generated from protobuf field int64 volume = 2; + * @return int|string + */ + public function getVolume() + { + return $this->volume; + } + + /** + * Generated from protobuf field int64 volume = 2; + * @param int|string $var + * @return $this + */ + public function setVolume($var) + { + GPBUtil::checkInt64($var); + $this->volume = $var; + + return $this; + } + + /** + * Generated from protobuf field int64 fee = 3; + * @return int|string + */ + public function getFee() + { + return $this->fee; + } + + /** + * Generated from protobuf field int64 fee = 3; + * @param int|string $var + * @return $this + */ + public function setFee($var) + { + GPBUtil::checkInt64($var); + $this->fee = $var; + + return $this; + } + +} + diff --git a/src/Waves/Protobuf/TransactionStateSnapshot/Sponsorship.php b/src/Waves/Protobuf/TransactionStateSnapshot/Sponsorship.php new file mode 100644 index 0000000..b75d82d --- /dev/null +++ b/src/Waves/Protobuf/TransactionStateSnapshot/Sponsorship.php @@ -0,0 +1,86 @@ +waves.TransactionStateSnapshot.Sponsorship + */ +class Sponsorship extends \Google\Protobuf\Internal\Message +{ + /** + * Generated from protobuf field bytes asset_id = 1; + */ + protected $asset_id = ''; + /** + * Generated from protobuf field int64 min_fee = 2; + */ + protected $min_fee = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $asset_id + * @type int|string $min_fee + * } + */ + public function __construct($data = NULL) { + \Waves\ProtobufMetadata\TransactionStateSnapshot::initOnce(); + parent::__construct($data); + } + + /** + * Generated from protobuf field bytes asset_id = 1; + * @return string + */ + public function getAssetId() + { + return $this->asset_id; + } + + /** + * Generated from protobuf field bytes asset_id = 1; + * @param string $var + * @return $this + */ + public function setAssetId($var) + { + GPBUtil::checkString($var, False); + $this->asset_id = $var; + + return $this; + } + + /** + * Generated from protobuf field int64 min_fee = 2; + * @return int|string + */ + public function getMinFee() + { + return $this->min_fee; + } + + /** + * Generated from protobuf field int64 min_fee = 2; + * @param int|string $var + * @return $this + */ + public function setMinFee($var) + { + GPBUtil::checkInt64($var); + $this->min_fee = $var; + + return $this; + } + +} + diff --git a/src/Waves/Protobuf/TransactionStatus.php b/src/Waves/Protobuf/TransactionStatus.php new file mode 100644 index 0000000..beb517d --- /dev/null +++ b/src/Waves/Protobuf/TransactionStatus.php @@ -0,0 +1,54 @@ +waves.TransactionStatus + */ +class TransactionStatus +{ + /** + * Generated from protobuf enum SUCCEEDED = 0; + */ + const SUCCEEDED = 0; + /** + * Generated from protobuf enum FAILED = 1; + */ + const FAILED = 1; + /** + * Generated from protobuf enum ELIDED = 2; + */ + const ELIDED = 2; + + private static $valueToName = [ + self::SUCCEEDED => 'SUCCEEDED', + self::FAILED => 'FAILED', + self::ELIDED => 'ELIDED', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/src/Waves/Protobuf/TransferTransactionData.php b/src/Waves/Protobuf/TransferTransactionData.php index 4ea303d..cde1436 100644 --- a/src/Waves/Protobuf/TransferTransactionData.php +++ b/src/Waves/Protobuf/TransferTransactionData.php @@ -1,5 +1,6 @@ internalAddGeneratedFile( - ' - -waves/amount.protowaves"* -Amount -asset_id (  -amount (B -com.wavesplatform.protobufZ9github.com/wavesplatform/gowaves/pkg/grpc/generated/wavesWavesWaves\\ProtobufWaves\\ProtobufMetadatabproto3' + "\x0A\xDB\x01\x0A\x12waves/amount.proto\x12\x05waves\"*\x0A\x06Amount\x12\x10\x0A\x08asset_id\x18\x01 \x01(\x0C\x12\x0E\x0A\x06amount\x18\x02 \x01(\x03B\x89\x01\x0A\x1Acom.wavesplatform.protobufZ9github.com/wavesplatform/gowaves/pkg/grpc/generated/waves\xAA\x02\x05Waves\xCA\x02\x0EWaves\\Protobuf\xE2\x02\x16Waves\\ProtobufMetadatab\x06proto3" , true); static::$is_initialized = true; diff --git a/src/Waves/ProtobufMetadata/Block.php b/src/Waves/ProtobufMetadata/Block.php index a12811c..ccf4395 100644 --- a/src/Waves/ProtobufMetadata/Block.php +++ b/src/Waves/ProtobufMetadata/Block.php @@ -1,5 +1,6 @@ internalAddGeneratedFile( - ' - -waves/block.protowaves" -Block# -header ( 2.waves.Block.Header - signature ( . - transactions ( 2.waves.SignedTransaction -Header -chain_id ( - reference (  - base_target ( -generation_signature (  - feature_votes (  - timestamp ( -version ( - generator (  - reward_vote ( -transactions_root - ( " - -MicroBlock -version ( - reference (  -updated_block_signature (  -sender_public_key ( . - transactions ( 2.waves.SignedTransaction"e -SignedMicroBlock& - micro_block ( 2.waves.MicroBlock - signature (  -total_block_id ( B - com.wavesplatform.protobuf.blockZ9github.com/wavesplatform/gowaves/pkg/grpc/generated/wavesWavesWaves\\ProtobufWaves\\ProtobufMetadatabproto3' + "\x0A\xBE\x08\x0A\x11waves/block.proto\x12\x05waves\"\xED\x04\x0A\x05Block\x12#\x0A\x06header\x18\x01 \x01(\x0B2\x13.waves.Block.Header\x12\x11\x0A\x09signature\x18\x02 \x01(\x0C\x12.\x0A\x0Ctransactions\x18\x03 \x03(\x0B2\x18.waves.SignedTransaction\x1A\xFB\x03\x0A\x06Header\x12\x10\x0A\x08chain_id\x18\x01 \x01(\x05\x12\x11\x0A\x09reference\x18\x02 \x01(\x0C\x12\x13\x0A\x0Bbase_target\x18\x03 \x01(\x03\x12\x1C\x0A\x14generation_signature\x18\x04 \x01(\x0C\x12\x15\x0A\x0Dfeature_votes\x18\x05 \x03(\x0D\x12\x11\x0A\x09timestamp\x18\x06 \x01(\x03\x12\x0F\x0A\x07version\x18\x07 \x01(\x05\x12\x11\x0A\x09generator\x18\x08 \x01(\x0C\x12\x13\x0A\x0Breward_vote\x18\x09 \x01(\x03\x12\x19\x0A\x11transactions_root\x18\x0A \x01(\x0C\x12\x12\x0A\x0Astate_hash\x18\x0B \x01(\x0C\x12?\x0A\x11challenged_header\x18\x0C \x01(\x0B2\$.waves.Block.Header.ChallengedHeader\x1A\xC5\x01\x0A\x10ChallengedHeader\x12\x13\x0A\x0Bbase_target\x18\x01 \x01(\x03\x12\x1C\x0A\x14generation_signature\x18\x02 \x01(\x0C\x12\x15\x0A\x0Dfeature_votes\x18\x03 \x03(\x0D\x12\x11\x0A\x09timestamp\x18\x04 \x01(\x03\x12\x11\x0A\x09generator\x18\x05 \x01(\x0C\x12\x13\x0A\x0Breward_vote\x18\x06 \x01(\x03\x12\x12\x0A\x0Astate_hash\x18\x07 \x01(\x0C\x12\x18\x0A\x10header_signature\x18\x08 \x01(\x0C\"\xB0\x01\x0A\x0AMicroBlock\x12\x0F\x0A\x07version\x18\x01 \x01(\x05\x12\x11\x0A\x09reference\x18\x02 \x01(\x0C\x12\x1F\x0A\x17updated_block_signature\x18\x03 \x01(\x0C\x12\x19\x0A\x11sender_public_key\x18\x04 \x01(\x0C\x12.\x0A\x0Ctransactions\x18\x05 \x03(\x0B2\x18.waves.SignedTransaction\x12\x12\x0A\x0Astate_hash\x18\x06 \x01(\x0C\"e\x0A\x10SignedMicroBlock\x12&\x0A\x0Bmicro_block\x18\x01 \x01(\x0B2\x11.waves.MicroBlock\x12\x11\x0A\x09signature\x18\x02 \x01(\x0C\x12\x16\x0A\x0Etotal_block_id\x18\x03 \x01(\x0CB\x8F\x01\x0A com.wavesplatform.protobuf.blockZ9github.com/wavesplatform/gowaves/pkg/grpc/generated/waves\xAA\x02\x05Waves\xCA\x02\x0EWaves\\Protobuf\xE2\x02\x16Waves\\ProtobufMetadatab\x06proto3" , true); static::$is_initialized = true; diff --git a/src/Waves/ProtobufMetadata/InvokeScriptResult.php b/src/Waves/ProtobufMetadata/InvokeScriptResult.php index 0c170b0f63713aeb44384ea77d00be028d799fbd..2a5745cca6ada7cdab4d5cea3b66692e5015ce87 100644 GIT binary patch literal 3957 zcmb_f`)}Je5dPhN1>0s_IwXF-+q95nIStmvL7Jh!puwPJTG1*?0!3%ehWzil<4bZJ zr5&&UPGa)zWn#fuzKum)o>r?Rbi?wD28?_~S^o-+00TZVL044Jx3yXj(>x~^66A}- zxRwyLe`*ANvh6aC0+I_V;LlN%FQOz85sjn2!M8KArg6>y=1_LMO#%_62|k3%Lbskn0dMjwlC(V8498^_}V zBhQH7TUI`u5YEJwCvT*4?3O&ovMYJ*@;CK!AH?N(c58Kwzb35qo9^7#4`B)mlM zdsOYhE+98Y0z(5um22g8N%@7=JUqRAMejF2F+w#oR6ok|Efk6}qEo_wrCBx91*#!X zM*|Hx+k@(spq?@5T4^EDsYdE8AyJJ*y%G!vdDRw8Knr2cG|ZH7p7I6sgPewFDze;1 zxRzr1bv2fUs-LZ9d#o|tJWG=tP}j_IHYi(oRE_yXsm_?B&GH{Jnp>=48S7d8KcO1B z`_8y4fffOU#uFR%MkTzTs!fw%uGB=xo`xK#PHVuN5}5ytqnLOBbk7vS;fxGeDfwUt zYZFs>Kvyeh;pPlk1u{NRMY2|=TClGQ5mqsdGU0U`;p+eP_*uW1S)3f;s zn@znqgh9Z>B3fzCgTqZJH@i4j4vq%bq=_AkH(BWpu3SeuWkE?hwXkYPu(R)vtQIK; zU=q|Cxq>#cfuW<1mjxjuAxu&dI~V%ss0yS@m@bdA9c)3_;&e4?w46*~iK$s{8rFMB z3i+hPWOiC3orykoP^w{&w1$6|T~7n-Q&EK0P+{_M3d8uo$AV$>(ZSM2GP6Q z`*fTON=*c8OjVPy6;q@wCJyl4GIc$9)Kg%q3Z$S%g8ZUgcON%lSO)W%!wzFmWEB=7SUSVjU`nU!(l~~7_+FT4?sFQUFw@k1Ut8l)9_EYXy|8_}n8z+w z3Bt-mz#~jHcTr1kl;`fx)qNVRtUEm1>M0Ix3llI9El3f1;`o;+7z2>uvtH_rjs}~8jF~O9H zqHl6P8cfU*!%5FX2|_o*@R=dz>`hjr!`8#f$udnxk*8QrZPTr~flBfHVvu*uXD(Hx zx-gYJ%+xK?xLeL$FzH|v+pDIF?-l0W(j>HnQiNJsGO7#<5H!NdkzBlnx1^HHVk*`t z->54%JoM`FYOG!@zmLL5+-{e35O2uqv=MKFsk+@~-@-=7v!D^0=c^L*cMdX-9QVG; zm*mbh3!YjiUT`}P<>1rmKiV?S&L!;kNfK)dr%3s?^Es4@dm5`A&UXM3J*So8k z*+4+K=9&v`cmy7WTW-1H4R{02%&a#qu1WFDde5HU?|kRXY<`)XCUA#7*5B4Zu*LtEfFFV4 zFG&ZX@Tt;F<6~8*zKDbtEEGRr>RWWgLdDU|tnMg{d@bUL8iT{g=dF9x`82w#NsOg# z(caTI4nm%1);owamk|qld)$>2%Oh0nb_1?+%#5UUFAHnji4kqN9J}3_B)6!RDW8r` zspLA9(IcC;ad46U>%ASS-ic(9Vz#7i_p+u-7xN6a$8j3z|7UZ|eUS)0&&;BC|FOuh z+8z#bXr3TvT6r<1v^Dr+8LlJ?saQIB#IcImq#cjE8%`!CNjdSye>Q;35{GO+*>I~_ zprzL0#%kLdxA#yq1)+Jhvi(TQbMhI~wZRvOubM?`csnzkjnF<~=VQc%bYMX!m2%ZA zS(BCdCI?23Jb;?ynMwJoD928d+=t2lxuTjCYjJCSkR4PbTd>5XjAb83PqBbE7ia-- zxI5o$->AQE+N28&mBf)k2P2M^Rc+7-if;kqrPF@GxxpjkOrcfnDm(=g*`MFxVU8_w#hpMo9Lp9;5EKTA*?vOb09zu1}!1tiahC|$03fWR z;FyObFsLnMnYbD9el9@8b@DpYaBp$l7sJf70cEr9tYMwJ4~xTWfnZGJN1;_G%enV5 zzLy9(86v00xWllyg;s?S07nou2wmrD#>#CX?1jm32`W*Ha3RR(#M^=DgekL0T}CwZ zl*kQO!WB9d!X#GnT2Qv!xzd5R4lvd5TTmT~$PmSXFoV}OP;rgE1ND4*Gu7)EwE3!; zg2yGB7iyBUXgRVV&o*Dz{hAR;EuGr0k!;p9q75e1ptatr0?Xn^MuXHoXSfK#1SRXuf;Oq5vCd z@LAmWaBl58zZBpuUW1%M5;8rC<=7oQc!_D-6T_XzUq1|lK1~O0RPWdWXQJK-Vt0Ba zuY*n?6TcHoZeC9Dw_@d$xg7moT(-|%ei!+xc=KP9$-QZ?U@uq?*7AdP-Q6*!t|W7> NBUaO08!q4i;2#i&5GMct diff --git a/src/Waves/ProtobufMetadata/Order.php b/src/Waves/ProtobufMetadata/Order.php index 27ec256cda65eac1814548cfb4cf1606fac8b8fb..4dd05df92d597f7274351e6c7e037584db90b007 100644 GIT binary patch literal 1944 zcmZ`)ZI9wM5dNND;cmAQSM?x)1s3kMZ6Ib3b$3C9)wNY5WP$( zuyExAAkQ;zj~~yx|E<^--jC#-XIwJHS7iBxs4XXj%vGM`DOv8+h?0ALnw=2I)m~=rbln)>#r=!F z&rTff@_nZI{bM^vZ{5w?UxlqbT&-NGBe=+#3y!I-;)5T?2ik<+w)r0f7xxt(0u9iH z`0Bj@`n|9$xtcN|4It=R!-(nn7I1-FEyN1Uw_pkge%0V>XdOD%ffiCE{2bpr!9$@m z0(8rIw6!p77~dY=CR--5?pI7O2u2enbC&_YYXD5-|cbltZ(1; z;&&rD3ZEb5ufsW7=xF>GjTR9djvvE^nG0+htH`6_Y)0qjs3zv9>gpKI;OG{0p!JDM z$6QX4GPTa-&g>0X5Ow{K{^@Om+U}Qi05Yj@P6@LJntJw CwRw>M delta 638 zcmY+CKX21O7{+6}j_ucpPVV?m>ga=`txJCbdY+sn*u^YNQ2TmWvtR>blf}Uj~?G z@>1f1J-cKgxjSQ$2S8$0u4b1!kFw>(dohdN@oQ?R3m*e)A~MXSJE*x`zoU>kTb?HX z3OOpooKq8BUblJcQn8&e4u}WU4K}T!#UOPs6)m;e+6wnga7q#LqGWMKZDk<<{9`6^ zR*E#Cj?w~f5m@mqIH!Q3+pXV0sa{9}tSg=u@{o&jQ)XkI>7t;uwt-DO1=utdr-y5|ZWUJ|Y y8>$QsQj;?aGE?(PAPNjEp%QKdrAaxN z$?@5#mGK#g#Th_p3!s#t0*KH663!k#!T@Tl8;}jO*T6I}Co{1as@4du*3v^Aq}T~a zfG|jd1FdBBbz!`3lo><ci4RQ2!~_)Om*gjvrafX3Llf~$ElEsCEJ;jaD*&l6R-c@~>;eENQZ>2& diff --git a/src/Waves/ProtobufMetadata/RewardShare.php b/src/Waves/ProtobufMetadata/RewardShare.php new file mode 100644 index 0000000..9567435 --- /dev/null +++ b/src/Waves/ProtobufMetadata/RewardShare.php @@ -0,0 +1,25 @@ +internalAddGeneratedFile( + "\x0A\xE5\x01\x0A\x18waves/reward_share.proto\x12\x05waves\".\x0A\x0BRewardShare\x12\x0F\x0A\x07address\x18\x01 \x01(\x0C\x12\x0E\x0A\x06reward\x18\x02 \x01(\x03B\x89\x01\x0A\x1Acom.wavesplatform.protobufZ9github.com/wavesplatform/gowaves/pkg/grpc/generated/waves\xAA\x02\x05Waves\xCA\x02\x0EWaves\\Protobuf\xE2\x02\x16Waves\\ProtobufMetadatab\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/src/Waves/ProtobufMetadata/StateSnapshot.php b/src/Waves/ProtobufMetadata/StateSnapshot.php new file mode 100644 index 0000000..22ce759 --- /dev/null +++ b/src/Waves/ProtobufMetadata/StateSnapshot.php @@ -0,0 +1,26 @@ +internalAddGeneratedFile( + "\x0A\xF9\x02\x0A\x1Awaves/state_snapshot.proto\x12\x05waves\"U\x0A\x0DBlockSnapshot\x12\x10\x0A\x08block_id\x18\x01 \x01(\x0C\x122\x0A\x09snapshots\x18\x02 \x03(\x0B2\x1F.waves.TransactionStateSnapshot\"`\x0A\x12MicroBlockSnapshot\x12\x16\x0A\x0Etotal_block_id\x18\x01 \x01(\x0C\x122\x0A\x09snapshots\x18\x02 \x03(\x0B2\x1F.waves.TransactionStateSnapshotB\x92\x01\x0A#com.wavesplatform.protobuf.snapshotZ9github.com/wavesplatform/gowaves/pkg/grpc/generated/waves\xAA\x02\x05Waves\xCA\x02\x0EWaves\\Protobuf\xE2\x02\x16Waves\\ProtobufMetadatab\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/src/Waves/ProtobufMetadata/Transaction.php b/src/Waves/ProtobufMetadata/Transaction.php index 6b4275d2e082d425668aa068633fe0590af559c4..cb9f0192c87c050fb8026d6dc834ab396b88fe20 100644 GIT binary patch literal 5912 zcmcgwZFAE`5dQ98Aq-_gfkcYmO)0fy2Qrj6g)q!?G~@Z|~V>_xA1Xr&sA^+IVQaW--fr&X(5V#^RUEO0$F~K@wSu?P|p`D@ZnJ z7_scovL-X@Y<6KyC#M$=VC&h;a^Fndx6{e<(=+S*{p?~k{&-@&o}Rh0$rJ?gWSa$S zXnpaoS$@PbKhFJthe>=Wlr$Q#zhQam2h93}BHlUb2EFeX_m@8RUo;v)g!VR-HUh4x+>1nsMz!{N~^ZsYSSOWgSS4!{Hs0 zFD;&JSy8)XWsGmL_=Vt&0AKZQUbTklusy!}{BVNEy?CS@Yei+ZgCBYl(IwU!el8%$J7@RqmIXAyzH$_ImAueq}LilN| z7$YHLBYMrAkk@3`(l$C6d%#1e2;ASKw7IPv1m`CL0b)jI=v}ichgw2{9W5x>DaetJ8PlA?GL-Vtdnr+e^dqrqFQ9rMqd&?p zBVsg$Kl`^QDd=WTObzQO@{WHcoWl=Q7d>A$?%{gJ`aGa6N(> z=V=n>Nj9fClNInR1tvvKSnc`#qKrjy;G7c0ya4GvQkaa7P;Ng@A%%T*yGT?!?;jiKZ^@e_Ng9=-B5ypOYQ`+L{ zEya1w(OYt!h4H$yWumtXgcdYXRk4ob-=rexv??koo$!>*kjYd?1u+nog2TAA2{Sg@ zujbzIo(@2I)JV{$0&{md6lwP}(HU@>LR5O1A$5HGl%jQyRyjP&riJN$zi@=s^NI-c zRaW8Vf0;)2sU&ZuUZ-6(IQ&l>4vE94e&o1)nsR`tnDrsIhXmKE7|x0oxiTb5CC21u zRf&Q4>(RXKw5z6CNz;aq5;@(*2Lbr5T<4)Bh}NJof4rm{xS9SdnPN-G+2%%3;}G!0UjdYVICDT!gU7)~=a&z{IXD1>p7H$m`we$r^!F zIDfz6rET?$jlcR{lkRNJ1g0-BE>un;(lST;Ykz$JO z3U2r~I;cw5tGOWDKA)Okrsy!uEX~3|9k($-1(B-fCyVXPeB<)~F8pdT1yXmTj;`m9 zowF#a*kPhisZc4>74I4@!2_d{8Wc{xF@qCLT>#2MJ(y~a z7T=Nvh$~X(F+BImAW9>juaaydpU~h@_E5BX`GEWTU>)+y?cxx`kHjmO5mG&sT+81cd^1-;z}3l382d=js|J6C-%m0y@g*WDE5;Nx^}EvYBs1+3#U8BbbG a{l@rAKCBkrVQb%Dg`|8i{o452X#4|IEzvRn literal 3851 zcmbVP-EI?C5XNzw*kcEhO-L3~$g-pme(F@IXoXXt`2(Vsh7u4`Wyv~TA3NKucb9XH z18IwT(W^c{U!u=ZsZt-K>Rn%=bAIgD*>wudO_DkD&CJf3`DV`N590k8t~!rsNEs2d z=`@ZUu}__tMI!Q|z-e?_Ey^4(>coCPS;cX-cAc+xpF7)IJI}8mlt*3W(W>*B98$g_ z7zsJ?gdc?!Wdk529m-?kQRk&psXdjZ(d-i{NRtS%2H*vRbLaUn7JdK+f8uT<@I8kM zBJkIe&+C5Z3!eo3_ZaFur$quz5uem;bwd?|BLTaiN0)Cn+NRW9iX;5Adrs|96tx4| z52>~j3d%wf)V3)1m>-LXJw?@OwM|7oM^dtU!?=~^{Fbw(W8*j>D+v zvT#ksEe*Ww|5Z!RQEj~wbwg3D9)Hd;dKBgv_59eU?+e>yP0G?esl0u3-#1xWZ#Mf$ zd5G1q-2V*uQP<&b8x}^Cg_TnW<@5TS^+MG}Q=ZY{NQRp%fSFMUNQW;Qxe8##Aa}*1l(Qao5lSNDk&(FdH)@{_{_L!4hE^SOfalo|u zPacW`2CZqxd;7!>>wZ(Y%~=;BROpYGkc*FnLHB$5yg)D9BkK!(P2Lju|#=@^bL`;r4 zSOa!z2=P=)lZe}p^EvNQyRGyu8V@^CmegK_ypUas6k+cxz~#ZLqd1Adm>AVQ{Gphh zX=xI16UH0ZFZOpzy=**epeU(}5z#kzC1IP|2SX8U8*vhY-yBfFsU0Xl@0-7pvZVH1 zC@Jl_N03(nyQ4r?OjHWAsZLU%9;3*!b)+!D?QjUXsgBm=NfNpSQynBpU9&RXk;1yh z?GrpxpwyIq3e%ElhYCJc_+Bz)y(FF90pL{BH5J;g6k^eM+@oSoQDhSK85DUOg*;+) zS?^5YoE}b}Jftb9{Q{@Hbm?l3wj1FioXrbV}H0`LfQQ!@j z>Bg8SydD*SAGRX9s|B zU|impy9x8@tu0xm&zW`7Y)VgxfJ&0Vh?*9Pb+Xb(dbhuikyo&w!c3NzbrlNzPz?1> zn=kE8AnVdlPzm<40EiI8+gDVjxY)e~<YP{7$&KO_MXB%tFga_k&H12+OAEuu7!(s?K~ z{E)CCBQK#`&KHz(!Thjo?!BG4nmD$;w)QbB*p%y+eeDOPU%VI+wN_4M8w;qSvGk zU_$MQ9P=rgyku%$?Xm6}T-X~mac~)&?BMPuhg51U9Kyv@CWf^Lxn`Zju>mJp?>tQP z9wN9c1cBKD7a?!9GLFljjQK(!?&#aS4tPnpAldj}T(WA@1E8JJt@ zIyZjJz%_jT>9ocH5v_=I^j40~xQgN){p9=hZrd08-9`n~SJd|1Q(tLEdZmvK+AD1q zdn_}f_SrFfe~rzbkn~=T4Y{g|=#%UHcgJo0*cy17jeM6W MP5p>^3vU7b1qZpQrT_o{ diff --git a/src/Waves/ProtobufMetadata/TransactionStateSnapshot.php b/src/Waves/ProtobufMetadata/TransactionStateSnapshot.php new file mode 100644 index 0000000..69bbdac --- /dev/null +++ b/src/Waves/ProtobufMetadata/TransactionStateSnapshot.php @@ -0,0 +1,27 @@ +internalAddGeneratedFile( + "\x0A\xB9\x10\x0A&waves/transaction_state_snapshot.proto\x12\x05waves\x1A\x17waves/transaction.proto\"\x95\x0E\x0A\x18TransactionStateSnapshot\x129\x0A\x08balances\x18\x01 \x03(\x0B2'.waves.TransactionStateSnapshot.Balance\x12D\x0A\x0Elease_balances\x18\x02 \x03(\x0B2,.waves.TransactionStateSnapshot.LeaseBalance\x12<\x0A\x0Anew_leases\x18\x03 \x03(\x0B2(.waves.TransactionStateSnapshot.NewLease\x12H\x0A\x10cancelled_leases\x18\x04 \x03(\x0B2..waves.TransactionStateSnapshot.CancelledLease\x12?\x0A\x0Dasset_statics\x18\x05 \x03(\x0B2(.waves.TransactionStateSnapshot.NewAsset\x12B\x0A\x0Dasset_volumes\x18\x06 \x03(\x0B2+.waves.TransactionStateSnapshot.AssetVolume\x12]\x0A\x1Casset_names_and_descriptions\x18\x07 \x03(\x0B27.waves.TransactionStateSnapshot.AssetNameAndDescription\x12B\x0A\x0Dasset_scripts\x18\x08 \x01(\x0B2+.waves.TransactionStateSnapshot.AssetScript\x126\x0A\x07aliases\x18\x09 \x01(\x0B2%.waves.TransactionStateSnapshot.Alias\x12>\x0A\x0Border_fills\x18\x0A \x03(\x0B2).waves.TransactionStateSnapshot.OrderFill\x12F\x0A\x0Faccount_scripts\x18\x0B \x01(\x0B2-.waves.TransactionStateSnapshot.AccountScript\x12A\x0A\x0Caccount_data\x18\x0C \x03(\x0B2+.waves.TransactionStateSnapshot.AccountData\x12A\x0A\x0Csponsorships\x18\x0D \x03(\x0B2+.waves.TransactionStateSnapshot.Sponsorship\x124\x0A\x12transaction_status\x18\x0E \x01(\x0E2\x18.waves.TransactionStatus\x1A9\x0A\x07Balance\x12\x0F\x0A\x07address\x18\x01 \x01(\x0C\x12\x1D\x0A\x06amount\x18\x02 \x01(\x0B2\x0D.waves.Amount\x1A8\x0A\x0CLeaseBalance\x12\x0F\x0A\x07address\x18\x01 \x01(\x0C\x12\x0A\x0A\x02in\x18\x02 \x01(\x03\x12\x0B\x0A\x03out\x18\x03 \x01(\x03\x1Ab\x0A\x08NewLease\x12\x10\x0A\x08lease_id\x18\x01 \x01(\x0C\x12\x19\x0A\x11sender_public_key\x18\x02 \x01(\x0C\x12\x19\x0A\x11recipient_address\x18\x03 \x01(\x0C\x12\x0E\x0A\x06amount\x18\x04 \x01(\x03\x1A\"\x0A\x0ECancelledLease\x12\x10\x0A\x08lease_id\x18\x01 \x01(\x0C\x1AV\x0A\x08NewAsset\x12\x10\x0A\x08asset_id\x18\x01 \x01(\x0C\x12\x19\x0A\x11issuer_public_key\x18\x02 \x01(\x0C\x12\x10\x0A\x08decimals\x18\x03 \x01(\x05\x12\x0B\x0A\x03nft\x18\x04 \x01(\x08\x1AC\x0A\x0BAssetVolume\x12\x10\x0A\x08asset_id\x18\x01 \x01(\x0C\x12\x12\x0A\x0Areissuable\x18\x02 \x01(\x08\x12\x0E\x0A\x06volume\x18\x03 \x01(\x0C\x1AN\x0A\x17AssetNameAndDescription\x12\x10\x0A\x08asset_id\x18\x01 \x01(\x0C\x12\x0C\x0A\x04name\x18\x02 \x01(\x09\x12\x13\x0A\x0Bdescription\x18\x03 \x01(\x09\x1A/\x0A\x0BAssetScript\x12\x10\x0A\x08asset_id\x18\x01 \x01(\x0C\x12\x0E\x0A\x06script\x18\x02 \x01(\x0C\x1A'\x0A\x05Alias\x12\x0F\x0A\x07address\x18\x01 \x01(\x0C\x12\x0D\x0A\x05alias\x18\x02 \x01(\x09\x1A:\x0A\x09OrderFill\x12\x10\x0A\x08order_id\x18\x01 \x01(\x0C\x12\x0E\x0A\x06volume\x18\x02 \x01(\x03\x12\x0B\x0A\x03fee\x18\x03 \x01(\x03\x1AW\x0A\x0DAccountScript\x12\x19\x0A\x11sender_public_key\x18\x01 \x01(\x0C\x12\x0E\x0A\x06script\x18\x02 \x01(\x0C\x12\x1B\x0A\x13verifier_complexity\x18\x03 \x01(\x03\x1AA\x0A\x0BAccountData\x12\x0F\x0A\x07address\x18\x01 \x01(\x0C\x12!\x0A\x07entries\x18\x02 \x03(\x0B2\x10.waves.DataEntry\x1A0\x0A\x0BSponsorship\x12\x10\x0A\x08asset_id\x18\x01 \x01(\x0C\x12\x0F\x0A\x07min_fee\x18\x02 \x01(\x03*:\x0A\x11TransactionStatus\x12\x0D\x0A\x09SUCCEEDED\x10\x00\x12\x0A\x0A\x06FAILED\x10\x01\x12\x0A\x0A\x06ELIDED\x10\x02B\x92\x01\x0A#com.wavesplatform.protobuf.snapshotZ9github.com/wavesplatform/gowaves/pkg/grpc/generated/waves\xAA\x02\x05Waves\xCA\x02\x0EWaves\\Protobuf\xE2\x02\x16Waves\\ProtobufMetadatab\x06proto3" + , true); + + static::$is_initialized = true; + } +} +