From c0c5f1f19465910b22816fb87cb3e374c031399f Mon Sep 17 00:00:00 2001 From: Andrei Kuzmiankov Date: Fri, 24 Jun 2022 18:42:12 -0700 Subject: [PATCH] feat: HIP-351 Signed-off-by: Andrei Kuzmiankov --- mirror/consensus_service.pb.go | 2 +- mirror/consensus_service_grpc.pb.go | 2 +- mirror/mirror_network_service.pb.go | 2 +- mirror/mirror_network_service_grpc.pb.go | 2 +- proto | 2 +- sdk/transaction_list.pb.go | 2 +- services/basic_types.pb.go | 25 +- services/consensus_create_topic.pb.go | 2 +- services/consensus_delete_topic.pb.go | 2 +- services/consensus_get_topic_info.pb.go | 2 +- services/consensus_service.pb.go | 2 +- services/consensus_service_grpc.pb.go | 2 +- services/consensus_submit_message.pb.go | 2 +- services/consensus_topic_info.pb.go | 2 +- services/consensus_update_topic.pb.go | 2 +- services/contract_call.pb.go | 2 +- services/contract_call_local.pb.go | 2 +- services/contract_create.pb.go | 2 +- services/contract_delete.pb.go | 2 +- services/contract_get_bytecode.pb.go | 2 +- services/contract_get_info.pb.go | 2 +- services/contract_get_records.pb.go | 2 +- services/contract_update.pb.go | 2 +- services/crypto_add_live_hash.pb.go | 2 +- services/crypto_approve_allowance.pb.go | 2 +- services/crypto_create.pb.go | 2 +- services/crypto_delete.pb.go | 2 +- services/crypto_delete_allowance.pb.go | 2 +- services/crypto_delete_live_hash.pb.go | 2 +- services/crypto_get_account_balance.pb.go | 2 +- services/crypto_get_account_records.pb.go | 2 +- services/crypto_get_info.pb.go | 2 +- services/crypto_get_live_hash.pb.go | 2 +- services/crypto_get_stakers.pb.go | 2 +- services/crypto_service.pb.go | 2 +- services/crypto_service_grpc.pb.go | 2 +- services/crypto_transfer.pb.go | 2 +- services/crypto_update.pb.go | 2 +- services/custom_fees.pb.go | 2 +- services/duration.pb.go | 2 +- services/ethereum_transaction.pb.go | 2 +- services/exchange_rate.pb.go | 2 +- services/file_append.pb.go | 2 +- services/file_create.pb.go | 2 +- services/file_delete.pb.go | 2 +- services/file_get_contents.pb.go | 2 +- services/file_get_info.pb.go | 2 +- services/file_service.pb.go | 2 +- services/file_service_grpc.pb.go | 2 +- services/file_update.pb.go | 2 +- services/freeze.pb.go | 2 +- services/freeze_service.pb.go | 2 +- services/freeze_service_grpc.pb.go | 2 +- services/freeze_type.pb.go | 2 +- services/get_account_details.pb.go | 2 +- services/get_by_key.pb.go | 2 +- services/get_by_solidity_id.pb.go | 2 +- services/network_get_execution_time.pb.go | 2 +- services/network_get_version_info.pb.go | 2 +- services/network_service.pb.go | 2 +- services/network_service_grpc.pb.go | 2 +- services/node_stake_update.pb.go | 318 +++++++++++++++ services/query.pb.go | 2 +- services/query_header.pb.go | 2 +- services/random_generate.pb.go | 150 +++++++ services/response.pb.go | 2 +- services/response_code.pb.go | 26 +- services/response_header.pb.go | 2 +- services/schedulable_transaction_body.pb.go | 424 +++++++++++--------- services/schedule_create.pb.go | 2 +- services/schedule_delete.pb.go | 2 +- services/schedule_get_info.pb.go | 2 +- services/schedule_service.pb.go | 2 +- services/schedule_service_grpc.pb.go | 2 +- services/schedule_sign.pb.go | 2 +- services/smart_contract_service.pb.go | 2 +- services/smart_contract_service_grpc.pb.go | 2 +- services/system_delete.pb.go | 2 +- services/system_undelete.pb.go | 2 +- services/throttle_definitions.pb.go | 2 +- services/timestamp.pb.go | 2 +- services/token_associate.pb.go | 2 +- services/token_burn.pb.go | 2 +- services/token_create.pb.go | 2 +- services/token_delete.pb.go | 2 +- services/token_dissociate.pb.go | 2 +- services/token_fee_schedule_update.pb.go | 2 +- services/token_freeze_account.pb.go | 2 +- services/token_get_account_nft_infos.pb.go | 2 +- services/token_get_info.pb.go | 2 +- services/token_get_nft_info.pb.go | 2 +- services/token_get_nft_infos.pb.go | 2 +- services/token_grant_kyc.pb.go | 2 +- services/token_mint.pb.go | 2 +- services/token_pause.pb.go | 2 +- services/token_revoke_kyc.pb.go | 2 +- services/token_service.pb.go | 2 +- services/token_service_grpc.pb.go | 2 +- services/token_unfreeze_account.pb.go | 2 +- services/token_unpause.pb.go | 2 +- services/token_update.pb.go | 2 +- services/token_wipe_account.pb.go | 2 +- services/transaction.pb.go | 2 +- services/transaction_body.pb.go | 77 +++- services/transaction_contents.pb.go | 2 +- services/transaction_get_fast_record.pb.go | 2 +- services/transaction_get_receipt.pb.go | 2 +- services/transaction_get_record.pb.go | 2 +- services/transaction_receipt.pb.go | 2 +- services/transaction_record.pb.go | 68 +++- services/transaction_response.pb.go | 2 +- services/unchecked_submit.pb.go | 2 +- services/util_service.pb.go | 78 ++++ services/util_service_grpc.pb.go | 109 +++++ streams/account_balance_file.pb.go | 2 +- 115 files changed, 1151 insertions(+), 336 deletions(-) create mode 100644 services/node_stake_update.pb.go create mode 100644 services/random_generate.pb.go create mode 100644 services/util_service.pb.go create mode 100644 services/util_service_grpc.pb.go diff --git a/mirror/consensus_service.pb.go b/mirror/consensus_service.pb.go index f0b2735..e89c4ae 100644 --- a/mirror/consensus_service.pb.go +++ b/mirror/consensus_service.pb.go @@ -20,7 +20,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: mirror/consensus_service.proto package mirror diff --git a/mirror/consensus_service_grpc.pb.go b/mirror/consensus_service_grpc.pb.go index 17d8f5c..89402dd 100644 --- a/mirror/consensus_service_grpc.pb.go +++ b/mirror/consensus_service_grpc.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: // - protoc-gen-go-grpc v1.2.0 -// - protoc v3.19.4 +// - protoc v3.21.1 // source: mirror/consensus_service.proto package mirror diff --git a/mirror/mirror_network_service.pb.go b/mirror/mirror_network_service.pb.go index 8736cb7..df676c2 100644 --- a/mirror/mirror_network_service.pb.go +++ b/mirror/mirror_network_service.pb.go @@ -20,7 +20,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: mirror/mirror_network_service.proto package mirror diff --git a/mirror/mirror_network_service_grpc.pb.go b/mirror/mirror_network_service_grpc.pb.go index 6318d49..9463983 100644 --- a/mirror/mirror_network_service_grpc.pb.go +++ b/mirror/mirror_network_service_grpc.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: // - protoc-gen-go-grpc v1.2.0 -// - protoc v3.19.4 +// - protoc v3.21.1 // source: mirror/mirror_network_service.proto package mirror diff --git a/proto b/proto index 8163fa1..5f23e85 160000 --- a/proto +++ b/proto @@ -1 +1 @@ -Subproject commit 8163fa1d805ed4947096ffbe18afd2d1d2eac49a +Subproject commit 5f23e85506731b09a561fe7d94dad9dec88c27f5 diff --git a/sdk/transaction_list.pb.go b/sdk/transaction_list.pb.go index 0c62dfe..9ac7e2d 100644 --- a/sdk/transaction_list.pb.go +++ b/sdk/transaction_list.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: transaction_list.proto package sdk diff --git a/services/basic_types.pb.go b/services/basic_types.pb.go index 6421bfc..73638db 100644 --- a/services/basic_types.pb.go +++ b/services/basic_types.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: basic_types.proto package services @@ -606,6 +606,12 @@ const ( //* // Ethereum Transaction HederaFunctionality_EthereumTransaction HederaFunctionality = 84 + //* + // Updates the staking info at the end of staking period to indicate new staking period has started. + HederaFunctionality_NodeStakeUpdate HederaFunctionality = 85 + //* + // Generates a pseudorandom number. + HederaFunctionality_RandomGenerate HederaFunctionality = 86 ) // Enum value maps for HederaFunctionality. @@ -682,6 +688,8 @@ var ( 82: "CryptoDeleteAllowance", 83: "GetAccountDetails", 84: "EthereumTransaction", + 85: "NodeStakeUpdate", + 86: "RandomGenerate", } HederaFunctionality_value = map[string]int32{ "NONE": 0, @@ -755,6 +763,8 @@ var ( "CryptoDeleteAllowance": 82, "GetAccountDetails": 83, "EthereumTransaction": 84, + "NodeStakeUpdate": 85, + "RandomGenerate": 86, } ) @@ -4470,7 +4480,7 @@ var file_basic_types_proto_rawDesc = []byte{ 0x50, 0x61, 0x75, 0x73, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x16, 0x0a, 0x12, 0x50, 0x61, 0x75, 0x73, 0x65, 0x4e, 0x6f, 0x74, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x62, 0x6c, 0x65, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x50, 0x61, 0x75, 0x73, 0x65, 0x64, 0x10, 0x01, 0x12, - 0x0c, 0x0a, 0x08, 0x55, 0x6e, 0x70, 0x61, 0x75, 0x73, 0x65, 0x64, 0x10, 0x02, 0x2a, 0xa9, 0x0c, + 0x0c, 0x0a, 0x08, 0x55, 0x6e, 0x70, 0x61, 0x75, 0x73, 0x65, 0x64, 0x10, 0x02, 0x2a, 0xd2, 0x0c, 0x0a, 0x13, 0x48, 0x65, 0x64, 0x65, 0x72, 0x61, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x12, 0x0a, 0x0e, 0x43, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, @@ -4569,10 +4579,13 @@ var file_basic_types_proto_rawDesc = []byte{ 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65, 0x10, 0x52, 0x12, 0x15, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x10, 0x53, 0x12, 0x17, 0x0a, 0x13, 0x45, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x54, 0x72, 0x61, 0x6e, - 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x10, 0x54, 0x42, 0x26, 0x0a, 0x22, 0x63, 0x6f, 0x6d, - 0x2e, 0x68, 0x65, 0x64, 0x65, 0x72, 0x61, 0x68, 0x61, 0x73, 0x68, 0x67, 0x72, 0x61, 0x70, 0x68, - 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x6a, 0x61, 0x76, 0x61, 0x50, - 0x01, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x10, 0x54, 0x12, 0x13, 0x0a, 0x0f, 0x4e, 0x6f, 0x64, + 0x65, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x10, 0x55, 0x12, 0x12, + 0x0a, 0x0e, 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, + 0x10, 0x56, 0x42, 0x26, 0x0a, 0x22, 0x63, 0x6f, 0x6d, 0x2e, 0x68, 0x65, 0x64, 0x65, 0x72, 0x61, + 0x68, 0x61, 0x73, 0x68, 0x67, 0x72, 0x61, 0x70, 0x68, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x2e, 0x6a, 0x61, 0x76, 0x61, 0x50, 0x01, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, } var ( diff --git a/services/consensus_create_topic.pb.go b/services/consensus_create_topic.pb.go index ed3021a..e7967e2 100644 --- a/services/consensus_create_topic.pb.go +++ b/services/consensus_create_topic.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: consensus_create_topic.proto package services diff --git a/services/consensus_delete_topic.pb.go b/services/consensus_delete_topic.pb.go index baef9fd..37fa88c 100644 --- a/services/consensus_delete_topic.pb.go +++ b/services/consensus_delete_topic.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: consensus_delete_topic.proto package services diff --git a/services/consensus_get_topic_info.pb.go b/services/consensus_get_topic_info.pb.go index 77cb924..f7e2b8f 100644 --- a/services/consensus_get_topic_info.pb.go +++ b/services/consensus_get_topic_info.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: consensus_get_topic_info.proto package services diff --git a/services/consensus_service.pb.go b/services/consensus_service.pb.go index 14d0cd2..f37e661 100644 --- a/services/consensus_service.pb.go +++ b/services/consensus_service.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: consensus_service.proto package services diff --git a/services/consensus_service_grpc.pb.go b/services/consensus_service_grpc.pb.go index 825f9ec..cbd0e56 100644 --- a/services/consensus_service_grpc.pb.go +++ b/services/consensus_service_grpc.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: // - protoc-gen-go-grpc v1.2.0 -// - protoc v3.19.4 +// - protoc v3.21.1 // source: consensus_service.proto package services diff --git a/services/consensus_submit_message.pb.go b/services/consensus_submit_message.pb.go index 00e6d2b..39fd881 100644 --- a/services/consensus_submit_message.pb.go +++ b/services/consensus_submit_message.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: consensus_submit_message.proto package services diff --git a/services/consensus_topic_info.pb.go b/services/consensus_topic_info.pb.go index 8895526..aa45d0b 100644 --- a/services/consensus_topic_info.pb.go +++ b/services/consensus_topic_info.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: consensus_topic_info.proto package services diff --git a/services/consensus_update_topic.pb.go b/services/consensus_update_topic.pb.go index c87fbde..a551695 100644 --- a/services/consensus_update_topic.pb.go +++ b/services/consensus_update_topic.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: consensus_update_topic.proto package services diff --git a/services/contract_call.pb.go b/services/contract_call.pb.go index bbb473a..263ad70 100644 --- a/services/contract_call.pb.go +++ b/services/contract_call.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: contract_call.proto package services diff --git a/services/contract_call_local.pb.go b/services/contract_call_local.pb.go index a6919e9..a9717cd 100644 --- a/services/contract_call_local.pb.go +++ b/services/contract_call_local.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: contract_call_local.proto package services diff --git a/services/contract_create.pb.go b/services/contract_create.pb.go index 253055e..3efe775 100644 --- a/services/contract_create.pb.go +++ b/services/contract_create.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: contract_create.proto package services diff --git a/services/contract_delete.pb.go b/services/contract_delete.pb.go index 207c17f..6cbfb8a 100644 --- a/services/contract_delete.pb.go +++ b/services/contract_delete.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: contract_delete.proto package services diff --git a/services/contract_get_bytecode.pb.go b/services/contract_get_bytecode.pb.go index 22873db..2468044 100644 --- a/services/contract_get_bytecode.pb.go +++ b/services/contract_get_bytecode.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: contract_get_bytecode.proto package services diff --git a/services/contract_get_info.pb.go b/services/contract_get_info.pb.go index 98f273c..2e17d78 100644 --- a/services/contract_get_info.pb.go +++ b/services/contract_get_info.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: contract_get_info.proto package services diff --git a/services/contract_get_records.pb.go b/services/contract_get_records.pb.go index c65b3d1..adee429 100644 --- a/services/contract_get_records.pb.go +++ b/services/contract_get_records.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: contract_get_records.proto package services diff --git a/services/contract_update.pb.go b/services/contract_update.pb.go index 8648bc3..77b08aa 100644 --- a/services/contract_update.pb.go +++ b/services/contract_update.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: contract_update.proto package services diff --git a/services/crypto_add_live_hash.pb.go b/services/crypto_add_live_hash.pb.go index 651c681..add80ae 100644 --- a/services/crypto_add_live_hash.pb.go +++ b/services/crypto_add_live_hash.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: crypto_add_live_hash.proto package services diff --git a/services/crypto_approve_allowance.pb.go b/services/crypto_approve_allowance.pb.go index 1ecf49e..4b3c752 100644 --- a/services/crypto_approve_allowance.pb.go +++ b/services/crypto_approve_allowance.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: crypto_approve_allowance.proto package services diff --git a/services/crypto_create.pb.go b/services/crypto_create.pb.go index cc494d9..5f8e7f5 100644 --- a/services/crypto_create.pb.go +++ b/services/crypto_create.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: crypto_create.proto package services diff --git a/services/crypto_delete.pb.go b/services/crypto_delete.pb.go index 6952513..26e9a84 100644 --- a/services/crypto_delete.pb.go +++ b/services/crypto_delete.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: crypto_delete.proto package services diff --git a/services/crypto_delete_allowance.pb.go b/services/crypto_delete_allowance.pb.go index ed3c55b..6fc2f3a 100644 --- a/services/crypto_delete_allowance.pb.go +++ b/services/crypto_delete_allowance.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: crypto_delete_allowance.proto package services diff --git a/services/crypto_delete_live_hash.pb.go b/services/crypto_delete_live_hash.pb.go index 5c2c89e..7f9afc3 100644 --- a/services/crypto_delete_live_hash.pb.go +++ b/services/crypto_delete_live_hash.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: crypto_delete_live_hash.proto package services diff --git a/services/crypto_get_account_balance.pb.go b/services/crypto_get_account_balance.pb.go index 46188ac..a187a6d 100644 --- a/services/crypto_get_account_balance.pb.go +++ b/services/crypto_get_account_balance.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: crypto_get_account_balance.proto package services diff --git a/services/crypto_get_account_records.pb.go b/services/crypto_get_account_records.pb.go index 2aa9bbb..9eb7740 100644 --- a/services/crypto_get_account_records.pb.go +++ b/services/crypto_get_account_records.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: crypto_get_account_records.proto package services diff --git a/services/crypto_get_info.pb.go b/services/crypto_get_info.pb.go index ce9cb08..cf578f9 100644 --- a/services/crypto_get_info.pb.go +++ b/services/crypto_get_info.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: crypto_get_info.proto package services diff --git a/services/crypto_get_live_hash.pb.go b/services/crypto_get_live_hash.pb.go index 01d2410..7b7d87d 100644 --- a/services/crypto_get_live_hash.pb.go +++ b/services/crypto_get_live_hash.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: crypto_get_live_hash.proto package services diff --git a/services/crypto_get_stakers.pb.go b/services/crypto_get_stakers.pb.go index 3205e88..b7c7838 100644 --- a/services/crypto_get_stakers.pb.go +++ b/services/crypto_get_stakers.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: crypto_get_stakers.proto package services diff --git a/services/crypto_service.pb.go b/services/crypto_service.pb.go index dd3996f..e77519d 100644 --- a/services/crypto_service.pb.go +++ b/services/crypto_service.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: crypto_service.proto package services diff --git a/services/crypto_service_grpc.pb.go b/services/crypto_service_grpc.pb.go index 04f3c71..0c1d271 100644 --- a/services/crypto_service_grpc.pb.go +++ b/services/crypto_service_grpc.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: // - protoc-gen-go-grpc v1.2.0 -// - protoc v3.19.4 +// - protoc v3.21.1 // source: crypto_service.proto package services diff --git a/services/crypto_transfer.pb.go b/services/crypto_transfer.pb.go index 68744ff..0e8f117 100644 --- a/services/crypto_transfer.pb.go +++ b/services/crypto_transfer.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: crypto_transfer.proto package services diff --git a/services/crypto_update.pb.go b/services/crypto_update.pb.go index 07d420e..ff0809c 100644 --- a/services/crypto_update.pb.go +++ b/services/crypto_update.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: crypto_update.proto package services diff --git a/services/custom_fees.pb.go b/services/custom_fees.pb.go index 36dd738..3f94f72 100644 --- a/services/custom_fees.pb.go +++ b/services/custom_fees.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: custom_fees.proto package services diff --git a/services/duration.pb.go b/services/duration.pb.go index 86cad26..40399ba 100644 --- a/services/duration.pb.go +++ b/services/duration.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: duration.proto package services diff --git a/services/ethereum_transaction.pb.go b/services/ethereum_transaction.pb.go index 83aabc4..7e225c5 100644 --- a/services/ethereum_transaction.pb.go +++ b/services/ethereum_transaction.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: ethereum_transaction.proto package services diff --git a/services/exchange_rate.pb.go b/services/exchange_rate.pb.go index e25847c..c201e7f 100644 --- a/services/exchange_rate.pb.go +++ b/services/exchange_rate.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: exchange_rate.proto package services diff --git a/services/file_append.pb.go b/services/file_append.pb.go index 1bb8896..c8307ae 100644 --- a/services/file_append.pb.go +++ b/services/file_append.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: file_append.proto package services diff --git a/services/file_create.pb.go b/services/file_create.pb.go index a13e83e..5bb998f 100644 --- a/services/file_create.pb.go +++ b/services/file_create.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: file_create.proto package services diff --git a/services/file_delete.pb.go b/services/file_delete.pb.go index aaf781f..f449564 100644 --- a/services/file_delete.pb.go +++ b/services/file_delete.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: file_delete.proto package services diff --git a/services/file_get_contents.pb.go b/services/file_get_contents.pb.go index 11a43e1..76192d9 100644 --- a/services/file_get_contents.pb.go +++ b/services/file_get_contents.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: file_get_contents.proto package services diff --git a/services/file_get_info.pb.go b/services/file_get_info.pb.go index ab5ffa4..24e10ea 100644 --- a/services/file_get_info.pb.go +++ b/services/file_get_info.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: file_get_info.proto package services diff --git a/services/file_service.pb.go b/services/file_service.pb.go index 4b858d7..22d94fa 100644 --- a/services/file_service.pb.go +++ b/services/file_service.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: file_service.proto package services diff --git a/services/file_service_grpc.pb.go b/services/file_service_grpc.pb.go index 018d688..37c1960 100644 --- a/services/file_service_grpc.pb.go +++ b/services/file_service_grpc.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: // - protoc-gen-go-grpc v1.2.0 -// - protoc v3.19.4 +// - protoc v3.21.1 // source: file_service.proto package services diff --git a/services/file_update.pb.go b/services/file_update.pb.go index d21bbbb..26f8c0f 100644 --- a/services/file_update.pb.go +++ b/services/file_update.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: file_update.proto package services diff --git a/services/freeze.pb.go b/services/freeze.pb.go index 068eb8e..09c1417 100644 --- a/services/freeze.pb.go +++ b/services/freeze.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: freeze.proto package services diff --git a/services/freeze_service.pb.go b/services/freeze_service.pb.go index 19965e7..9af857e 100644 --- a/services/freeze_service.pb.go +++ b/services/freeze_service.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: freeze_service.proto package services diff --git a/services/freeze_service_grpc.pb.go b/services/freeze_service_grpc.pb.go index b313976..478c282 100644 --- a/services/freeze_service_grpc.pb.go +++ b/services/freeze_service_grpc.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: // - protoc-gen-go-grpc v1.2.0 -// - protoc v3.19.4 +// - protoc v3.21.1 // source: freeze_service.proto package services diff --git a/services/freeze_type.pb.go b/services/freeze_type.pb.go index e422bf8..628f57a 100644 --- a/services/freeze_type.pb.go +++ b/services/freeze_type.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: freeze_type.proto package services diff --git a/services/get_account_details.pb.go b/services/get_account_details.pb.go index 975da00..ef7c5f5 100644 --- a/services/get_account_details.pb.go +++ b/services/get_account_details.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: get_account_details.proto package services diff --git a/services/get_by_key.pb.go b/services/get_by_key.pb.go index 04013f8..96043fa 100644 --- a/services/get_by_key.pb.go +++ b/services/get_by_key.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: get_by_key.proto package services diff --git a/services/get_by_solidity_id.pb.go b/services/get_by_solidity_id.pb.go index 427ba44..fe8500b 100644 --- a/services/get_by_solidity_id.pb.go +++ b/services/get_by_solidity_id.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: get_by_solidity_id.proto package services diff --git a/services/network_get_execution_time.pb.go b/services/network_get_execution_time.pb.go index 9d2ffec..0187cef 100644 --- a/services/network_get_execution_time.pb.go +++ b/services/network_get_execution_time.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: network_get_execution_time.proto package services diff --git a/services/network_get_version_info.pb.go b/services/network_get_version_info.pb.go index 03d6468..5c1d0a4 100644 --- a/services/network_get_version_info.pb.go +++ b/services/network_get_version_info.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: network_get_version_info.proto package services diff --git a/services/network_service.pb.go b/services/network_service.pb.go index b01dc3f..94a954c 100644 --- a/services/network_service.pb.go +++ b/services/network_service.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: network_service.proto package services diff --git a/services/network_service_grpc.pb.go b/services/network_service_grpc.pb.go index 9ee288f..5aa6a6c 100644 --- a/services/network_service_grpc.pb.go +++ b/services/network_service_grpc.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: // - protoc-gen-go-grpc v1.2.0 -// - protoc v3.19.4 +// - protoc v3.21.1 // source: network_service.proto package services diff --git a/services/node_stake_update.pb.go b/services/node_stake_update.pb.go new file mode 100644 index 0000000..bbd74a7 --- /dev/null +++ b/services/node_stake_update.pb.go @@ -0,0 +1,318 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.28.0 +// protoc v3.21.1 +// source: node_stake_update.proto + +package services + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +//* +// Updates the staking info at the end of staking period to indicate new staking period has started. +type NodeStakeUpdateTransactionBody struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + //* + // Time and date of the end of the staking period that is ending + EndOfStakingPeriod *Timestamp `protobuf:"bytes,1,opt,name=end_of_staking_period,json=endOfStakingPeriod,proto3" json:"end_of_staking_period,omitempty"` + //* + // Staking info of each node at the beginning of the new staking period + NodeStake []*NodeStake `protobuf:"bytes,2,rep,name=node_stake,json=nodeStake,proto3" json:"node_stake,omitempty"` +} + +func (x *NodeStakeUpdateTransactionBody) Reset() { + *x = NodeStakeUpdateTransactionBody{} + if protoimpl.UnsafeEnabled { + mi := &file_node_stake_update_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *NodeStakeUpdateTransactionBody) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*NodeStakeUpdateTransactionBody) ProtoMessage() {} + +func (x *NodeStakeUpdateTransactionBody) ProtoReflect() protoreflect.Message { + mi := &file_node_stake_update_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use NodeStakeUpdateTransactionBody.ProtoReflect.Descriptor instead. +func (*NodeStakeUpdateTransactionBody) Descriptor() ([]byte, []int) { + return file_node_stake_update_proto_rawDescGZIP(), []int{0} +} + +func (x *NodeStakeUpdateTransactionBody) GetEndOfStakingPeriod() *Timestamp { + if x != nil { + return x.EndOfStakingPeriod + } + return nil +} + +func (x *NodeStakeUpdateTransactionBody) GetNodeStake() []*NodeStake { + if x != nil { + return x.NodeStake + } + return nil +} + +//* +// Staking info for each node at the end of a staking period. +type NodeStake struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + //* + // The maximum stake (rewarded or not rewarded) this node can have as consensus weight. If its stake to + // reward is above this maximum at the start of a period, then accounts staking to the node in that + // period will be rewarded at a lower rate scaled by (maxStake / stakeRewardStart). + MaxStake int64 `protobuf:"varint,1,opt,name=max_stake,json=maxStake,proto3" json:"max_stake,omitempty"` + //* + // The minimum stake (rewarded or not rewarded) this node must reach before having non-zero consensus weight. + // If its total stake is below this minimum at the start of a period, then accounts staking to the node in + // that period will receive no rewards. + MinStake int64 `protobuf:"varint,2,opt,name=min_stake,json=minStake,proto3" json:"min_stake,omitempty"` + //* + // The id of this node. + NodeId int64 `protobuf:"varint,3,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` + //* + // The reward rate _per whole hbar_ that was staked to this node with declineReward=false from the start of + // the staking period that is ending. + RewardRate int64 `protobuf:"varint,4,opt,name=reward_rate,json=rewardRate,proto3" json:"reward_rate,omitempty"` + //* + // Consensus weight of this node for the new staking period. + Stake int64 `protobuf:"varint,5,opt,name=stake,proto3" json:"stake,omitempty"` + //* + // Total of (balance + stakedToMe) for all accounts staked to this node with declineReward=true, at the + // beginning of the new staking period. + StakeNotRewarded int64 `protobuf:"varint,6,opt,name=stake_not_rewarded,json=stakeNotRewarded,proto3" json:"stake_not_rewarded,omitempty"` + //* + // Total of (balance + stakedToMe) for all accounts staked to this node with declineReward=false, at the + // beginning of the new staking period. + StakeRewarded int64 `protobuf:"varint,7,opt,name=stake_rewarded,json=stakeRewarded,proto3" json:"stake_rewarded,omitempty"` +} + +func (x *NodeStake) Reset() { + *x = NodeStake{} + if protoimpl.UnsafeEnabled { + mi := &file_node_stake_update_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *NodeStake) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*NodeStake) ProtoMessage() {} + +func (x *NodeStake) ProtoReflect() protoreflect.Message { + mi := &file_node_stake_update_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use NodeStake.ProtoReflect.Descriptor instead. +func (*NodeStake) Descriptor() ([]byte, []int) { + return file_node_stake_update_proto_rawDescGZIP(), []int{1} +} + +func (x *NodeStake) GetMaxStake() int64 { + if x != nil { + return x.MaxStake + } + return 0 +} + +func (x *NodeStake) GetMinStake() int64 { + if x != nil { + return x.MinStake + } + return 0 +} + +func (x *NodeStake) GetNodeId() int64 { + if x != nil { + return x.NodeId + } + return 0 +} + +func (x *NodeStake) GetRewardRate() int64 { + if x != nil { + return x.RewardRate + } + return 0 +} + +func (x *NodeStake) GetStake() int64 { + if x != nil { + return x.Stake + } + return 0 +} + +func (x *NodeStake) GetStakeNotRewarded() int64 { + if x != nil { + return x.StakeNotRewarded + } + return 0 +} + +func (x *NodeStake) GetStakeRewarded() int64 { + if x != nil { + return x.StakeRewarded + } + return 0 +} + +var File_node_stake_update_proto protoreflect.FileDescriptor + +var file_node_stake_update_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x5f, 0x75, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x05, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x11, 0x62, 0x61, 0x73, 0x69, 0x63, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x96, 0x01, 0x0a, 0x1e, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x74, 0x61, + 0x6b, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x43, 0x0a, 0x15, 0x65, 0x6e, 0x64, 0x5f, 0x6f, + 0x66, 0x5f, 0x73, 0x74, 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x65, 0x72, 0x69, 0x6f, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x54, + 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x12, 0x65, 0x6e, 0x64, 0x4f, 0x66, 0x53, + 0x74, 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x12, 0x2f, 0x0a, 0x0a, + 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x10, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x74, 0x61, + 0x6b, 0x65, 0x52, 0x09, 0x6e, 0x6f, 0x64, 0x65, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x22, 0xea, 0x01, + 0x0a, 0x09, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6d, + 0x61, 0x78, 0x5f, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, + 0x6d, 0x61, 0x78, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x69, 0x6e, 0x5f, + 0x73, 0x74, 0x61, 0x6b, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6d, 0x69, 0x6e, + 0x53, 0x74, 0x61, 0x6b, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x69, 0x64, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x12, 0x1f, + 0x0a, 0x0b, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x0a, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x61, 0x74, 0x65, 0x12, + 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, + 0x73, 0x74, 0x61, 0x6b, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x5f, 0x6e, + 0x6f, 0x74, 0x5f, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x65, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x10, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x4e, 0x6f, 0x74, 0x52, 0x65, 0x77, 0x61, 0x72, + 0x64, 0x65, 0x64, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x5f, 0x72, 0x65, 0x77, + 0x61, 0x72, 0x64, 0x65, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x73, 0x74, 0x61, + 0x6b, 0x65, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x65, 0x64, 0x42, 0x26, 0x0a, 0x22, 0x63, 0x6f, + 0x6d, 0x2e, 0x68, 0x65, 0x64, 0x65, 0x72, 0x61, 0x68, 0x61, 0x73, 0x68, 0x67, 0x72, 0x61, 0x70, + 0x68, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x6a, 0x61, 0x76, 0x61, + 0x50, 0x01, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_node_stake_update_proto_rawDescOnce sync.Once + file_node_stake_update_proto_rawDescData = file_node_stake_update_proto_rawDesc +) + +func file_node_stake_update_proto_rawDescGZIP() []byte { + file_node_stake_update_proto_rawDescOnce.Do(func() { + file_node_stake_update_proto_rawDescData = protoimpl.X.CompressGZIP(file_node_stake_update_proto_rawDescData) + }) + return file_node_stake_update_proto_rawDescData +} + +var file_node_stake_update_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_node_stake_update_proto_goTypes = []interface{}{ + (*NodeStakeUpdateTransactionBody)(nil), // 0: proto.NodeStakeUpdateTransactionBody + (*NodeStake)(nil), // 1: proto.NodeStake + (*Timestamp)(nil), // 2: proto.Timestamp +} +var file_node_stake_update_proto_depIdxs = []int32{ + 2, // 0: proto.NodeStakeUpdateTransactionBody.end_of_staking_period:type_name -> proto.Timestamp + 1, // 1: proto.NodeStakeUpdateTransactionBody.node_stake:type_name -> proto.NodeStake + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_node_stake_update_proto_init() } +func file_node_stake_update_proto_init() { + if File_node_stake_update_proto != nil { + return + } + file_basic_types_proto_init() + file_timestamp_proto_init() + if !protoimpl.UnsafeEnabled { + file_node_stake_update_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NodeStakeUpdateTransactionBody); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_node_stake_update_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NodeStake); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_node_stake_update_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_node_stake_update_proto_goTypes, + DependencyIndexes: file_node_stake_update_proto_depIdxs, + MessageInfos: file_node_stake_update_proto_msgTypes, + }.Build() + File_node_stake_update_proto = out.File + file_node_stake_update_proto_rawDesc = nil + file_node_stake_update_proto_goTypes = nil + file_node_stake_update_proto_depIdxs = nil +} diff --git a/services/query.pb.go b/services/query.pb.go index af77c2f..3808bd1 100644 --- a/services/query.pb.go +++ b/services/query.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: query.proto package services diff --git a/services/query_header.pb.go b/services/query_header.pb.go index 7f7525c..68fbd03 100644 --- a/services/query_header.pb.go +++ b/services/query_header.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: query_header.proto package services diff --git a/services/random_generate.pb.go b/services/random_generate.pb.go new file mode 100644 index 0000000..6651774 --- /dev/null +++ b/services/random_generate.pb.go @@ -0,0 +1,150 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.28.0 +// protoc v3.21.1 +// source: random_generate.proto + +package services + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +//* +// Generates a pseudorandom number +type RandomGenerateTransactionBody struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + //* + // If provided and is positive, returns a 32-bit pseudorandom number from the given range in the transaction record. + // If not set or set to zero, will return a 384-bit pseudorandom number in the record. + Range int32 `protobuf:"varint,1,opt,name=range,proto3" json:"range,omitempty"` +} + +func (x *RandomGenerateTransactionBody) Reset() { + *x = RandomGenerateTransactionBody{} + if protoimpl.UnsafeEnabled { + mi := &file_random_generate_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RandomGenerateTransactionBody) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RandomGenerateTransactionBody) ProtoMessage() {} + +func (x *RandomGenerateTransactionBody) ProtoReflect() protoreflect.Message { + mi := &file_random_generate_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RandomGenerateTransactionBody.ProtoReflect.Descriptor instead. +func (*RandomGenerateTransactionBody) Descriptor() ([]byte, []int) { + return file_random_generate_proto_rawDescGZIP(), []int{0} +} + +func (x *RandomGenerateTransactionBody) GetRange() int32 { + if x != nil { + return x.Range + } + return 0 +} + +var File_random_generate_proto protoreflect.FileDescriptor + +var file_random_generate_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x72, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x5f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x05, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x35, + 0x0a, 0x1d, 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, + 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6f, 0x64, 0x79, 0x12, + 0x14, 0x0a, 0x05, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, + 0x72, 0x61, 0x6e, 0x67, 0x65, 0x42, 0x26, 0x0a, 0x22, 0x63, 0x6f, 0x6d, 0x2e, 0x68, 0x65, 0x64, + 0x65, 0x72, 0x61, 0x68, 0x61, 0x73, 0x68, 0x67, 0x72, 0x61, 0x70, 0x68, 0x2e, 0x61, 0x70, 0x69, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x6a, 0x61, 0x76, 0x61, 0x50, 0x01, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_random_generate_proto_rawDescOnce sync.Once + file_random_generate_proto_rawDescData = file_random_generate_proto_rawDesc +) + +func file_random_generate_proto_rawDescGZIP() []byte { + file_random_generate_proto_rawDescOnce.Do(func() { + file_random_generate_proto_rawDescData = protoimpl.X.CompressGZIP(file_random_generate_proto_rawDescData) + }) + return file_random_generate_proto_rawDescData +} + +var file_random_generate_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_random_generate_proto_goTypes = []interface{}{ + (*RandomGenerateTransactionBody)(nil), // 0: proto.RandomGenerateTransactionBody +} +var file_random_generate_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_random_generate_proto_init() } +func file_random_generate_proto_init() { + if File_random_generate_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_random_generate_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RandomGenerateTransactionBody); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_random_generate_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_random_generate_proto_goTypes, + DependencyIndexes: file_random_generate_proto_depIdxs, + MessageInfos: file_random_generate_proto_msgTypes, + }.Build() + File_random_generate_proto = out.File + file_random_generate_proto_rawDesc = nil + file_random_generate_proto_goTypes = nil + file_random_generate_proto_depIdxs = nil +} diff --git a/services/response.pb.go b/services/response.pb.go index f5a26a6..5b38614 100644 --- a/services/response.pb.go +++ b/services/response.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: response.proto package services diff --git a/services/response_code.pb.go b/services/response_code.pb.go index 27a621c..eeb8965 100644 --- a/services/response_code.pb.go +++ b/services/response_code.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: response_code.proto package services @@ -846,6 +846,12 @@ const ( //* // The staking account id or staking node id given is invalid or does not exist. ResponseCodeEnum_INVALID_STAKING_ID ResponseCodeEnum = 322 + //* + // Native staking, while implemented, has not yet enabled by the council. + ResponseCodeEnum_STAKING_NOT_ENABLED ResponseCodeEnum = 323 + //* + // The range provided in RandomGenerate transaction is negative. + ResponseCodeEnum_INVALID_RANDOM_GENERATE_RANGE ResponseCodeEnum = 324 ) // Enum value maps for ResponseCodeEnum. @@ -1132,6 +1138,8 @@ var ( 320: "PROXY_ACCOUNT_ID_FIELD_IS_DEPRECATED", 321: "SELF_STAKING_IS_NOT_ALLOWED", 322: "INVALID_STAKING_ID", + 323: "STAKING_NOT_ENABLED", + 324: "INVALID_RANDOM_GENERATE_RANGE", } ResponseCodeEnum_value = map[string]int32{ "OK": 0, @@ -1415,6 +1423,8 @@ var ( "PROXY_ACCOUNT_ID_FIELD_IS_DEPRECATED": 320, "SELF_STAKING_IS_NOT_ALLOWED": 321, "INVALID_STAKING_ID": 322, + "STAKING_NOT_ENABLED": 323, + "INVALID_RANDOM_GENERATE_RANGE": 324, } ) @@ -1449,7 +1459,7 @@ var File_response_code_proto protoreflect.FileDescriptor var file_response_code_proto_rawDesc = []byte{ 0x0a, 0x13, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x05, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0xd8, 0x48, 0x0a, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x05, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0x96, 0x49, 0x0a, 0x10, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x06, 0x0a, 0x02, 0x4f, 0x4b, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, @@ -2031,10 +2041,14 @@ var file_response_code_proto_rawDesc = []byte{ 0x53, 0x45, 0x4c, 0x46, 0x5f, 0x53, 0x54, 0x41, 0x4b, 0x49, 0x4e, 0x47, 0x5f, 0x49, 0x53, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x41, 0x4c, 0x4c, 0x4f, 0x57, 0x45, 0x44, 0x10, 0xc1, 0x02, 0x12, 0x17, 0x0a, 0x12, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x53, 0x54, 0x41, 0x4b, 0x49, 0x4e, - 0x47, 0x5f, 0x49, 0x44, 0x10, 0xc2, 0x02, 0x42, 0x26, 0x0a, 0x22, 0x63, 0x6f, 0x6d, 0x2e, 0x68, - 0x65, 0x64, 0x65, 0x72, 0x61, 0x68, 0x61, 0x73, 0x68, 0x67, 0x72, 0x61, 0x70, 0x68, 0x2e, 0x61, - 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x6a, 0x61, 0x76, 0x61, 0x50, 0x01, 0x62, - 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x47, 0x5f, 0x49, 0x44, 0x10, 0xc2, 0x02, 0x12, 0x18, 0x0a, 0x13, 0x53, 0x54, 0x41, 0x4b, 0x49, + 0x4e, 0x47, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x4e, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0xc3, + 0x02, 0x12, 0x22, 0x0a, 0x1d, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x52, 0x41, 0x4e, + 0x44, 0x4f, 0x4d, 0x5f, 0x47, 0x45, 0x4e, 0x45, 0x52, 0x41, 0x54, 0x45, 0x5f, 0x52, 0x41, 0x4e, + 0x47, 0x45, 0x10, 0xc4, 0x02, 0x42, 0x26, 0x0a, 0x22, 0x63, 0x6f, 0x6d, 0x2e, 0x68, 0x65, 0x64, + 0x65, 0x72, 0x61, 0x68, 0x61, 0x73, 0x68, 0x67, 0x72, 0x61, 0x70, 0x68, 0x2e, 0x61, 0x70, 0x69, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x6a, 0x61, 0x76, 0x61, 0x50, 0x01, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/services/response_header.pb.go b/services/response_header.pb.go index 4ab3cee..220ba58 100644 --- a/services/response_header.pb.go +++ b/services/response_header.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: response_header.proto package services diff --git a/services/schedulable_transaction_body.pb.go b/services/schedulable_transaction_body.pb.go index 66cd244..c158a66 100644 --- a/services/schedulable_transaction_body.pb.go +++ b/services/schedulable_transaction_body.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: schedulable_transaction_body.proto package services @@ -78,6 +78,7 @@ type SchedulableTransactionBody struct { // *SchedulableTransactionBody_TokenPause // *SchedulableTransactionBody_TokenUnpause // *SchedulableTransactionBody_ScheduleDelete + // *SchedulableTransactionBody_RandomGenerate Data isSchedulableTransactionBody_Data `protobuf_oneof:"data"` } @@ -393,6 +394,13 @@ func (x *SchedulableTransactionBody) GetScheduleDelete() *ScheduleDeleteTransact return nil } +func (x *SchedulableTransactionBody) GetRandomGenerate() *RandomGenerateTransactionBody { + if x, ok := x.GetData().(*SchedulableTransactionBody_RandomGenerate); ok { + return x.RandomGenerate + } + return nil +} + type isSchedulableTransactionBody_Data interface { isSchedulableTransactionBody_Data() } @@ -619,6 +627,12 @@ type SchedulableTransactionBody_ScheduleDelete struct { ScheduleDelete *ScheduleDeleteTransactionBody `protobuf:"bytes,34,opt,name=scheduleDelete,proto3,oneof"` } +type SchedulableTransactionBody_RandomGenerate struct { + //* + // Generates a pseudorandom number. + RandomGenerate *RandomGenerateTransactionBody `protobuf:"bytes,40,opt,name=random_generate,json=randomGenerate,proto3,oneof"` +} + func (*SchedulableTransactionBody_ContractCall) isSchedulableTransactionBody_Data() {} func (*SchedulableTransactionBody_ContractCreateInstance) isSchedulableTransactionBody_Data() {} @@ -693,6 +707,8 @@ func (*SchedulableTransactionBody_TokenUnpause) isSchedulableTransactionBody_Dat func (*SchedulableTransactionBody_ScheduleDelete) isSchedulableTransactionBody_Data() {} +func (*SchedulableTransactionBody_RandomGenerate) isSchedulableTransactionBody_Data() {} + var File_schedulable_transaction_body_proto protoreflect.FileDescriptor var file_schedulable_transaction_body_proto_rawDesc = []byte{ @@ -752,205 +768,211 @@ var file_schedulable_transaction_body_proto_rawDesc = []byte{ 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x70, 0x61, 0x75, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x13, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x75, 0x6e, 0x70, 0x61, 0x75, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, - 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa5, 0x18, 0x0a, - 0x1a, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x72, 0x61, 0x6e, - 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x26, 0x0a, 0x0e, 0x74, - 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x65, 0x65, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x04, 0x52, 0x0e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x46, 0x65, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x65, 0x6d, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x04, 0x6d, 0x65, 0x6d, 0x6f, 0x12, 0x48, 0x0a, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x72, - 0x61, 0x63, 0x74, 0x43, 0x61, 0x6c, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x43, 0x61, - 0x6c, 0x6c, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6f, 0x64, - 0x79, 0x48, 0x00, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x43, 0x61, 0x6c, - 0x6c, 0x12, 0x5e, 0x0a, 0x16, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x43, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x24, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, - 0x63, 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x42, 0x6f, 0x64, 0x79, 0x48, 0x00, 0x52, 0x16, 0x63, 0x6f, 0x6e, 0x74, 0x72, - 0x61, 0x63, 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, - 0x65, 0x12, 0x5e, 0x0a, 0x16, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x24, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, - 0x63, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x42, 0x6f, 0x64, 0x79, 0x48, 0x00, 0x52, 0x16, 0x63, 0x6f, 0x6e, 0x74, 0x72, - 0x61, 0x63, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, - 0x65, 0x12, 0x5e, 0x0a, 0x16, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x44, 0x65, 0x6c, - 0x65, 0x74, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x24, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, - 0x63, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x42, 0x6f, 0x64, 0x79, 0x48, 0x00, 0x52, 0x16, 0x63, 0x6f, 0x6e, 0x74, 0x72, - 0x61, 0x63, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, - 0x65, 0x12, 0x66, 0x0a, 0x16, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x41, 0x70, 0x70, 0x72, 0x6f, - 0x76, 0x65, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x25, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x2c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x43, 0x72, 0x79, 0x70, 0x74, 0x6f, - 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65, - 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6f, 0x64, 0x79, 0x48, - 0x00, 0x52, 0x16, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, - 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x63, 0x0a, 0x15, 0x63, 0x72, 0x79, - 0x70, 0x74, 0x6f, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, - 0x63, 0x65, 0x18, 0x26, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x2e, 0x43, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x6c, 0x6c, - 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x42, 0x6f, 0x64, 0x79, 0x48, 0x00, 0x52, 0x15, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x44, - 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x56, - 0x0a, 0x13, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x63, - 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x2e, 0x43, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6f, 0x64, 0x79, 0x48, - 0x00, 0x52, 0x13, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, - 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x48, 0x0a, 0x0c, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, - 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x43, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x44, 0x65, 0x6c, 0x65, 0x74, - 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6f, 0x64, 0x79, - 0x48, 0x00, 0x52, 0x0c, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, - 0x12, 0x4e, 0x0a, 0x0e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, - 0x65, 0x72, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x2e, 0x43, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x54, + 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x72, 0x61, + 0x6e, 0x64, 0x6f, 0x6d, 0x5f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0xf6, 0x18, 0x0a, 0x1a, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x61, + 0x62, 0x6c, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6f, + 0x64, 0x79, 0x12, 0x26, 0x0a, 0x0e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x46, 0x65, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0e, 0x74, 0x72, 0x61, 0x6e, + 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x65, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x65, + 0x6d, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6d, 0x65, 0x6d, 0x6f, 0x12, 0x48, + 0x0a, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x43, 0x61, 0x6c, 0x6c, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x43, 0x6f, 0x6e, + 0x74, 0x72, 0x61, 0x63, 0x74, 0x43, 0x61, 0x6c, 0x6c, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6f, 0x64, 0x79, 0x48, 0x00, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x74, + 0x72, 0x61, 0x63, 0x74, 0x43, 0x61, 0x6c, 0x6c, 0x12, 0x5e, 0x0a, 0x16, 0x63, 0x6f, 0x6e, 0x74, + 0x72, 0x61, 0x63, 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, + 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6f, 0x64, 0x79, 0x48, 0x00, - 0x52, 0x0e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, - 0x12, 0x56, 0x0a, 0x13, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, - 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x43, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x55, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6f, 0x64, - 0x79, 0x48, 0x00, 0x52, 0x13, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x42, 0x0a, 0x0a, 0x66, 0x69, 0x6c, 0x65, - 0x41, 0x70, 0x70, 0x65, 0x6e, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x41, 0x70, 0x70, 0x65, 0x6e, 0x64, 0x54, + 0x52, 0x16, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x5e, 0x0a, 0x16, 0x63, 0x6f, 0x6e, 0x74, + 0x72, 0x61, 0x63, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, + 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6f, 0x64, 0x79, 0x48, 0x00, - 0x52, 0x0a, 0x66, 0x69, 0x6c, 0x65, 0x41, 0x70, 0x70, 0x65, 0x6e, 0x64, 0x12, 0x42, 0x0a, 0x0a, - 0x66, 0x69, 0x6c, 0x65, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x20, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x43, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6f, - 0x64, 0x79, 0x48, 0x00, 0x52, 0x0a, 0x66, 0x69, 0x6c, 0x65, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x12, 0x42, 0x0a, 0x0a, 0x66, 0x69, 0x6c, 0x65, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x18, 0x0d, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x46, 0x69, 0x6c, - 0x65, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x42, 0x6f, 0x64, 0x79, 0x48, 0x00, 0x52, 0x0a, 0x66, 0x69, 0x6c, 0x65, 0x44, 0x65, - 0x6c, 0x65, 0x74, 0x65, 0x12, 0x42, 0x0a, 0x0a, 0x66, 0x69, 0x6c, 0x65, 0x55, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, - 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6f, 0x64, 0x79, 0x48, 0x00, 0x52, 0x0a, 0x66, 0x69, - 0x6c, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x48, 0x0a, 0x0c, 0x73, 0x79, 0x73, 0x74, - 0x65, 0x6d, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x44, 0x65, 0x6c, - 0x65, 0x74, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6f, - 0x64, 0x79, 0x48, 0x00, 0x52, 0x0c, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x44, 0x65, 0x6c, 0x65, - 0x74, 0x65, 0x12, 0x4e, 0x0a, 0x0e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x55, 0x6e, 0x64, 0x65, - 0x6c, 0x65, 0x74, 0x65, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x2e, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x55, 0x6e, 0x64, 0x65, 0x6c, 0x65, 0x74, - 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6f, 0x64, 0x79, - 0x48, 0x00, 0x52, 0x0e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x55, 0x6e, 0x64, 0x65, 0x6c, 0x65, - 0x74, 0x65, 0x12, 0x36, 0x0a, 0x06, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x18, 0x11, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x46, 0x72, 0x65, 0x65, 0x7a, - 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6f, 0x64, 0x79, - 0x48, 0x00, 0x52, 0x06, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x12, 0x60, 0x0a, 0x14, 0x63, 0x6f, - 0x6e, 0x73, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x6f, 0x70, - 0x69, 0x63, 0x18, 0x12, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x2e, 0x43, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x54, 0x6f, 0x70, 0x69, 0x63, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x42, 0x6f, 0x64, 0x79, 0x48, 0x00, 0x52, 0x14, 0x63, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x73, 0x75, - 0x73, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x12, 0x60, 0x0a, 0x14, - 0x63, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, - 0x6f, 0x70, 0x69, 0x63, 0x18, 0x13, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x2e, 0x43, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x55, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x42, 0x6f, 0x64, 0x79, 0x48, 0x00, 0x52, 0x14, 0x63, 0x6f, 0x6e, 0x73, 0x65, 0x6e, - 0x73, 0x75, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x12, 0x60, - 0x0a, 0x14, 0x63, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x44, 0x65, 0x6c, 0x65, 0x74, - 0x65, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x43, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x44, 0x65, - 0x6c, 0x65, 0x74, 0x65, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6f, 0x64, 0x79, 0x48, 0x00, 0x52, 0x14, 0x63, 0x6f, 0x6e, 0x73, - 0x65, 0x6e, 0x73, 0x75, 0x73, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x6f, 0x70, 0x69, 0x63, - 0x12, 0x66, 0x0a, 0x16, 0x63, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x53, 0x75, 0x62, - 0x6d, 0x69, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x2c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x43, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x73, - 0x75, 0x73, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, + 0x52, 0x16, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x5e, 0x0a, 0x16, 0x63, 0x6f, 0x6e, 0x74, + 0x72, 0x61, 0x63, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, + 0x63, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6f, 0x64, 0x79, 0x48, 0x00, - 0x52, 0x16, 0x63, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x53, 0x75, 0x62, 0x6d, 0x69, - 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x49, 0x0a, 0x0d, 0x74, 0x6f, 0x6b, 0x65, - 0x6e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x16, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x43, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6f, - 0x64, 0x79, 0x48, 0x00, 0x52, 0x0d, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x43, 0x72, 0x65, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x12, 0x4c, 0x0a, 0x0b, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x46, 0x72, 0x65, 0x65, - 0x7a, 0x65, 0x18, 0x17, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x46, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x41, 0x63, 0x63, 0x6f, - 0x75, 0x6e, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6f, - 0x64, 0x79, 0x48, 0x00, 0x52, 0x0b, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x46, 0x72, 0x65, 0x65, 0x7a, - 0x65, 0x12, 0x52, 0x0a, 0x0d, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, - 0x7a, 0x65, 0x18, 0x18, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x41, 0x63, - 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x42, 0x6f, 0x64, 0x79, 0x48, 0x00, 0x52, 0x0d, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x55, 0x6e, 0x66, - 0x72, 0x65, 0x65, 0x7a, 0x65, 0x12, 0x4b, 0x0a, 0x0d, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x47, 0x72, - 0x61, 0x6e, 0x74, 0x4b, 0x79, 0x63, 0x18, 0x19, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x4b, - 0x79, 0x63, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6f, 0x64, - 0x79, 0x48, 0x00, 0x52, 0x0d, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x4b, - 0x79, 0x63, 0x12, 0x4e, 0x0a, 0x0e, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x76, 0x6f, 0x6b, - 0x65, 0x4b, 0x79, 0x63, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x4b, 0x79, - 0x63, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6f, 0x64, 0x79, - 0x48, 0x00, 0x52, 0x0e, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x4b, - 0x79, 0x63, 0x12, 0x49, 0x0a, 0x0d, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x74, - 0x69, 0x6f, 0x6e, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x72, 0x61, - 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6f, 0x64, 0x79, 0x48, 0x00, 0x52, 0x0d, - 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x45, 0x0a, - 0x0b, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x18, 0x1c, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x42, 0x6f, 0x64, 0x79, 0x48, 0x00, 0x52, 0x0b, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x55, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x12, 0x3f, 0x0a, 0x09, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x4d, 0x69, 0x6e, - 0x74, 0x18, 0x1d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, - 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x4d, 0x69, 0x6e, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, + 0x52, 0x16, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, + 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x66, 0x0a, 0x16, 0x63, 0x72, 0x79, 0x70, + 0x74, 0x6f, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, + 0x63, 0x65, 0x18, 0x25, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x2e, 0x43, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x41, 0x6c, + 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x42, 0x6f, 0x64, 0x79, 0x48, 0x00, 0x52, 0x16, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, + 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65, + 0x12, 0x63, 0x0a, 0x15, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, + 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x26, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x2b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x43, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x44, 0x65, + 0x6c, 0x65, 0x74, 0x65, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6f, 0x64, 0x79, 0x48, 0x00, 0x52, 0x15, + 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x6c, 0x6c, 0x6f, + 0x77, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x56, 0x0a, 0x13, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x43, 0x72, 0x79, 0x70, 0x74, + 0x6f, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x42, 0x6f, 0x64, 0x79, 0x48, 0x00, 0x52, 0x13, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x48, 0x0a, + 0x0c, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x18, 0x08, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x43, 0x72, 0x79, 0x70, + 0x74, 0x6f, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x42, 0x6f, 0x64, 0x79, 0x48, 0x00, 0x52, 0x0c, 0x63, 0x72, 0x79, 0x70, 0x74, + 0x6f, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x4e, 0x0a, 0x0e, 0x63, 0x72, 0x79, 0x70, 0x74, + 0x6f, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x24, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x43, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x54, 0x72, + 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x42, 0x6f, 0x64, 0x79, 0x48, 0x00, 0x52, 0x0e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x54, + 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x12, 0x56, 0x0a, 0x13, 0x63, 0x72, 0x79, 0x70, 0x74, + 0x6f, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0a, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x43, 0x72, 0x79, + 0x70, 0x74, 0x6f, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6f, 0x64, 0x79, 0x48, 0x00, 0x52, 0x13, 0x63, 0x72, 0x79, 0x70, + 0x74, 0x6f, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, + 0x42, 0x0a, 0x0a, 0x66, 0x69, 0x6c, 0x65, 0x41, 0x70, 0x70, 0x65, 0x6e, 0x64, 0x18, 0x0b, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x46, 0x69, 0x6c, 0x65, + 0x41, 0x70, 0x70, 0x65, 0x6e, 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x42, 0x6f, 0x64, 0x79, 0x48, 0x00, 0x52, 0x0a, 0x66, 0x69, 0x6c, 0x65, 0x41, 0x70, 0x70, + 0x65, 0x6e, 0x64, 0x12, 0x42, 0x0a, 0x0a, 0x66, 0x69, 0x6c, 0x65, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, + 0x46, 0x69, 0x6c, 0x65, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6f, 0x64, 0x79, 0x48, 0x00, 0x52, 0x0a, 0x66, 0x69, 0x6c, + 0x65, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x42, 0x0a, 0x0a, 0x66, 0x69, 0x6c, 0x65, 0x44, + 0x65, 0x6c, 0x65, 0x74, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x72, + 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6f, 0x64, 0x79, 0x48, 0x00, 0x52, + 0x0a, 0x66, 0x69, 0x6c, 0x65, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x42, 0x0a, 0x0a, 0x66, + 0x69, 0x6c, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x20, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6f, 0x64, + 0x79, 0x48, 0x00, 0x52, 0x0a, 0x66, 0x69, 0x6c, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, + 0x48, 0x0a, 0x0c, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x18, + 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x53, 0x79, + 0x73, 0x74, 0x65, 0x6d, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6f, 0x64, 0x79, 0x48, 0x00, 0x52, 0x0c, 0x73, 0x79, 0x73, + 0x74, 0x65, 0x6d, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x4e, 0x0a, 0x0e, 0x73, 0x79, 0x73, + 0x74, 0x65, 0x6d, 0x55, 0x6e, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x18, 0x10, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x24, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, + 0x55, 0x6e, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x42, 0x6f, 0x64, 0x79, 0x48, 0x00, 0x52, 0x0e, 0x73, 0x79, 0x73, 0x74, 0x65, + 0x6d, 0x55, 0x6e, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x36, 0x0a, 0x06, 0x66, 0x72, 0x65, + 0x65, 0x7a, 0x65, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x2e, 0x46, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x42, 0x6f, 0x64, 0x79, 0x48, 0x00, 0x52, 0x06, 0x66, 0x72, 0x65, 0x65, 0x7a, + 0x65, 0x12, 0x60, 0x0a, 0x14, 0x63, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x18, 0x12, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x2a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x43, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x73, 0x75, + 0x73, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x54, 0x72, 0x61, 0x6e, + 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6f, 0x64, 0x79, 0x48, 0x00, 0x52, 0x14, 0x63, + 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x6f, + 0x70, 0x69, 0x63, 0x12, 0x60, 0x0a, 0x14, 0x63, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x73, 0x75, 0x73, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x18, 0x13, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x2a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x43, 0x6f, 0x6e, 0x73, 0x65, 0x6e, + 0x73, 0x75, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x54, 0x72, + 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6f, 0x64, 0x79, 0x48, 0x00, 0x52, + 0x14, 0x63, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x54, 0x6f, 0x70, 0x69, 0x63, 0x12, 0x60, 0x0a, 0x14, 0x63, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x73, + 0x75, 0x73, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x18, 0x14, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x43, 0x6f, 0x6e, 0x73, + 0x65, 0x6e, 0x73, 0x75, 0x73, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x6f, 0x70, 0x69, 0x63, + 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6f, 0x64, 0x79, 0x48, + 0x00, 0x52, 0x14, 0x63, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x44, 0x65, 0x6c, 0x65, + 0x74, 0x65, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x12, 0x66, 0x0a, 0x16, 0x63, 0x6f, 0x6e, 0x73, 0x65, + 0x6e, 0x73, 0x75, 0x73, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, + 0x43, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x4d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x42, 0x6f, 0x64, 0x79, 0x48, 0x00, 0x52, 0x16, 0x63, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x73, + 0x75, 0x73, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, + 0x49, 0x0a, 0x0d, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x18, 0x16, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x54, + 0x6f, 0x6b, 0x65, 0x6e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6f, 0x64, 0x79, 0x48, 0x00, 0x52, 0x0d, 0x74, 0x6f, 0x6b, + 0x65, 0x6e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4c, 0x0a, 0x0b, 0x74, 0x6f, + 0x6b, 0x65, 0x6e, 0x46, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x18, 0x17, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x28, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x46, 0x72, 0x65, + 0x65, 0x7a, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6f, 0x64, 0x79, 0x48, 0x00, 0x52, 0x0b, 0x74, 0x6f, 0x6b, + 0x65, 0x6e, 0x46, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x12, 0x52, 0x0a, 0x0d, 0x74, 0x6f, 0x6b, 0x65, + 0x6e, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x18, 0x18, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x2a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x55, 0x6e, 0x66, + 0x72, 0x65, 0x65, 0x7a, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x72, 0x61, 0x6e, + 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6f, 0x64, 0x79, 0x48, 0x00, 0x52, 0x0d, 0x74, + 0x6f, 0x6b, 0x65, 0x6e, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x12, 0x4b, 0x0a, 0x0d, + 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x4b, 0x79, 0x63, 0x18, 0x19, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x54, 0x6f, 0x6b, 0x65, + 0x6e, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x4b, 0x79, 0x63, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6f, 0x64, 0x79, 0x48, 0x00, 0x52, 0x0d, 0x74, 0x6f, 0x6b, 0x65, + 0x6e, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x4b, 0x79, 0x63, 0x12, 0x4e, 0x0a, 0x0e, 0x74, 0x6f, 0x6b, + 0x65, 0x6e, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x4b, 0x79, 0x63, 0x18, 0x1a, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x24, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, + 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x4b, 0x79, 0x63, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x42, 0x6f, 0x64, 0x79, 0x48, 0x00, 0x52, 0x0e, 0x74, 0x6f, 0x6b, 0x65, 0x6e, + 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x4b, 0x79, 0x63, 0x12, 0x49, 0x0a, 0x0d, 0x74, 0x6f, 0x6b, + 0x65, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x44, 0x65, + 0x6c, 0x65, 0x74, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, + 0x6f, 0x64, 0x79, 0x48, 0x00, 0x52, 0x0d, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x44, 0x65, 0x6c, 0x65, + 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x45, 0x0a, 0x0b, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x18, 0x1c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6f, 0x64, 0x79, 0x48, 0x00, 0x52, 0x0b, + 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x3f, 0x0a, 0x09, 0x74, + 0x6f, 0x6b, 0x65, 0x6e, 0x4d, 0x69, 0x6e, 0x74, 0x18, 0x1d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x4d, 0x69, 0x6e, 0x74, + 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6f, 0x64, 0x79, 0x48, + 0x00, 0x52, 0x09, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x4d, 0x69, 0x6e, 0x74, 0x12, 0x3f, 0x0a, 0x09, + 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x42, 0x75, 0x72, 0x6e, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x42, 0x75, 0x72, + 0x6e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6f, 0x64, 0x79, + 0x48, 0x00, 0x52, 0x09, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x42, 0x75, 0x72, 0x6e, 0x12, 0x46, 0x0a, + 0x09, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x57, 0x69, 0x70, 0x65, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x26, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x57, 0x69, + 0x70, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6f, 0x64, 0x79, 0x48, 0x00, 0x52, 0x09, 0x74, 0x6f, 0x6b, 0x65, - 0x6e, 0x4d, 0x69, 0x6e, 0x74, 0x12, 0x3f, 0x0a, 0x09, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x42, 0x75, - 0x72, 0x6e, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x42, 0x75, 0x72, 0x6e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6f, 0x64, 0x79, 0x48, 0x00, 0x52, 0x09, 0x74, 0x6f, 0x6b, - 0x65, 0x6e, 0x42, 0x75, 0x72, 0x6e, 0x12, 0x46, 0x0a, 0x09, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x57, - 0x69, 0x70, 0x65, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x57, 0x69, 0x70, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, - 0x6e, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6f, 0x64, - 0x79, 0x48, 0x00, 0x52, 0x09, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x57, 0x69, 0x70, 0x65, 0x12, 0x4e, - 0x0a, 0x0e, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x41, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, - 0x18, 0x20, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x54, - 0x6f, 0x6b, 0x65, 0x6e, 0x41, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x54, 0x72, 0x61, - 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6f, 0x64, 0x79, 0x48, 0x00, 0x52, 0x0e, - 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x41, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x12, 0x51, - 0x0a, 0x0f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x44, 0x69, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, - 0x65, 0x18, 0x21, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, - 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x44, 0x69, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x54, - 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6f, 0x64, 0x79, 0x48, 0x00, - 0x52, 0x0f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x44, 0x69, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, - 0x65, 0x12, 0x69, 0x0a, 0x19, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x66, 0x65, 0x65, 0x5f, 0x73, - 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x18, 0x27, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x54, 0x6f, 0x6b, + 0x6e, 0x57, 0x69, 0x70, 0x65, 0x12, 0x4e, 0x0a, 0x0e, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x41, 0x73, + 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x18, 0x20, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x41, 0x73, 0x73, 0x6f, 0x63, + 0x69, 0x61, 0x74, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, + 0x6f, 0x64, 0x79, 0x48, 0x00, 0x52, 0x0e, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x41, 0x73, 0x73, 0x6f, + 0x63, 0x69, 0x61, 0x74, 0x65, 0x12, 0x51, 0x0a, 0x0f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x44, 0x69, + 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x18, 0x21, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x44, 0x69, 0x73, 0x73, + 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x42, 0x6f, 0x64, 0x79, 0x48, 0x00, 0x52, 0x0f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x44, 0x69, + 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x12, 0x69, 0x0a, 0x19, 0x74, 0x6f, 0x6b, 0x65, + 0x6e, 0x5f, 0x66, 0x65, 0x65, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x75, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x18, 0x27, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x46, 0x65, 0x65, 0x53, 0x63, 0x68, 0x65, + 0x64, 0x75, 0x6c, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6f, 0x64, 0x79, 0x48, 0x00, 0x52, 0x16, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x46, 0x65, 0x65, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6f, - 0x64, 0x79, 0x48, 0x00, 0x52, 0x16, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x46, 0x65, 0x65, 0x53, 0x63, - 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x43, 0x0a, 0x0b, - 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x70, 0x61, 0x75, 0x73, 0x65, 0x18, 0x23, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x20, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x50, + 0x61, 0x74, 0x65, 0x12, 0x43, 0x0a, 0x0b, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x70, 0x61, 0x75, + 0x73, 0x65, 0x18, 0x23, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x50, 0x61, 0x75, 0x73, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6f, 0x64, 0x79, 0x48, 0x00, 0x52, 0x0a, 0x74, 0x6f, + 0x6b, 0x65, 0x6e, 0x50, 0x61, 0x75, 0x73, 0x65, 0x12, 0x49, 0x0a, 0x0d, 0x74, 0x6f, 0x6b, 0x65, + 0x6e, 0x5f, 0x75, 0x6e, 0x70, 0x61, 0x75, 0x73, 0x65, 0x18, 0x24, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x55, 0x6e, 0x70, 0x61, 0x75, 0x73, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, - 0x6f, 0x64, 0x79, 0x48, 0x00, 0x52, 0x0a, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x50, 0x61, 0x75, 0x73, - 0x65, 0x12, 0x49, 0x0a, 0x0d, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x75, 0x6e, 0x70, 0x61, 0x75, - 0x73, 0x65, 0x18, 0x24, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x55, 0x6e, 0x70, 0x61, 0x75, 0x73, 0x65, 0x54, 0x72, 0x61, - 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6f, 0x64, 0x79, 0x48, 0x00, 0x52, 0x0c, - 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x55, 0x6e, 0x70, 0x61, 0x75, 0x73, 0x65, 0x12, 0x4e, 0x0a, 0x0e, - 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x18, 0x22, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x53, 0x63, 0x68, - 0x65, 0x64, 0x75, 0x6c, 0x65, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, - 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6f, 0x64, 0x79, 0x48, 0x00, 0x52, 0x0e, 0x73, 0x63, - 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, 0x06, 0x0a, 0x04, - 0x64, 0x61, 0x74, 0x61, 0x42, 0x26, 0x0a, 0x22, 0x63, 0x6f, 0x6d, 0x2e, 0x68, 0x65, 0x64, 0x65, - 0x72, 0x61, 0x68, 0x61, 0x73, 0x68, 0x67, 0x72, 0x61, 0x70, 0x68, 0x2e, 0x61, 0x70, 0x69, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x6a, 0x61, 0x76, 0x61, 0x50, 0x01, 0x62, 0x06, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x33, + 0x6f, 0x64, 0x79, 0x48, 0x00, 0x52, 0x0c, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x55, 0x6e, 0x70, 0x61, + 0x75, 0x73, 0x65, 0x12, 0x4e, 0x0a, 0x0e, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x44, + 0x65, 0x6c, 0x65, 0x74, 0x65, 0x18, 0x22, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x44, 0x65, 0x6c, 0x65, + 0x74, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6f, 0x64, + 0x79, 0x48, 0x00, 0x52, 0x0e, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x44, 0x65, 0x6c, + 0x65, 0x74, 0x65, 0x12, 0x4f, 0x0a, 0x0f, 0x72, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x5f, 0x67, 0x65, + 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x18, 0x28, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x47, 0x65, 0x6e, 0x65, 0x72, + 0x61, 0x74, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6f, + 0x64, 0x79, 0x48, 0x00, 0x52, 0x0e, 0x72, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x47, 0x65, 0x6e, 0x65, + 0x72, 0x61, 0x74, 0x65, 0x42, 0x06, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x42, 0x26, 0x0a, 0x22, + 0x63, 0x6f, 0x6d, 0x2e, 0x68, 0x65, 0x64, 0x65, 0x72, 0x61, 0x68, 0x61, 0x73, 0x68, 0x67, 0x72, + 0x61, 0x70, 0x68, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x6a, 0x61, + 0x76, 0x61, 0x50, 0x01, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -1005,6 +1027,7 @@ var file_schedulable_transaction_body_proto_goTypes = []interface{}{ (*TokenPauseTransactionBody)(nil), // 35: proto.TokenPauseTransactionBody (*TokenUnpauseTransactionBody)(nil), // 36: proto.TokenUnpauseTransactionBody (*ScheduleDeleteTransactionBody)(nil), // 37: proto.ScheduleDeleteTransactionBody + (*RandomGenerateTransactionBody)(nil), // 38: proto.RandomGenerateTransactionBody } var file_schedulable_transaction_body_proto_depIdxs = []int32{ 1, // 0: proto.SchedulableTransactionBody.contractCall:type_name -> proto.ContractCallTransactionBody @@ -1044,11 +1067,12 @@ var file_schedulable_transaction_body_proto_depIdxs = []int32{ 35, // 34: proto.SchedulableTransactionBody.token_pause:type_name -> proto.TokenPauseTransactionBody 36, // 35: proto.SchedulableTransactionBody.token_unpause:type_name -> proto.TokenUnpauseTransactionBody 37, // 36: proto.SchedulableTransactionBody.scheduleDelete:type_name -> proto.ScheduleDeleteTransactionBody - 37, // [37:37] is the sub-list for method output_type - 37, // [37:37] is the sub-list for method input_type - 37, // [37:37] is the sub-list for extension type_name - 37, // [37:37] is the sub-list for extension extendee - 0, // [0:37] is the sub-list for field type_name + 38, // 37: proto.SchedulableTransactionBody.random_generate:type_name -> proto.RandomGenerateTransactionBody + 38, // [38:38] is the sub-list for method output_type + 38, // [38:38] is the sub-list for method input_type + 38, // [38:38] is the sub-list for extension type_name + 38, // [38:38] is the sub-list for extension extendee + 0, // [0:38] is the sub-list for field type_name } func init() { file_schedulable_transaction_body_proto_init() } @@ -1093,6 +1117,7 @@ func file_schedulable_transaction_body_proto_init() { file_token_pause_proto_init() file_token_unpause_proto_init() file_schedule_delete_proto_init() + file_random_generate_proto_init() if !protoimpl.UnsafeEnabled { file_schedulable_transaction_body_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SchedulableTransactionBody); i { @@ -1145,6 +1170,7 @@ func file_schedulable_transaction_body_proto_init() { (*SchedulableTransactionBody_TokenPause)(nil), (*SchedulableTransactionBody_TokenUnpause)(nil), (*SchedulableTransactionBody_ScheduleDelete)(nil), + (*SchedulableTransactionBody_RandomGenerate)(nil), } type x struct{} out := protoimpl.TypeBuilder{ diff --git a/services/schedule_create.pb.go b/services/schedule_create.pb.go index 8298bb7..57e8643 100644 --- a/services/schedule_create.pb.go +++ b/services/schedule_create.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: schedule_create.proto package services diff --git a/services/schedule_delete.pb.go b/services/schedule_delete.pb.go index 5cf6a43..d314110 100644 --- a/services/schedule_delete.pb.go +++ b/services/schedule_delete.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: schedule_delete.proto package services diff --git a/services/schedule_get_info.pb.go b/services/schedule_get_info.pb.go index 0f58d12..61de985 100644 --- a/services/schedule_get_info.pb.go +++ b/services/schedule_get_info.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: schedule_get_info.proto package services diff --git a/services/schedule_service.pb.go b/services/schedule_service.pb.go index 0b74901..ef052fc 100644 --- a/services/schedule_service.pb.go +++ b/services/schedule_service.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: schedule_service.proto package services diff --git a/services/schedule_service_grpc.pb.go b/services/schedule_service_grpc.pb.go index 1336546..19f160d 100644 --- a/services/schedule_service_grpc.pb.go +++ b/services/schedule_service_grpc.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: // - protoc-gen-go-grpc v1.2.0 -// - protoc v3.19.4 +// - protoc v3.21.1 // source: schedule_service.proto package services diff --git a/services/schedule_sign.pb.go b/services/schedule_sign.pb.go index 782d048..f76c208 100644 --- a/services/schedule_sign.pb.go +++ b/services/schedule_sign.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: schedule_sign.proto package services diff --git a/services/smart_contract_service.pb.go b/services/smart_contract_service.pb.go index d0e8e2a..b8d56ba 100644 --- a/services/smart_contract_service.pb.go +++ b/services/smart_contract_service.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: smart_contract_service.proto package services diff --git a/services/smart_contract_service_grpc.pb.go b/services/smart_contract_service_grpc.pb.go index a798fc5..cb21390 100644 --- a/services/smart_contract_service_grpc.pb.go +++ b/services/smart_contract_service_grpc.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: // - protoc-gen-go-grpc v1.2.0 -// - protoc v3.19.4 +// - protoc v3.21.1 // source: smart_contract_service.proto package services diff --git a/services/system_delete.pb.go b/services/system_delete.pb.go index bd954e3..836c726 100644 --- a/services/system_delete.pb.go +++ b/services/system_delete.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: system_delete.proto package services diff --git a/services/system_undelete.pb.go b/services/system_undelete.pb.go index 41865cc..73ead9e 100644 --- a/services/system_undelete.pb.go +++ b/services/system_undelete.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: system_undelete.proto package services diff --git a/services/throttle_definitions.pb.go b/services/throttle_definitions.pb.go index 83acdc3..3a29970 100644 --- a/services/throttle_definitions.pb.go +++ b/services/throttle_definitions.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: throttle_definitions.proto package services diff --git a/services/timestamp.pb.go b/services/timestamp.pb.go index 283307d..039c420 100644 --- a/services/timestamp.pb.go +++ b/services/timestamp.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: timestamp.proto package services diff --git a/services/token_associate.pb.go b/services/token_associate.pb.go index c1d3ac5..4e03520 100644 --- a/services/token_associate.pb.go +++ b/services/token_associate.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: token_associate.proto package services diff --git a/services/token_burn.pb.go b/services/token_burn.pb.go index 87c1523..26f59c5 100644 --- a/services/token_burn.pb.go +++ b/services/token_burn.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: token_burn.proto package services diff --git a/services/token_create.pb.go b/services/token_create.pb.go index 943bc9b..5f8934f 100644 --- a/services/token_create.pb.go +++ b/services/token_create.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: token_create.proto package services diff --git a/services/token_delete.pb.go b/services/token_delete.pb.go index 48eb1d9..9add84a 100644 --- a/services/token_delete.pb.go +++ b/services/token_delete.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: token_delete.proto package services diff --git a/services/token_dissociate.pb.go b/services/token_dissociate.pb.go index 6298b1c..ab7d227 100644 --- a/services/token_dissociate.pb.go +++ b/services/token_dissociate.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: token_dissociate.proto package services diff --git a/services/token_fee_schedule_update.pb.go b/services/token_fee_schedule_update.pb.go index fe45fae..ae82f8d 100644 --- a/services/token_fee_schedule_update.pb.go +++ b/services/token_fee_schedule_update.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: token_fee_schedule_update.proto package services diff --git a/services/token_freeze_account.pb.go b/services/token_freeze_account.pb.go index e095502..f399a6b 100644 --- a/services/token_freeze_account.pb.go +++ b/services/token_freeze_account.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: token_freeze_account.proto package services diff --git a/services/token_get_account_nft_infos.pb.go b/services/token_get_account_nft_infos.pb.go index e23d478..77c0597 100644 --- a/services/token_get_account_nft_infos.pb.go +++ b/services/token_get_account_nft_infos.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: token_get_account_nft_infos.proto package services diff --git a/services/token_get_info.pb.go b/services/token_get_info.pb.go index c20d5e2..f6be3d0 100644 --- a/services/token_get_info.pb.go +++ b/services/token_get_info.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: token_get_info.proto package services diff --git a/services/token_get_nft_info.pb.go b/services/token_get_nft_info.pb.go index cf147fb..ea6109c 100644 --- a/services/token_get_nft_info.pb.go +++ b/services/token_get_nft_info.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: token_get_nft_info.proto package services diff --git a/services/token_get_nft_infos.pb.go b/services/token_get_nft_infos.pb.go index 1bbf890..298aee1 100644 --- a/services/token_get_nft_infos.pb.go +++ b/services/token_get_nft_infos.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: token_get_nft_infos.proto package services diff --git a/services/token_grant_kyc.pb.go b/services/token_grant_kyc.pb.go index 1d0eb9d..74e9512 100644 --- a/services/token_grant_kyc.pb.go +++ b/services/token_grant_kyc.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: token_grant_kyc.proto package services diff --git a/services/token_mint.pb.go b/services/token_mint.pb.go index b7da795..9945ee4 100644 --- a/services/token_mint.pb.go +++ b/services/token_mint.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: token_mint.proto package services diff --git a/services/token_pause.pb.go b/services/token_pause.pb.go index 237d0b5..3870645 100644 --- a/services/token_pause.pb.go +++ b/services/token_pause.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: token_pause.proto package services diff --git a/services/token_revoke_kyc.pb.go b/services/token_revoke_kyc.pb.go index 51b5d70..c9a5aef 100644 --- a/services/token_revoke_kyc.pb.go +++ b/services/token_revoke_kyc.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: token_revoke_kyc.proto package services diff --git a/services/token_service.pb.go b/services/token_service.pb.go index 8566dd1..e669fcb 100644 --- a/services/token_service.pb.go +++ b/services/token_service.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: token_service.proto package services diff --git a/services/token_service_grpc.pb.go b/services/token_service_grpc.pb.go index 2502a02..98f34eb 100644 --- a/services/token_service_grpc.pb.go +++ b/services/token_service_grpc.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: // - protoc-gen-go-grpc v1.2.0 -// - protoc v3.19.4 +// - protoc v3.21.1 // source: token_service.proto package services diff --git a/services/token_unfreeze_account.pb.go b/services/token_unfreeze_account.pb.go index 04de14c..bbcb2ea 100644 --- a/services/token_unfreeze_account.pb.go +++ b/services/token_unfreeze_account.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: token_unfreeze_account.proto package services diff --git a/services/token_unpause.pb.go b/services/token_unpause.pb.go index 70bc1cc..781c652 100644 --- a/services/token_unpause.pb.go +++ b/services/token_unpause.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: token_unpause.proto package services diff --git a/services/token_update.pb.go b/services/token_update.pb.go index 90d65ea..e2fffbb 100644 --- a/services/token_update.pb.go +++ b/services/token_update.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: token_update.proto package services diff --git a/services/token_wipe_account.pb.go b/services/token_wipe_account.pb.go index dd5f30d..4c9beec 100644 --- a/services/token_wipe_account.pb.go +++ b/services/token_wipe_account.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: token_wipe_account.proto package services diff --git a/services/transaction.pb.go b/services/transaction.pb.go index 6055fae..719b843 100644 --- a/services/transaction.pb.go +++ b/services/transaction.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: transaction.proto package services diff --git a/services/transaction_body.pb.go b/services/transaction_body.pb.go index 8f1eca2..071c99e 100644 --- a/services/transaction_body.pb.go +++ b/services/transaction_body.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: transaction_body.proto package services @@ -98,6 +98,8 @@ type TransactionBody struct { // *TransactionBody_ScheduleCreate // *TransactionBody_ScheduleDelete // *TransactionBody_ScheduleSign + // *TransactionBody_NodeStakeUpdate + // *TransactionBody_RandomGenerate Data isTransactionBody_Data `protobuf_oneof:"data"` } @@ -484,6 +486,20 @@ func (x *TransactionBody) GetScheduleSign() *ScheduleSignTransactionBody { return nil } +func (x *TransactionBody) GetNodeStakeUpdate() *NodeStakeUpdateTransactionBody { + if x, ok := x.GetData().(*TransactionBody_NodeStakeUpdate); ok { + return x.NodeStakeUpdate + } + return nil +} + +func (x *TransactionBody) GetRandomGenerate() *RandomGenerateTransactionBody { + if x, ok := x.GetData().(*TransactionBody_RandomGenerate); ok { + return x.RandomGenerate + } + return nil +} + type isTransactionBody_Data interface { isTransactionBody_Data() } @@ -746,6 +762,18 @@ type TransactionBody_ScheduleSign struct { ScheduleSign *ScheduleSignTransactionBody `protobuf:"bytes,44,opt,name=scheduleSign,proto3,oneof"` } +type TransactionBody_NodeStakeUpdate struct { + //* + // Updates the staking info at the end of staking period to indicate new staking period has started. + NodeStakeUpdate *NodeStakeUpdateTransactionBody `protobuf:"bytes,51,opt,name=node_stake_update,json=nodeStakeUpdate,proto3,oneof"` +} + +type TransactionBody_RandomGenerate struct { + //* + // Generates a pseudorandom number. + RandomGenerate *RandomGenerateTransactionBody `protobuf:"bytes,52,opt,name=random_generate,json=randomGenerate,proto3,oneof"` +} + func (*TransactionBody_ContractCall) isTransactionBody_Data() {} func (*TransactionBody_ContractCreateInstance) isTransactionBody_Data() {} @@ -832,6 +860,10 @@ func (*TransactionBody_ScheduleDelete) isTransactionBody_Data() {} func (*TransactionBody_ScheduleSign) isTransactionBody_Data() {} +func (*TransactionBody_NodeStakeUpdate) isTransactionBody_Data() {} + +func (*TransactionBody_RandomGenerate) isTransactionBody_Data() {} + var File_transaction_body_proto protoreflect.FileDescriptor var file_transaction_body_proto_rawDesc = []byte{ @@ -902,8 +934,11 @@ var file_transaction_body_proto_rawDesc = []byte{ 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x13, 0x73, 0x63, 0x68, 0x65, 0x64, - 0x75, 0x6c, 0x65, 0x5f, 0x73, 0x69, 0x67, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf8, - 0x1d, 0x0a, 0x0f, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6f, + 0x75, 0x6c, 0x65, 0x5f, 0x73, 0x69, 0x67, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, + 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x72, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x5f, + 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9e, + 0x1f, 0x0a, 0x0f, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x3a, 0x0a, 0x0d, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x52, @@ -1142,10 +1177,20 @@ var file_transaction_body_proto_rawDesc = []byte{ 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x53, 0x69, 0x67, 0x6e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6f, 0x64, 0x79, 0x48, 0x00, 0x52, 0x0c, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x53, 0x69, 0x67, - 0x6e, 0x42, 0x06, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x42, 0x26, 0x0a, 0x22, 0x63, 0x6f, 0x6d, - 0x2e, 0x68, 0x65, 0x64, 0x65, 0x72, 0x61, 0x68, 0x61, 0x73, 0x68, 0x67, 0x72, 0x61, 0x70, 0x68, - 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x6a, 0x61, 0x76, 0x61, 0x50, - 0x01, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x6e, 0x12, 0x53, 0x0a, 0x11, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x5f, + 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x18, 0x33, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, + 0x6f, 0x64, 0x79, 0x48, 0x00, 0x52, 0x0f, 0x6e, 0x6f, 0x64, 0x65, 0x53, 0x74, 0x61, 0x6b, 0x65, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x4f, 0x0a, 0x0f, 0x72, 0x61, 0x6e, 0x64, 0x6f, 0x6d, + 0x5f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x18, 0x34, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x24, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x47, 0x65, + 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x42, 0x6f, 0x64, 0x79, 0x48, 0x00, 0x52, 0x0e, 0x72, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x47, + 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x42, 0x06, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x42, + 0x26, 0x0a, 0x22, 0x63, 0x6f, 0x6d, 0x2e, 0x68, 0x65, 0x64, 0x65, 0x72, 0x61, 0x68, 0x61, 0x73, + 0x68, 0x67, 0x72, 0x61, 0x70, 0x68, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x2e, 0x6a, 0x61, 0x76, 0x61, 0x50, 0x01, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -1209,6 +1254,8 @@ var file_transaction_body_proto_goTypes = []interface{}{ (*ScheduleCreateTransactionBody)(nil), // 44: proto.ScheduleCreateTransactionBody (*ScheduleDeleteTransactionBody)(nil), // 45: proto.ScheduleDeleteTransactionBody (*ScheduleSignTransactionBody)(nil), // 46: proto.ScheduleSignTransactionBody + (*NodeStakeUpdateTransactionBody)(nil), // 47: proto.NodeStakeUpdateTransactionBody + (*RandomGenerateTransactionBody)(nil), // 48: proto.RandomGenerateTransactionBody } var file_transaction_body_proto_depIdxs = []int32{ 1, // 0: proto.TransactionBody.transactionID:type_name -> proto.TransactionID @@ -1257,11 +1304,13 @@ var file_transaction_body_proto_depIdxs = []int32{ 44, // 43: proto.TransactionBody.scheduleCreate:type_name -> proto.ScheduleCreateTransactionBody 45, // 44: proto.TransactionBody.scheduleDelete:type_name -> proto.ScheduleDeleteTransactionBody 46, // 45: proto.TransactionBody.scheduleSign:type_name -> proto.ScheduleSignTransactionBody - 46, // [46:46] is the sub-list for method output_type - 46, // [46:46] is the sub-list for method input_type - 46, // [46:46] is the sub-list for extension type_name - 46, // [46:46] is the sub-list for extension extendee - 0, // [0:46] is the sub-list for field type_name + 47, // 46: proto.TransactionBody.node_stake_update:type_name -> proto.NodeStakeUpdateTransactionBody + 48, // 47: proto.TransactionBody.random_generate:type_name -> proto.RandomGenerateTransactionBody + 48, // [48:48] is the sub-list for method output_type + 48, // [48:48] is the sub-list for method input_type + 48, // [48:48] is the sub-list for extension type_name + 48, // [48:48] is the sub-list for extension extendee + 0, // [0:48] is the sub-list for field type_name } func init() { file_transaction_body_proto_init() } @@ -1314,6 +1363,8 @@ func file_transaction_body_proto_init() { file_schedule_create_proto_init() file_schedule_delete_proto_init() file_schedule_sign_proto_init() + file_node_stake_update_proto_init() + file_random_generate_proto_init() if !protoimpl.UnsafeEnabled { file_transaction_body_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*TransactionBody); i { @@ -1372,6 +1423,8 @@ func file_transaction_body_proto_init() { (*TransactionBody_ScheduleCreate)(nil), (*TransactionBody_ScheduleDelete)(nil), (*TransactionBody_ScheduleSign)(nil), + (*TransactionBody_NodeStakeUpdate)(nil), + (*TransactionBody_RandomGenerate)(nil), } type x struct{} out := protoimpl.TypeBuilder{ diff --git a/services/transaction_contents.pb.go b/services/transaction_contents.pb.go index 3bbc6c7..54ac645 100644 --- a/services/transaction_contents.pb.go +++ b/services/transaction_contents.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: transaction_contents.proto package services diff --git a/services/transaction_get_fast_record.pb.go b/services/transaction_get_fast_record.pb.go index b92bbc5..ef9a219 100644 --- a/services/transaction_get_fast_record.pb.go +++ b/services/transaction_get_fast_record.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: transaction_get_fast_record.proto package services diff --git a/services/transaction_get_receipt.pb.go b/services/transaction_get_receipt.pb.go index 4264807..a26954e 100644 --- a/services/transaction_get_receipt.pb.go +++ b/services/transaction_get_receipt.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: transaction_get_receipt.proto package services diff --git a/services/transaction_get_record.pb.go b/services/transaction_get_record.pb.go index bb870d8..771cba5 100644 --- a/services/transaction_get_record.pb.go +++ b/services/transaction_get_record.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: transaction_get_record.proto package services diff --git a/services/transaction_receipt.pb.go b/services/transaction_receipt.pb.go index 96ee155..4296ef3 100644 --- a/services/transaction_receipt.pb.go +++ b/services/transaction_receipt.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: transaction_receipt.proto package services diff --git a/services/transaction_record.pb.go b/services/transaction_record.pb.go index 390c88a..10f19c6 100644 --- a/services/transaction_record.pb.go +++ b/services/transaction_record.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: transaction_record.proto package services @@ -85,6 +85,10 @@ type TransactionRecord struct { //* // List of accounts with the corresponding staking rewards paid as a result of a transaction. PaidStakingRewards []*AccountAmount `protobuf:"bytes,18,rep,name=paid_staking_rewards,json=paidStakingRewards,proto3" json:"paid_staking_rewards,omitempty"` + // Types that are assignable to Entropy: + // *TransactionRecord_PseudorandomBytes + // *TransactionRecord_PseudorandomNumber + Entropy isTransactionRecord_Entropy `protobuf_oneof:"entropy"` } func (x *TransactionRecord) Reset() { @@ -245,6 +249,27 @@ func (x *TransactionRecord) GetPaidStakingRewards() []*AccountAmount { return nil } +func (m *TransactionRecord) GetEntropy() isTransactionRecord_Entropy { + if m != nil { + return m.Entropy + } + return nil +} + +func (x *TransactionRecord) GetPseudorandomBytes() []byte { + if x, ok := x.GetEntropy().(*TransactionRecord_PseudorandomBytes); ok { + return x.PseudorandomBytes + } + return nil +} + +func (x *TransactionRecord) GetPseudorandomNumber() int32 { + if x, ok := x.GetEntropy().(*TransactionRecord_PseudorandomNumber); ok { + return x.PseudorandomNumber + } + return 0 +} + type isTransactionRecord_Body interface { isTransactionRecord_Body() } @@ -267,6 +292,26 @@ func (*TransactionRecord_ContractCallResult) isTransactionRecord_Body() {} func (*TransactionRecord_ContractCreateResult) isTransactionRecord_Body() {} +type isTransactionRecord_Entropy interface { + isTransactionRecord_Entropy() +} + +type TransactionRecord_PseudorandomBytes struct { + //* + // In the record of a RandomGenerate transaction with no output range, a pseudorandom 384-bit string. + PseudorandomBytes []byte `protobuf:"bytes,19,opt,name=pseudorandom_bytes,json=pseudorandomBytes,proto3,oneof"` +} + +type TransactionRecord_PseudorandomNumber struct { + //* + // In the record of a RandomGenerate transaction with an output range, the output of a PRNG whose input was a 384-bit string. + PseudorandomNumber int32 `protobuf:"varint,20,opt,name=pseudorandom_number,json=pseudorandomNumber,proto3,oneof"` +} + +func (*TransactionRecord_PseudorandomBytes) isTransactionRecord_Entropy() {} + +func (*TransactionRecord_PseudorandomNumber) isTransactionRecord_Entropy() {} + var File_transaction_record_proto protoreflect.FileDescriptor var file_transaction_record_proto_rawDesc = []byte{ @@ -280,7 +325,7 @@ var file_transaction_record_proto_rawDesc = []byte{ 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x5f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8c, 0x08, 0x0a, 0x11, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xfb, 0x08, 0x0a, 0x11, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x33, 0x0a, 0x07, 0x72, 0x65, 0x63, 0x65, 0x69, 0x70, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, @@ -344,11 +389,18 @@ var file_transaction_record_proto_rawDesc = []byte{ 0x6b, 0x69, 0x6e, 0x67, 0x5f, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, 0x18, 0x12, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x12, 0x70, 0x61, 0x69, 0x64, 0x53, 0x74, - 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, 0x42, 0x06, 0x0a, 0x04, - 0x62, 0x6f, 0x64, 0x79, 0x42, 0x26, 0x0a, 0x22, 0x63, 0x6f, 0x6d, 0x2e, 0x68, 0x65, 0x64, 0x65, - 0x72, 0x61, 0x68, 0x61, 0x73, 0x68, 0x67, 0x72, 0x61, 0x70, 0x68, 0x2e, 0x61, 0x70, 0x69, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x6a, 0x61, 0x76, 0x61, 0x50, 0x01, 0x62, 0x06, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x33, + 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, 0x12, 0x2f, 0x0a, 0x12, + 0x70, 0x73, 0x65, 0x75, 0x64, 0x6f, 0x72, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x5f, 0x62, 0x79, 0x74, + 0x65, 0x73, 0x18, 0x13, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x01, 0x52, 0x11, 0x70, 0x73, 0x65, 0x75, + 0x64, 0x6f, 0x72, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x31, 0x0a, + 0x13, 0x70, 0x73, 0x65, 0x75, 0x64, 0x6f, 0x72, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x5f, 0x6e, 0x75, + 0x6d, 0x62, 0x65, 0x72, 0x18, 0x14, 0x20, 0x01, 0x28, 0x05, 0x48, 0x01, 0x52, 0x12, 0x70, 0x73, + 0x65, 0x75, 0x64, 0x6f, 0x72, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, + 0x42, 0x06, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x42, 0x09, 0x0a, 0x07, 0x65, 0x6e, 0x74, 0x72, + 0x6f, 0x70, 0x79, 0x42, 0x26, 0x0a, 0x22, 0x63, 0x6f, 0x6d, 0x2e, 0x68, 0x65, 0x64, 0x65, 0x72, + 0x61, 0x68, 0x61, 0x73, 0x68, 0x67, 0x72, 0x61, 0x70, 0x68, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x6a, 0x61, 0x76, 0x61, 0x50, 0x01, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, } var ( @@ -425,6 +477,8 @@ func file_transaction_record_proto_init() { file_transaction_record_proto_msgTypes[0].OneofWrappers = []interface{}{ (*TransactionRecord_ContractCallResult)(nil), (*TransactionRecord_ContractCreateResult)(nil), + (*TransactionRecord_PseudorandomBytes)(nil), + (*TransactionRecord_PseudorandomNumber)(nil), } type x struct{} out := protoimpl.TypeBuilder{ diff --git a/services/transaction_response.pb.go b/services/transaction_response.pb.go index c0259f4..232e190 100644 --- a/services/transaction_response.pb.go +++ b/services/transaction_response.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: transaction_response.proto package services diff --git a/services/unchecked_submit.pb.go b/services/unchecked_submit.pb.go index f5ed22a..0a4fd97 100644 --- a/services/unchecked_submit.pb.go +++ b/services/unchecked_submit.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: unchecked_submit.proto package services diff --git a/services/util_service.pb.go b/services/util_service.pb.go new file mode 100644 index 0000000..8aa31a7 --- /dev/null +++ b/services/util_service.pb.go @@ -0,0 +1,78 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.28.0 +// protoc v3.21.1 +// source: util_service.proto + +package services + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +var File_util_service_proto protoreflect.FileDescriptor + +var file_util_service_proto_rawDesc = []byte{ + 0x0a, 0x12, 0x75, 0x74, 0x69, 0x6c, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x05, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x74, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0x4f, 0x0a, 0x0b, 0x55, 0x74, + 0x69, 0x6c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x40, 0x0a, 0x0e, 0x72, 0x61, 0x6e, + 0x64, 0x6f, 0x6d, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x12, 0x12, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x1a, + 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x28, 0x0a, 0x26, 0x63, + 0x6f, 0x6d, 0x2e, 0x68, 0x65, 0x64, 0x65, 0x72, 0x61, 0x68, 0x61, 0x73, 0x68, 0x67, 0x72, 0x61, + 0x70, 0x68, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x2e, 0x6a, 0x61, 0x76, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var file_util_service_proto_goTypes = []interface{}{ + (*Transaction)(nil), // 0: proto.Transaction + (*TransactionResponse)(nil), // 1: proto.TransactionResponse +} +var file_util_service_proto_depIdxs = []int32{ + 0, // 0: proto.UtilService.randomGenerate:input_type -> proto.Transaction + 1, // 1: proto.UtilService.randomGenerate:output_type -> proto.TransactionResponse + 1, // [1:2] is the sub-list for method output_type + 0, // [0:1] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_util_service_proto_init() } +func file_util_service_proto_init() { + if File_util_service_proto != nil { + return + } + file_transaction_response_proto_init() + file_transaction_proto_init() + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_util_service_proto_rawDesc, + NumEnums: 0, + NumMessages: 0, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_util_service_proto_goTypes, + DependencyIndexes: file_util_service_proto_depIdxs, + }.Build() + File_util_service_proto = out.File + file_util_service_proto_rawDesc = nil + file_util_service_proto_goTypes = nil + file_util_service_proto_depIdxs = nil +} diff --git a/services/util_service_grpc.pb.go b/services/util_service_grpc.pb.go new file mode 100644 index 0000000..cd51b61 --- /dev/null +++ b/services/util_service_grpc.pb.go @@ -0,0 +1,109 @@ +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. +// versions: +// - protoc-gen-go-grpc v1.2.0 +// - protoc v3.21.1 +// source: util_service.proto + +package services + +import ( + context "context" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" +) + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +// Requires gRPC-Go v1.32.0 or later. +const _ = grpc.SupportPackageIsVersion7 + +// UtilServiceClient is the client API for UtilService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type UtilServiceClient interface { + //* + // Generates a pseudorandom number. + RandomGenerate(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error) +} + +type utilServiceClient struct { + cc grpc.ClientConnInterface +} + +func NewUtilServiceClient(cc grpc.ClientConnInterface) UtilServiceClient { + return &utilServiceClient{cc} +} + +func (c *utilServiceClient) RandomGenerate(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error) { + out := new(TransactionResponse) + err := c.cc.Invoke(ctx, "/proto.UtilService/randomGenerate", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// UtilServiceServer is the server API for UtilService service. +// All implementations must embed UnimplementedUtilServiceServer +// for forward compatibility +type UtilServiceServer interface { + //* + // Generates a pseudorandom number. + RandomGenerate(context.Context, *Transaction) (*TransactionResponse, error) + mustEmbedUnimplementedUtilServiceServer() +} + +// UnimplementedUtilServiceServer must be embedded to have forward compatible implementations. +type UnimplementedUtilServiceServer struct { +} + +func (UnimplementedUtilServiceServer) RandomGenerate(context.Context, *Transaction) (*TransactionResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method RandomGenerate not implemented") +} +func (UnimplementedUtilServiceServer) mustEmbedUnimplementedUtilServiceServer() {} + +// UnsafeUtilServiceServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to UtilServiceServer will +// result in compilation errors. +type UnsafeUtilServiceServer interface { + mustEmbedUnimplementedUtilServiceServer() +} + +func RegisterUtilServiceServer(s grpc.ServiceRegistrar, srv UtilServiceServer) { + s.RegisterService(&UtilService_ServiceDesc, srv) +} + +func _UtilService_RandomGenerate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(Transaction) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(UtilServiceServer).RandomGenerate(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/proto.UtilService/randomGenerate", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(UtilServiceServer).RandomGenerate(ctx, req.(*Transaction)) + } + return interceptor(ctx, in, info, handler) +} + +// UtilService_ServiceDesc is the grpc.ServiceDesc for UtilService service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var UtilService_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "proto.UtilService", + HandlerType: (*UtilServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "randomGenerate", + Handler: _UtilService_RandomGenerate_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "util_service.proto", +} diff --git a/streams/account_balance_file.pb.go b/streams/account_balance_file.pb.go index f1c4c15..2903dab 100644 --- a/streams/account_balance_file.pb.go +++ b/streams/account_balance_file.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 -// protoc v3.19.4 +// protoc v3.21.1 // source: account_balance_file.proto package streams