diff --git a/proto/services/account.pb.go b/proto/services/account.pb.go
new file mode 100644
index 00000000..e3c70213
--- /dev/null
+++ b/proto/services/account.pb.go
@@ -0,0 +1,877 @@
+// Code generated by protoc-gen-go. DO NOT EDIT.
+// versions:
+// protoc-gen-go v1.35.2
+// protoc v4.25.3
+// source: account.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)
+)
+
+type Account struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ // *
+ // The unique entity id of the account.
+ AccountId *AccountID `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
+ // *
+ // The alias to use for this account, if any.
+ Alias []byte `protobuf:"bytes,2,opt,name=alias,proto3" json:"alias,omitempty"`
+ // *
+ // (Optional) The key to be used to sign transactions from the account, if any.
+ // This key will not be set for hollow accounts until the account is finalized.
+ // This key should be set on all the accounts, except for immutable accounts (0.0.800 and 0.0.801).
+ Key *Key `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"`
+ // *
+ // The expiration time of the account, in seconds since the epoch.
+ ExpirationSecond int64 `protobuf:"varint,4,opt,name=expiration_second,json=expirationSecond,proto3" json:"expiration_second,omitempty"`
+ // *
+ // The balance of the account, in tiny-bars.
+ TinybarBalance int64 `protobuf:"varint,5,opt,name=tinybar_balance,json=tinybarBalance,proto3" json:"tinybar_balance,omitempty"`
+ // *
+ // An optional description of the account with UTF-8 encoding up to 100 bytes.
+ Memo string `protobuf:"bytes,6,opt,name=memo,proto3" json:"memo,omitempty"`
+ // *
+ // A boolean marking if the account has been deleted.
+ Deleted bool `protobuf:"varint,7,opt,name=deleted,proto3" json:"deleted,omitempty"`
+ // *
+ // The amount of hbars staked to the account.
+ StakedToMe int64 `protobuf:"varint,8,opt,name=staked_to_me,json=stakedToMe,proto3" json:"staked_to_me,omitempty"`
+ // *
+ // If this account stakes to another account, its value will be -1. It will
+ // be set to the time when the account starts staking to a node.
+ StakePeriodStart int64 `protobuf:"varint,9,opt,name=stake_period_start,json=stakePeriodStart,proto3" json:"stake_period_start,omitempty"`
+ // *
+ // ID of the account or node to which this account is staking.
+ //
+ // Types that are assignable to StakedId:
+ //
+ // *Account_StakedAccountId
+ // *Account_StakedNodeId
+ StakedId isAccount_StakedId `protobuf_oneof:"staked_id"`
+ // *
+ // A boolean marking if the account declines rewards.
+ DeclineReward bool `protobuf:"varint,12,opt,name=decline_reward,json=declineReward,proto3" json:"decline_reward,omitempty"`
+ // *
+ // A boolean marking if the account requires a receiver signature.
+ ReceiverSigRequired bool `protobuf:"varint,13,opt,name=receiver_sig_required,json=receiverSigRequired,proto3" json:"receiver_sig_required,omitempty"`
+ // *
+ // The token ID of the head of the linked list from token relations map for the account.
+ HeadTokenId *TokenID `protobuf:"bytes,14,opt,name=head_token_id,json=headTokenId,proto3" json:"head_token_id,omitempty"`
+ // *
+ // The NftID of the head of the linked list from unique tokens map for the account.
+ HeadNftId *NftID `protobuf:"bytes,15,opt,name=head_nft_id,json=headNftId,proto3" json:"head_nft_id,omitempty"`
+ // *
+ // The serial number of the head NftID of the linked list from unique tokens map for the account.
+ HeadNftSerialNumber int64 `protobuf:"varint,16,opt,name=head_nft_serial_number,json=headNftSerialNumber,proto3" json:"head_nft_serial_number,omitempty"`
+ // *
+ // The number of NFTs owned by the account.
+ NumberOwnedNfts int64 `protobuf:"varint,17,opt,name=number_owned_nfts,json=numberOwnedNfts,proto3" json:"number_owned_nfts,omitempty"`
+ // *
+ // The maximum number of tokens that can be auto-associated with the account.
+ MaxAutoAssociations int32 `protobuf:"varint,18,opt,name=max_auto_associations,json=maxAutoAssociations,proto3" json:"max_auto_associations,omitempty"`
+ // *
+ // The number of used auto-association slots.
+ UsedAutoAssociations int32 `protobuf:"varint,19,opt,name=used_auto_associations,json=usedAutoAssociations,proto3" json:"used_auto_associations,omitempty"`
+ // *
+ // The number of tokens associated with the account. This number is used for
+ // fee calculation during renewal of the account.
+ NumberAssociations int32 `protobuf:"varint,20,opt,name=number_associations,json=numberAssociations,proto3" json:"number_associations,omitempty"`
+ // *
+ // A boolean marking if the account is a smart contract.
+ SmartContract bool `protobuf:"varint,21,opt,name=smart_contract,json=smartContract,proto3" json:"smart_contract,omitempty"`
+ // *
+ // The number of tokens with a positive balance associated with the account.
+ // If the account has positive balance in a token, it can not be deleted.
+ NumberPositiveBalances int32 `protobuf:"varint,22,opt,name=number_positive_balances,json=numberPositiveBalances,proto3" json:"number_positive_balances,omitempty"`
+ // *
+ // The nonce of the account, used for Ethereum interoperability.
+ EthereumNonce int64 `protobuf:"varint,23,opt,name=ethereum_nonce,json=ethereumNonce,proto3" json:"ethereum_nonce,omitempty"`
+ // *
+ // The amount of hbars staked to the account at the start of the last rewarded period.
+ StakeAtStartOfLastRewardedPeriod int64 `protobuf:"varint,24,opt,name=stake_at_start_of_last_rewarded_period,json=stakeAtStartOfLastRewardedPeriod,proto3" json:"stake_at_start_of_last_rewarded_period,omitempty"`
+ // *
+ // (Optional) The id of an auto-renew account, in the same shard and realm as the account, that
+ // has signed a transaction allowing the network to use its balance to automatically extend the account's
+ // expiration time when it passes.
+ AutoRenewAccountId *AccountID `protobuf:"bytes,25,opt,name=auto_renew_account_id,json=autoRenewAccountId,proto3" json:"auto_renew_account_id,omitempty"`
+ // *
+ // The number of seconds the network should automatically extend the account's expiration by, if the
+ // account has a valid auto-renew account, and is not deleted upon expiration.
+ // If this is not provided in an allowed range on account creation, the transaction will fail with INVALID_AUTO_RENEWAL_PERIOD.
+ // The default values for the minimum period and maximum period are 30 days and 90 days, respectively.
+ AutoRenewSeconds int64 `protobuf:"varint,26,opt,name=auto_renew_seconds,json=autoRenewSeconds,proto3" json:"auto_renew_seconds,omitempty"`
+ // *
+ // If this account is a smart-contract, number of key-value pairs stored on the contract.
+ // This is used to determine the storage rent for the contract.
+ ContractKvPairsNumber int32 `protobuf:"varint,27,opt,name=contract_kv_pairs_number,json=contractKvPairsNumber,proto3" json:"contract_kv_pairs_number,omitempty"`
+ // *
+ // (Optional) List of crypto allowances approved by the account.
+ // It contains account number for which the allowance is approved to and
+ // the amount approved for that account.
+ CryptoAllowances []*AccountCryptoAllowance `protobuf:"bytes,28,rep,name=crypto_allowances,json=cryptoAllowances,proto3" json:"crypto_allowances,omitempty"`
+ // *
+ // (Optional) List of non-fungible token allowances approved for all by the account.
+ // It contains account number approved for spending all serial numbers for the given
+ // NFT token number using approved_for_all flag.
+ // Allowances for a specific serial number is stored in the NFT itself in state.
+ ApproveForAllNftAllowances []*AccountApprovalForAllAllowance `protobuf:"bytes,29,rep,name=approve_for_all_nft_allowances,json=approveForAllNftAllowances,proto3" json:"approve_for_all_nft_allowances,omitempty"`
+ // *
+ // (Optional) List of fungible token allowances approved by the account.
+ // It contains account number for which the allowance is approved to and the token number.
+ // It also contains and the amount approved for that account.
+ TokenAllowances []*AccountFungibleTokenAllowance `protobuf:"bytes,30,rep,name=token_allowances,json=tokenAllowances,proto3" json:"token_allowances,omitempty"`
+ // *
+ // The number of tokens for which this account is treasury
+ NumberTreasuryTitles uint32 `protobuf:"varint,31,opt,name=number_treasury_titles,json=numberTreasuryTitles,proto3" json:"number_treasury_titles,omitempty"`
+ // *
+ // A flag indicating if the account is expired and pending removal.
+ // Only the entity expiration system task toggles this flag when it reaches this account
+ // and finds it expired. Before setting the flag the system task checks if the account has
+ // an auto-renew account with balance. This is done to prevent a zero-balance account with a funded
+ // auto-renew account from being treated as expired in the interval between its expiration
+ // and the time the system task actually auto-renews it.
+ ExpiredAndPendingRemoval bool `protobuf:"varint,32,opt,name=expired_and_pending_removal,json=expiredAndPendingRemoval,proto3" json:"expired_and_pending_removal,omitempty"`
+ // *
+ // The first key in the doubly-linked list of this contract's storage mappings;
+ // It will be null if if the account is not a contract or the contract has no storage mappings.
+ FirstContractStorageKey []byte `protobuf:"bytes,33,opt,name=first_contract_storage_key,json=firstContractStorageKey,proto3" json:"first_contract_storage_key,omitempty"`
+ // *
+ // A pending airdrop ID at the head of the linked list for this account
+ // from the account airdrops map.
+ // The account airdrops are connected by including the "next" and "previous"
+ // `PendingAirdropID` in each `AccountAirdrop` message.
+ //
+ // This value SHALL NOT be empty if this account is "sender" for any
+ // pending airdrop, and SHALL be empty otherwise.
+ HeadPendingAirdropId *PendingAirdropId `protobuf:"bytes,34,opt,name=head_pending_airdrop_id,json=headPendingAirdropId,proto3" json:"head_pending_airdrop_id,omitempty"`
+ // *
+ // The number of pending airdrops owned by the account. This number is used to collect rent
+ // for the account.
+ NumberPendingAirdrops uint64 `protobuf:"varint,35,opt,name=number_pending_airdrops,json=numberPendingAirdrops,proto3" json:"number_pending_airdrops,omitempty"`
+}
+
+func (x *Account) Reset() {
+ *x = Account{}
+ mi := &file_account_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+}
+
+func (x *Account) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*Account) ProtoMessage() {}
+
+func (x *Account) ProtoReflect() protoreflect.Message {
+ mi := &file_account_proto_msgTypes[0]
+ if x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use Account.ProtoReflect.Descriptor instead.
+func (*Account) Descriptor() ([]byte, []int) {
+ return file_account_proto_rawDescGZIP(), []int{0}
+}
+
+func (x *Account) GetAccountId() *AccountID {
+ if x != nil {
+ return x.AccountId
+ }
+ return nil
+}
+
+func (x *Account) GetAlias() []byte {
+ if x != nil {
+ return x.Alias
+ }
+ return nil
+}
+
+func (x *Account) GetKey() *Key {
+ if x != nil {
+ return x.Key
+ }
+ return nil
+}
+
+func (x *Account) GetExpirationSecond() int64 {
+ if x != nil {
+ return x.ExpirationSecond
+ }
+ return 0
+}
+
+func (x *Account) GetTinybarBalance() int64 {
+ if x != nil {
+ return x.TinybarBalance
+ }
+ return 0
+}
+
+func (x *Account) GetMemo() string {
+ if x != nil {
+ return x.Memo
+ }
+ return ""
+}
+
+func (x *Account) GetDeleted() bool {
+ if x != nil {
+ return x.Deleted
+ }
+ return false
+}
+
+func (x *Account) GetStakedToMe() int64 {
+ if x != nil {
+ return x.StakedToMe
+ }
+ return 0
+}
+
+func (x *Account) GetStakePeriodStart() int64 {
+ if x != nil {
+ return x.StakePeriodStart
+ }
+ return 0
+}
+
+func (m *Account) GetStakedId() isAccount_StakedId {
+ if m != nil {
+ return m.StakedId
+ }
+ return nil
+}
+
+func (x *Account) GetStakedAccountId() *AccountID {
+ if x, ok := x.GetStakedId().(*Account_StakedAccountId); ok {
+ return x.StakedAccountId
+ }
+ return nil
+}
+
+func (x *Account) GetStakedNodeId() int64 {
+ if x, ok := x.GetStakedId().(*Account_StakedNodeId); ok {
+ return x.StakedNodeId
+ }
+ return 0
+}
+
+func (x *Account) GetDeclineReward() bool {
+ if x != nil {
+ return x.DeclineReward
+ }
+ return false
+}
+
+func (x *Account) GetReceiverSigRequired() bool {
+ if x != nil {
+ return x.ReceiverSigRequired
+ }
+ return false
+}
+
+func (x *Account) GetHeadTokenId() *TokenID {
+ if x != nil {
+ return x.HeadTokenId
+ }
+ return nil
+}
+
+func (x *Account) GetHeadNftId() *NftID {
+ if x != nil {
+ return x.HeadNftId
+ }
+ return nil
+}
+
+func (x *Account) GetHeadNftSerialNumber() int64 {
+ if x != nil {
+ return x.HeadNftSerialNumber
+ }
+ return 0
+}
+
+func (x *Account) GetNumberOwnedNfts() int64 {
+ if x != nil {
+ return x.NumberOwnedNfts
+ }
+ return 0
+}
+
+func (x *Account) GetMaxAutoAssociations() int32 {
+ if x != nil {
+ return x.MaxAutoAssociations
+ }
+ return 0
+}
+
+func (x *Account) GetUsedAutoAssociations() int32 {
+ if x != nil {
+ return x.UsedAutoAssociations
+ }
+ return 0
+}
+
+func (x *Account) GetNumberAssociations() int32 {
+ if x != nil {
+ return x.NumberAssociations
+ }
+ return 0
+}
+
+func (x *Account) GetSmartContract() bool {
+ if x != nil {
+ return x.SmartContract
+ }
+ return false
+}
+
+func (x *Account) GetNumberPositiveBalances() int32 {
+ if x != nil {
+ return x.NumberPositiveBalances
+ }
+ return 0
+}
+
+func (x *Account) GetEthereumNonce() int64 {
+ if x != nil {
+ return x.EthereumNonce
+ }
+ return 0
+}
+
+func (x *Account) GetStakeAtStartOfLastRewardedPeriod() int64 {
+ if x != nil {
+ return x.StakeAtStartOfLastRewardedPeriod
+ }
+ return 0
+}
+
+func (x *Account) GetAutoRenewAccountId() *AccountID {
+ if x != nil {
+ return x.AutoRenewAccountId
+ }
+ return nil
+}
+
+func (x *Account) GetAutoRenewSeconds() int64 {
+ if x != nil {
+ return x.AutoRenewSeconds
+ }
+ return 0
+}
+
+func (x *Account) GetContractKvPairsNumber() int32 {
+ if x != nil {
+ return x.ContractKvPairsNumber
+ }
+ return 0
+}
+
+func (x *Account) GetCryptoAllowances() []*AccountCryptoAllowance {
+ if x != nil {
+ return x.CryptoAllowances
+ }
+ return nil
+}
+
+func (x *Account) GetApproveForAllNftAllowances() []*AccountApprovalForAllAllowance {
+ if x != nil {
+ return x.ApproveForAllNftAllowances
+ }
+ return nil
+}
+
+func (x *Account) GetTokenAllowances() []*AccountFungibleTokenAllowance {
+ if x != nil {
+ return x.TokenAllowances
+ }
+ return nil
+}
+
+func (x *Account) GetNumberTreasuryTitles() uint32 {
+ if x != nil {
+ return x.NumberTreasuryTitles
+ }
+ return 0
+}
+
+func (x *Account) GetExpiredAndPendingRemoval() bool {
+ if x != nil {
+ return x.ExpiredAndPendingRemoval
+ }
+ return false
+}
+
+func (x *Account) GetFirstContractStorageKey() []byte {
+ if x != nil {
+ return x.FirstContractStorageKey
+ }
+ return nil
+}
+
+func (x *Account) GetHeadPendingAirdropId() *PendingAirdropId {
+ if x != nil {
+ return x.HeadPendingAirdropId
+ }
+ return nil
+}
+
+func (x *Account) GetNumberPendingAirdrops() uint64 {
+ if x != nil {
+ return x.NumberPendingAirdrops
+ }
+ return 0
+}
+
+type isAccount_StakedId interface {
+ isAccount_StakedId()
+}
+
+type Account_StakedAccountId struct {
+ // *
+ // ID of the new account to which this account is staking. If set to the sentinel 0.0.0 AccountID,
+ // this field removes this account's staked account ID.
+ StakedAccountId *AccountID `protobuf:"bytes,10,opt,name=staked_account_id,json=stakedAccountId,proto3,oneof"`
+}
+
+type Account_StakedNodeId struct {
+ // *
+ // ID of the new node this account is staked to. If set to the sentinel -1, this field
+ // removes this account's staked node ID.
+ StakedNodeId int64 `protobuf:"varint,11,opt,name=staked_node_id,json=stakedNodeId,proto3,oneof"`
+}
+
+func (*Account_StakedAccountId) isAccount_StakedId() {}
+
+func (*Account_StakedNodeId) isAccount_StakedId() {}
+
+// *
+// Allowance granted by this account to a spender for a specific non-fungible token
+// using ApproveForAll. This allows spender to spend all serial numbers for the given
+// non-fungible token id.
+type AccountApprovalForAllAllowance struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ TokenId *TokenID `protobuf:"bytes,1,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"`
+ SpenderId *AccountID `protobuf:"bytes,2,opt,name=spender_id,json=spenderId,proto3" json:"spender_id,omitempty"`
+}
+
+func (x *AccountApprovalForAllAllowance) Reset() {
+ *x = AccountApprovalForAllAllowance{}
+ mi := &file_account_proto_msgTypes[1]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+}
+
+func (x *AccountApprovalForAllAllowance) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*AccountApprovalForAllAllowance) ProtoMessage() {}
+
+func (x *AccountApprovalForAllAllowance) ProtoReflect() protoreflect.Message {
+ mi := &file_account_proto_msgTypes[1]
+ if x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use AccountApprovalForAllAllowance.ProtoReflect.Descriptor instead.
+func (*AccountApprovalForAllAllowance) Descriptor() ([]byte, []int) {
+ return file_account_proto_rawDescGZIP(), []int{1}
+}
+
+func (x *AccountApprovalForAllAllowance) GetTokenId() *TokenID {
+ if x != nil {
+ return x.TokenId
+ }
+ return nil
+}
+
+func (x *AccountApprovalForAllAllowance) GetSpenderId() *AccountID {
+ if x != nil {
+ return x.SpenderId
+ }
+ return nil
+}
+
+// *
+// Allowance granted by this account to another account for a specific fungible token.
+// This also contains the amount of the token that is approved for the account.
+// This allows spender to spend the amount of tokens approved for the account.
+type AccountFungibleTokenAllowance struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ TokenId *TokenID `protobuf:"bytes,1,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"`
+ SpenderId *AccountID `protobuf:"bytes,2,opt,name=spender_id,json=spenderId,proto3" json:"spender_id,omitempty"`
+ Amount int64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"`
+}
+
+func (x *AccountFungibleTokenAllowance) Reset() {
+ *x = AccountFungibleTokenAllowance{}
+ mi := &file_account_proto_msgTypes[2]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+}
+
+func (x *AccountFungibleTokenAllowance) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*AccountFungibleTokenAllowance) ProtoMessage() {}
+
+func (x *AccountFungibleTokenAllowance) ProtoReflect() protoreflect.Message {
+ mi := &file_account_proto_msgTypes[2]
+ if x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use AccountFungibleTokenAllowance.ProtoReflect.Descriptor instead.
+func (*AccountFungibleTokenAllowance) Descriptor() ([]byte, []int) {
+ return file_account_proto_rawDescGZIP(), []int{2}
+}
+
+func (x *AccountFungibleTokenAllowance) GetTokenId() *TokenID {
+ if x != nil {
+ return x.TokenId
+ }
+ return nil
+}
+
+func (x *AccountFungibleTokenAllowance) GetSpenderId() *AccountID {
+ if x != nil {
+ return x.SpenderId
+ }
+ return nil
+}
+
+func (x *AccountFungibleTokenAllowance) GetAmount() int64 {
+ if x != nil {
+ return x.Amount
+ }
+ return 0
+}
+
+// *
+// Allowance granted by this account to another account for an amount of hbars.
+// This allows spender to spend the amount of hbars approved for the account.
+type AccountCryptoAllowance struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ SpenderId *AccountID `protobuf:"bytes,1,opt,name=spender_id,json=spenderId,proto3" json:"spender_id,omitempty"`
+ Amount int64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"`
+}
+
+func (x *AccountCryptoAllowance) Reset() {
+ *x = AccountCryptoAllowance{}
+ mi := &file_account_proto_msgTypes[3]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+}
+
+func (x *AccountCryptoAllowance) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*AccountCryptoAllowance) ProtoMessage() {}
+
+func (x *AccountCryptoAllowance) ProtoReflect() protoreflect.Message {
+ mi := &file_account_proto_msgTypes[3]
+ if x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use AccountCryptoAllowance.ProtoReflect.Descriptor instead.
+func (*AccountCryptoAllowance) Descriptor() ([]byte, []int) {
+ return file_account_proto_rawDescGZIP(), []int{3}
+}
+
+func (x *AccountCryptoAllowance) GetSpenderId() *AccountID {
+ if x != nil {
+ return x.SpenderId
+ }
+ return nil
+}
+
+func (x *AccountCryptoAllowance) GetAmount() int64 {
+ if x != nil {
+ return x.Amount
+ }
+ return 0
+}
+
+var File_account_proto protoreflect.FileDescriptor
+
+var file_account_proto_rawDesc = []byte{
+ 0x0a, 0x0d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
+ 0x05, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70,
+ 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, 0x62, 0x61, 0x73, 0x69, 0x63, 0x5f, 0x74, 0x79, 0x70, 0x65,
+ 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb8, 0x0e, 0x0a, 0x07, 0x41, 0x63, 0x63, 0x6f,
+ 0x75, 0x6e, 0x74, 0x12, 0x2f, 0x0a, 0x0a, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69,
+ 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
+ 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x44, 0x52, 0x09, 0x61, 0x63, 0x63, 0x6f, 0x75,
+ 0x6e, 0x74, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x02, 0x20,
+ 0x01, 0x28, 0x0c, 0x52, 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x1c, 0x0a, 0x03, 0x6b, 0x65,
+ 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
+ 0x4b, 0x65, 0x79, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2b, 0x0a, 0x11, 0x65, 0x78, 0x70, 0x69,
+ 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x18, 0x04, 0x20,
+ 0x01, 0x28, 0x03, 0x52, 0x10, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53,
+ 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x74, 0x69, 0x6e, 0x79, 0x62, 0x61, 0x72,
+ 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e,
+ 0x74, 0x69, 0x6e, 0x79, 0x62, 0x61, 0x72, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x12,
+ 0x0a, 0x04, 0x6d, 0x65, 0x6d, 0x6f, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6d, 0x65,
+ 0x6d, 0x6f, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x18, 0x07, 0x20,
+ 0x01, 0x28, 0x08, 0x52, 0x07, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x12, 0x20, 0x0a, 0x0c,
+ 0x73, 0x74, 0x61, 0x6b, 0x65, 0x64, 0x5f, 0x74, 0x6f, 0x5f, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01,
+ 0x28, 0x03, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x64, 0x54, 0x6f, 0x4d, 0x65, 0x12, 0x2c,
+ 0x0a, 0x12, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x5f, 0x70, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x5f, 0x73,
+ 0x74, 0x61, 0x72, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x73, 0x74, 0x61, 0x6b,
+ 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x53, 0x74, 0x61, 0x72, 0x74, 0x12, 0x3e, 0x0a, 0x11,
+ 0x73, 0x74, 0x61, 0x6b, 0x65, 0x64, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69,
+ 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
+ 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x44, 0x48, 0x00, 0x52, 0x0f, 0x73, 0x74, 0x61,
+ 0x6b, 0x65, 0x64, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0e,
+ 0x73, 0x74, 0x61, 0x6b, 0x65, 0x64, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0b,
+ 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x0c, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x64, 0x4e, 0x6f,
+ 0x64, 0x65, 0x49, 0x64, 0x12, 0x25, 0x0a, 0x0e, 0x64, 0x65, 0x63, 0x6c, 0x69, 0x6e, 0x65, 0x5f,
+ 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x64, 0x65,
+ 0x63, 0x6c, 0x69, 0x6e, 0x65, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x12, 0x32, 0x0a, 0x15, 0x72,
+ 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x5f, 0x73, 0x69, 0x67, 0x5f, 0x72, 0x65, 0x71, 0x75,
+ 0x69, 0x72, 0x65, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, 0x52, 0x13, 0x72, 0x65, 0x63, 0x65,
+ 0x69, 0x76, 0x65, 0x72, 0x53, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x12,
+ 0x32, 0x0a, 0x0d, 0x68, 0x65, 0x61, 0x64, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x69, 0x64,
+ 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x54,
+ 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x44, 0x52, 0x0b, 0x68, 0x65, 0x61, 0x64, 0x54, 0x6f, 0x6b, 0x65,
+ 0x6e, 0x49, 0x64, 0x12, 0x2c, 0x0a, 0x0b, 0x68, 0x65, 0x61, 0x64, 0x5f, 0x6e, 0x66, 0x74, 0x5f,
+ 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
+ 0x2e, 0x4e, 0x66, 0x74, 0x49, 0x44, 0x52, 0x09, 0x68, 0x65, 0x61, 0x64, 0x4e, 0x66, 0x74, 0x49,
+ 0x64, 0x12, 0x33, 0x0a, 0x16, 0x68, 0x65, 0x61, 0x64, 0x5f, 0x6e, 0x66, 0x74, 0x5f, 0x73, 0x65,
+ 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x10, 0x20, 0x01, 0x28,
+ 0x03, 0x52, 0x13, 0x68, 0x65, 0x61, 0x64, 0x4e, 0x66, 0x74, 0x53, 0x65, 0x72, 0x69, 0x61, 0x6c,
+ 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x2a, 0x0a, 0x11, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72,
+ 0x5f, 0x6f, 0x77, 0x6e, 0x65, 0x64, 0x5f, 0x6e, 0x66, 0x74, 0x73, 0x18, 0x11, 0x20, 0x01, 0x28,
+ 0x03, 0x52, 0x0f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4f, 0x77, 0x6e, 0x65, 0x64, 0x4e, 0x66,
+ 0x74, 0x73, 0x12, 0x32, 0x0a, 0x15, 0x6d, 0x61, 0x78, 0x5f, 0x61, 0x75, 0x74, 0x6f, 0x5f, 0x61,
+ 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x12, 0x20, 0x01, 0x28,
+ 0x05, 0x52, 0x13, 0x6d, 0x61, 0x78, 0x41, 0x75, 0x74, 0x6f, 0x41, 0x73, 0x73, 0x6f, 0x63, 0x69,
+ 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x34, 0x0a, 0x16, 0x75, 0x73, 0x65, 0x64, 0x5f, 0x61,
+ 0x75, 0x74, 0x6f, 0x5f, 0x61, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
+ 0x18, 0x13, 0x20, 0x01, 0x28, 0x05, 0x52, 0x14, 0x75, 0x73, 0x65, 0x64, 0x41, 0x75, 0x74, 0x6f,
+ 0x41, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2f, 0x0a, 0x13,
+ 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x61, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x69,
+ 0x6f, 0x6e, 0x73, 0x18, 0x14, 0x20, 0x01, 0x28, 0x05, 0x52, 0x12, 0x6e, 0x75, 0x6d, 0x62, 0x65,
+ 0x72, 0x41, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x25, 0x0a,
+ 0x0e, 0x73, 0x6d, 0x61, 0x72, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x18,
+ 0x15, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x73, 0x6d, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74,
+ 0x72, 0x61, 0x63, 0x74, 0x12, 0x38, 0x0a, 0x18, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x70,
+ 0x6f, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73,
+ 0x18, 0x16, 0x20, 0x01, 0x28, 0x05, 0x52, 0x16, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x50, 0x6f,
+ 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x25,
+ 0x0a, 0x0e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x5f, 0x6e, 0x6f, 0x6e, 0x63, 0x65,
+ 0x18, 0x17, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d,
+ 0x4e, 0x6f, 0x6e, 0x63, 0x65, 0x12, 0x50, 0x0a, 0x26, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x5f, 0x61,
+ 0x74, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x6f, 0x66, 0x5f, 0x6c, 0x61, 0x73, 0x74, 0x5f,
+ 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x65, 0x64, 0x5f, 0x70, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x18,
+ 0x18, 0x20, 0x01, 0x28, 0x03, 0x52, 0x20, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x41, 0x74, 0x53, 0x74,
+ 0x61, 0x72, 0x74, 0x4f, 0x66, 0x4c, 0x61, 0x73, 0x74, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x65,
+ 0x64, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x12, 0x43, 0x0a, 0x15, 0x61, 0x75, 0x74, 0x6f, 0x5f,
+ 0x72, 0x65, 0x6e, 0x65, 0x77, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64,
+ 0x18, 0x19, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x41,
+ 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x44, 0x52, 0x12, 0x61, 0x75, 0x74, 0x6f, 0x52, 0x65,
+ 0x6e, 0x65, 0x77, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x2c, 0x0a, 0x12,
+ 0x61, 0x75, 0x74, 0x6f, 0x5f, 0x72, 0x65, 0x6e, 0x65, 0x77, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e,
+ 0x64, 0x73, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x61, 0x75, 0x74, 0x6f, 0x52, 0x65,
+ 0x6e, 0x65, 0x77, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x12, 0x37, 0x0a, 0x18, 0x63, 0x6f,
+ 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x6b, 0x76, 0x5f, 0x70, 0x61, 0x69, 0x72, 0x73, 0x5f,
+ 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x05, 0x52, 0x15, 0x63, 0x6f,
+ 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x4b, 0x76, 0x50, 0x61, 0x69, 0x72, 0x73, 0x4e, 0x75, 0x6d,
+ 0x62, 0x65, 0x72, 0x12, 0x4a, 0x0a, 0x11, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x5f, 0x61, 0x6c,
+ 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x18, 0x1c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d,
+ 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x43, 0x72,
+ 0x79, 0x70, 0x74, 0x6f, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x10, 0x63,
+ 0x72, 0x79, 0x70, 0x74, 0x6f, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x12,
+ 0x69, 0x0a, 0x1e, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x61,
+ 0x6c, 0x6c, 0x5f, 0x6e, 0x66, 0x74, 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65,
+ 0x73, 0x18, 0x1d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
+ 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x46,
+ 0x6f, 0x72, 0x41, 0x6c, 0x6c, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x1a,
+ 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x46, 0x6f, 0x72, 0x41, 0x6c, 0x6c, 0x4e, 0x66, 0x74,
+ 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x4f, 0x0a, 0x10, 0x74, 0x6f,
+ 0x6b, 0x65, 0x6e, 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x18, 0x1e,
+ 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x41, 0x63, 0x63,
+ 0x6f, 0x75, 0x6e, 0x74, 0x46, 0x75, 0x6e, 0x67, 0x69, 0x62, 0x6c, 0x65, 0x54, 0x6f, 0x6b, 0x65,
+ 0x6e, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x0f, 0x74, 0x6f, 0x6b, 0x65,
+ 0x6e, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x34, 0x0a, 0x16, 0x6e,
+ 0x75, 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x74, 0x72, 0x65, 0x61, 0x73, 0x75, 0x72, 0x79, 0x5f, 0x74,
+ 0x69, 0x74, 0x6c, 0x65, 0x73, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x14, 0x6e, 0x75, 0x6d,
+ 0x62, 0x65, 0x72, 0x54, 0x72, 0x65, 0x61, 0x73, 0x75, 0x72, 0x79, 0x54, 0x69, 0x74, 0x6c, 0x65,
+ 0x73, 0x12, 0x3d, 0x0a, 0x1b, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x64, 0x5f, 0x61, 0x6e, 0x64,
+ 0x5f, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x61, 0x6c,
+ 0x18, 0x20, 0x20, 0x01, 0x28, 0x08, 0x52, 0x18, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x64, 0x41,
+ 0x6e, 0x64, 0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x61, 0x6c,
+ 0x12, 0x3b, 0x0a, 0x1a, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61,
+ 0x63, 0x74, 0x5f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x21,
+ 0x20, 0x01, 0x28, 0x0c, 0x52, 0x17, 0x66, 0x69, 0x72, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72,
+ 0x61, 0x63, 0x74, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x4e, 0x0a,
+ 0x17, 0x68, 0x65, 0x61, 0x64, 0x5f, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x61, 0x69,
+ 0x72, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x22, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17,
+ 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x41, 0x69,
+ 0x72, 0x64, 0x72, 0x6f, 0x70, 0x49, 0x64, 0x52, 0x14, 0x68, 0x65, 0x61, 0x64, 0x50, 0x65, 0x6e,
+ 0x64, 0x69, 0x6e, 0x67, 0x41, 0x69, 0x72, 0x64, 0x72, 0x6f, 0x70, 0x49, 0x64, 0x12, 0x36, 0x0a,
+ 0x17, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f,
+ 0x61, 0x69, 0x72, 0x64, 0x72, 0x6f, 0x70, 0x73, 0x18, 0x23, 0x20, 0x01, 0x28, 0x04, 0x52, 0x15,
+ 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x41, 0x69, 0x72,
+ 0x64, 0x72, 0x6f, 0x70, 0x73, 0x42, 0x0b, 0x0a, 0x09, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x64, 0x5f,
+ 0x69, 0x64, 0x22, 0x7c, 0x0a, 0x1e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x70, 0x70,
+ 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x46, 0x6f, 0x72, 0x41, 0x6c, 0x6c, 0x41, 0x6c, 0x6c, 0x6f, 0x77,
+ 0x61, 0x6e, 0x63, 0x65, 0x12, 0x29, 0x0a, 0x08, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x69, 0x64,
+ 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x54,
+ 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x44, 0x52, 0x07, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, 0x12,
+ 0x2f, 0x0a, 0x0a, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20,
+ 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x41, 0x63, 0x63, 0x6f,
+ 0x75, 0x6e, 0x74, 0x49, 0x44, 0x52, 0x09, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x49, 0x64,
+ 0x22, 0x93, 0x01, 0x0a, 0x1d, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x46, 0x75, 0x6e, 0x67,
+ 0x69, 0x62, 0x6c, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e,
+ 0x63, 0x65, 0x12, 0x29, 0x0a, 0x08, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01,
+ 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x54, 0x6f, 0x6b,
+ 0x65, 0x6e, 0x49, 0x44, 0x52, 0x07, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, 0x12, 0x2f, 0x0a,
+ 0x0a, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
+ 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e,
+ 0x74, 0x49, 0x44, 0x52, 0x09, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x49, 0x64, 0x12, 0x16,
+ 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06,
+ 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x61, 0x0a, 0x16, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e,
+ 0x74, 0x43, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65,
+ 0x12, 0x2f, 0x0a, 0x0a, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01,
+ 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x41, 0x63, 0x63,
+ 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x44, 0x52, 0x09, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x49,
+ 0x64, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28,
+ 0x03, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 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_account_proto_rawDescOnce sync.Once
+ file_account_proto_rawDescData = file_account_proto_rawDesc
+)
+
+func file_account_proto_rawDescGZIP() []byte {
+ file_account_proto_rawDescOnce.Do(func() {
+ file_account_proto_rawDescData = protoimpl.X.CompressGZIP(file_account_proto_rawDescData)
+ })
+ return file_account_proto_rawDescData
+}
+
+var file_account_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
+var file_account_proto_goTypes = []any{
+ (*Account)(nil), // 0: proto.Account
+ (*AccountApprovalForAllAllowance)(nil), // 1: proto.AccountApprovalForAllAllowance
+ (*AccountFungibleTokenAllowance)(nil), // 2: proto.AccountFungibleTokenAllowance
+ (*AccountCryptoAllowance)(nil), // 3: proto.AccountCryptoAllowance
+ (*AccountID)(nil), // 4: proto.AccountID
+ (*Key)(nil), // 5: proto.Key
+ (*TokenID)(nil), // 6: proto.TokenID
+ (*NftID)(nil), // 7: proto.NftID
+ (*PendingAirdropId)(nil), // 8: proto.PendingAirdropId
+}
+var file_account_proto_depIdxs = []int32{
+ 4, // 0: proto.Account.account_id:type_name -> proto.AccountID
+ 5, // 1: proto.Account.key:type_name -> proto.Key
+ 4, // 2: proto.Account.staked_account_id:type_name -> proto.AccountID
+ 6, // 3: proto.Account.head_token_id:type_name -> proto.TokenID
+ 7, // 4: proto.Account.head_nft_id:type_name -> proto.NftID
+ 4, // 5: proto.Account.auto_renew_account_id:type_name -> proto.AccountID
+ 3, // 6: proto.Account.crypto_allowances:type_name -> proto.AccountCryptoAllowance
+ 1, // 7: proto.Account.approve_for_all_nft_allowances:type_name -> proto.AccountApprovalForAllAllowance
+ 2, // 8: proto.Account.token_allowances:type_name -> proto.AccountFungibleTokenAllowance
+ 8, // 9: proto.Account.head_pending_airdrop_id:type_name -> proto.PendingAirdropId
+ 6, // 10: proto.AccountApprovalForAllAllowance.token_id:type_name -> proto.TokenID
+ 4, // 11: proto.AccountApprovalForAllAllowance.spender_id:type_name -> proto.AccountID
+ 6, // 12: proto.AccountFungibleTokenAllowance.token_id:type_name -> proto.TokenID
+ 4, // 13: proto.AccountFungibleTokenAllowance.spender_id:type_name -> proto.AccountID
+ 4, // 14: proto.AccountCryptoAllowance.spender_id:type_name -> proto.AccountID
+ 15, // [15:15] is the sub-list for method output_type
+ 15, // [15:15] is the sub-list for method input_type
+ 15, // [15:15] is the sub-list for extension type_name
+ 15, // [15:15] is the sub-list for extension extendee
+ 0, // [0:15] is the sub-list for field type_name
+}
+
+func init() { file_account_proto_init() }
+func file_account_proto_init() {
+ if File_account_proto != nil {
+ return
+ }
+ file_common_proto_init()
+ file_basic_types_proto_init()
+ file_account_proto_msgTypes[0].OneofWrappers = []any{
+ (*Account_StakedAccountId)(nil),
+ (*Account_StakedNodeId)(nil),
+ }
+ type x struct{}
+ out := protoimpl.TypeBuilder{
+ File: protoimpl.DescBuilder{
+ GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
+ RawDescriptor: file_account_proto_rawDesc,
+ NumEnums: 0,
+ NumMessages: 4,
+ NumExtensions: 0,
+ NumServices: 0,
+ },
+ GoTypes: file_account_proto_goTypes,
+ DependencyIndexes: file_account_proto_depIdxs,
+ MessageInfos: file_account_proto_msgTypes,
+ }.Build()
+ File_account_proto = out.File
+ file_account_proto_rawDesc = nil
+ file_account_proto_goTypes = nil
+ file_account_proto_depIdxs = nil
+}
diff --git a/proto/services/account_pending_airdrop.pb.go b/proto/services/account_pending_airdrop.pb.go
new file mode 100644
index 00000000..27ce5c2a
--- /dev/null
+++ b/proto/services/account_pending_airdrop.pb.go
@@ -0,0 +1,196 @@
+// Code generated by protoc-gen-go. DO NOT EDIT.
+// versions:
+// protoc-gen-go v1.35.2
+// protoc v4.25.3
+// source: account_pending_airdrop.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)
+)
+
+// *
+// A node within a doubly linked list of pending airdrop references.
+// This internal state message forms the entries in a doubly-linked list
+// of references to pending airdrop entries that are "owed" by a particular
+// account as "sender".
+//
+// Each entry in this list MUST refer to an existing pending airdrop.
+// The pending airdrop MUST NOT be claimed.
+// The pending airdrop MUST NOT be canceled.
+// The pending airdrop `sender` account's `head_pending_airdrop_id` field
+// MUST match the `pending_airdrop_id` field in this message.
+//
+// ### Record Stream Effects
+// This value is not currently published in the record stream.
+type AccountPendingAirdrop struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ // *
+ // The value of the current airdrop id. SHALL NOT be set for non fungible tokens
+ PendingAirdropValue *PendingAirdropValue `protobuf:"bytes,1,opt,name=pending_airdrop_value,json=pendingAirdropValue,proto3" json:"pending_airdrop_value,omitempty"`
+ // *
+ // A pending airdrop identifier.
+ // This identifies the specific pending airdrop that precedes this position
+ // within the doubly linked list of pending airdrops "owed" by the sending
+ // account associated with this account airdrop "list".
+ //
+ // This SHALL match `pending_airdrop_id` if this is the only entry
+ // in the "list".
+ PreviousAirdrop *PendingAirdropId `protobuf:"bytes,2,opt,name=previous_airdrop,json=previousAirdrop,proto3" json:"previous_airdrop,omitempty"`
+ // *
+ // A pending airdrop identifier.
+ // This identifies the specific pending airdrop that follows this position
+ // within the doubly linked list of pending airdrops "owed" by the sending
+ // account associated with this account airdrop "list".
+ //
+ // This SHALL match `pending_airdrop_id` if this is the only entry + // in the "list". + NextAirdrop *PendingAirdropId `protobuf:"bytes,3,opt,name=next_airdrop,json=nextAirdrop,proto3" json:"next_airdrop,omitempty"` +} + +func (x *AccountPendingAirdrop) Reset() { + *x = AccountPendingAirdrop{} + mi := &file_account_pending_airdrop_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *AccountPendingAirdrop) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AccountPendingAirdrop) ProtoMessage() {} + +func (x *AccountPendingAirdrop) ProtoReflect() protoreflect.Message { + mi := &file_account_pending_airdrop_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AccountPendingAirdrop.ProtoReflect.Descriptor instead. +func (*AccountPendingAirdrop) Descriptor() ([]byte, []int) { + return file_account_pending_airdrop_proto_rawDescGZIP(), []int{0} +} + +func (x *AccountPendingAirdrop) GetPendingAirdropValue() *PendingAirdropValue { + if x != nil { + return x.PendingAirdropValue + } + return nil +} + +func (x *AccountPendingAirdrop) GetPreviousAirdrop() *PendingAirdropId { + if x != nil { + return x.PreviousAirdrop + } + return nil +} + +func (x *AccountPendingAirdrop) GetNextAirdrop() *PendingAirdropId { + if x != nil { + return x.NextAirdrop + } + return nil +} + +var File_account_pending_airdrop_proto protoreflect.FileDescriptor + +var file_account_pending_airdrop_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, + 0x67, 0x5f, 0x61, 0x69, 0x72, 0x64, 0x72, 0x6f, 0x70, 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, 0x22, 0xe7, 0x01, 0x0a, 0x15, 0x41, 0x63, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x41, 0x69, 0x72, 0x64, + 0x72, 0x6f, 0x70, 0x12, 0x4e, 0x0a, 0x15, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x61, + 0x69, 0x72, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x50, 0x65, 0x6e, 0x64, 0x69, + 0x6e, 0x67, 0x41, 0x69, 0x72, 0x64, 0x72, 0x6f, 0x70, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x13, + 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x41, 0x69, 0x72, 0x64, 0x72, 0x6f, 0x70, 0x56, 0x61, + 0x6c, 0x75, 0x65, 0x12, 0x42, 0x0a, 0x10, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x5f, + 0x61, 0x69, 0x72, 0x64, 0x72, 0x6f, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x41, 0x69, 0x72, + 0x64, 0x72, 0x6f, 0x70, 0x49, 0x64, 0x52, 0x0f, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, + 0x41, 0x69, 0x72, 0x64, 0x72, 0x6f, 0x70, 0x12, 0x3a, 0x0a, 0x0c, 0x6e, 0x65, 0x78, 0x74, 0x5f, + 0x61, 0x69, 0x72, 0x64, 0x72, 0x6f, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x41, 0x69, 0x72, + 0x64, 0x72, 0x6f, 0x70, 0x49, 0x64, 0x52, 0x0b, 0x6e, 0x65, 0x78, 0x74, 0x41, 0x69, 0x72, 0x64, + 0x72, 0x6f, 0x70, 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_account_pending_airdrop_proto_rawDescOnce sync.Once + file_account_pending_airdrop_proto_rawDescData = file_account_pending_airdrop_proto_rawDesc +) + +func file_account_pending_airdrop_proto_rawDescGZIP() []byte { + file_account_pending_airdrop_proto_rawDescOnce.Do(func() { + file_account_pending_airdrop_proto_rawDescData = protoimpl.X.CompressGZIP(file_account_pending_airdrop_proto_rawDescData) + }) + return file_account_pending_airdrop_proto_rawDescData +} + +var file_account_pending_airdrop_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_account_pending_airdrop_proto_goTypes = []any{ + (*AccountPendingAirdrop)(nil), // 0: proto.AccountPendingAirdrop + (*PendingAirdropValue)(nil), // 1: proto.PendingAirdropValue + (*PendingAirdropId)(nil), // 2: proto.PendingAirdropId +} +var file_account_pending_airdrop_proto_depIdxs = []int32{ + 1, // 0: proto.AccountPendingAirdrop.pending_airdrop_value:type_name -> proto.PendingAirdropValue + 2, // 1: proto.AccountPendingAirdrop.previous_airdrop:type_name -> proto.PendingAirdropId + 2, // 2: proto.AccountPendingAirdrop.next_airdrop:type_name -> proto.PendingAirdropId + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_account_pending_airdrop_proto_init() } +func file_account_pending_airdrop_proto_init() { + if File_account_pending_airdrop_proto != nil { + return + } + file_basic_types_proto_init() + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_account_pending_airdrop_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_account_pending_airdrop_proto_goTypes, + DependencyIndexes: file_account_pending_airdrop_proto_depIdxs, + MessageInfos: file_account_pending_airdrop_proto_msgTypes, + }.Build() + File_account_pending_airdrop_proto = out.File + file_account_pending_airdrop_proto_rawDesc = nil + file_account_pending_airdrop_proto_goTypes = nil + file_account_pending_airdrop_proto_depIdxs = nil +} diff --git a/proto/services/address_book_service.pb.go b/proto/services/address_book_service.pb.go index daaf42ed..da67591b 100644 --- a/proto/services/address_book_service.pb.go +++ b/proto/services/address_book_service.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.35.2 // protoc v4.25.3 // source: address_book_service.proto @@ -48,7 +48,7 @@ var file_address_book_service_proto_rawDesc = []byte{ 0x6f, 0x33, } -var file_address_book_service_proto_goTypes = []interface{}{ +var file_address_book_service_proto_goTypes = []any{ (*Transaction)(nil), // 0: proto.Transaction (*TransactionResponse)(nil), // 1: proto.TransactionResponse } diff --git a/proto/services/address_book_service_grpc.pb.go b/proto/services/address_book_service_grpc.pb.go index 7696f27b..226a06bb 100644 --- a/proto/services/address_book_service_grpc.pb.go +++ b/proto/services/address_book_service_grpc.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.2.0 +// - protoc-gen-go-grpc v1.5.1 // - protoc v4.25.3 // source: address_book_service.proto @@ -15,12 +15,97 @@ import ( // 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 +// Requires gRPC-Go v1.64.0 or later. +const _ = grpc.SupportPackageIsVersion9 + +const ( + AddressBookService_CreateNode_FullMethodName = "/proto.AddressBookService/createNode" + AddressBookService_DeleteNode_FullMethodName = "/proto.AddressBookService/deleteNode" + AddressBookService_UpdateNode_FullMethodName = "/proto.AddressBookService/updateNode" +) // AddressBookServiceClient is the client API for AddressBookService 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. +// +// * +// The Address Book service provides the ability for Hedera network node +// administrators to add, update, and remove consensus nodes. This addition, +// update, or removal of a consensus node requires governing council approval, +// but each node operator may update their own operational attributes without +// additional approval, reducing overhead for routine operations. +// +// Most operations are `privileged operations` and require governing council +// approval. +// +// ### For a node creation transaction. +// - The node operator SHALL create a `createNode` transaction. +// - The node operator SHALL sign this transaction with the active `key` for +// the account to be assigned as the "node account". +// - The node operator MUST deliver the signed transaction to the Hedera +// council representative. +// - The Hedera council representative SHALL arrange for council members to +// review and sign the transaction. +// - Once sufficient council members have signed the transaction, the +// Hedera council representative SHALL submit the transaction to the +// network. +// - Upon receipt of a valid and signed node creation transaction the network +// software SHALL +// - Validate the threshold signature for the Hedera governing council +// - Validate the signature of the active `key` for the account to be +// assigned as the "node account". +// - Create the new node in state, this new node SHALL NOT be active in the +// network at this time. +// - When executing the next `freeze` transaction with `freeze_type` set to +// `PREPARE_UPGRADE`, update network configuration and bring the +// new node to an active status within the network. The node to be added +// SHALL be active in the network following this upgrade. +// +// ### For a node deletion transaction. +// - The node operator or Hedera council representative SHALL create a +// `deleteNode` transaction. +// - If the node operator creates the transaction +// - The node operator MUST sign this transaction with the active `key` +// for the account assigned as the "node account". +// - The node operator SHALL deliver the signed transaction to the Hedera +// council representative. +// - The Hedera council representative SHALL arrange for council members to +// review and sign the transaction. +// - Once sufficient council members have signed the transaction, the +// Hedera council representative SHALL submit the transaction to the +// network. +// - Upon receipt of a valid and signed node deletion transaction the network +// software SHALL +// - Validate the threshold signature for the Hedera governing council +// - Remove the existing node from network state. The node SHALL still +// be active in the network at this time. +// - When executing the next `freeze` transaction with `freeze_type` set to +// `PREPARE_UPGRADE`, update network configuration and remove the +// node to be deleted from the network. The node to be deleted SHALL NOT +// be active in the network following this upgrade. +// +// ### For a node update transaction. +// - The node operator SHALL create an `updateNode` transaction. +// - The node operator MUST sign this transaction with the active `key` +// assigned as the `admin_key`. +// - The node operator SHALL submit the transaction to the +// network. Hedera council approval SHALL NOT be sought for this +// transaction +// - Upon receipt of a valid and signed node update transaction the network +// software SHALL +// - If the transaction modifies the value of the "node account", +// - Validate the signature of the active `key` for the account +// assigned as the _current_ "node account". +// - Validate the signature of the active `key` for the account to be +// assigned as the _new_ "node account". +// - Modify the node information held in network state with the changes +// requested in the update transaction. The node changes SHALL NOT be +// applied to network configuration, and SHALL NOT affect network +// operation at this time. +// - When executing the next `freeze` transaction with `freeze_type` set to +// `PREPARE_UPGRADE`, update network configuration according to the +// modified information in network state. The requested changes SHALL +// affect network operation following this upgrade. type AddressBookServiceClient interface { // * // A transaction to create a new consensus node in the network. @@ -49,8 +134,7 @@ type AddressBookServiceClient interface { // This transaction, once complete, SHALL modify the identified consensus // node state as requested. //
- // This transaction MAY be authorized by either the node operator OR the - // Hedera governing council. + // This transaction is authorized by the node operator UpdateNode(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error) } @@ -63,8 +147,9 @@ func NewAddressBookServiceClient(cc grpc.ClientConnInterface) AddressBookService } func (c *addressBookServiceClient) CreateNode(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionResponse) - err := c.cc.Invoke(ctx, "/proto.AddressBookService/createNode", in, out, opts...) + err := c.cc.Invoke(ctx, AddressBookService_CreateNode_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -72,8 +157,9 @@ func (c *addressBookServiceClient) CreateNode(ctx context.Context, in *Transacti } func (c *addressBookServiceClient) DeleteNode(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionResponse) - err := c.cc.Invoke(ctx, "/proto.AddressBookService/deleteNode", in, out, opts...) + err := c.cc.Invoke(ctx, AddressBookService_DeleteNode_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -81,8 +167,9 @@ func (c *addressBookServiceClient) DeleteNode(ctx context.Context, in *Transacti } func (c *addressBookServiceClient) UpdateNode(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionResponse) - err := c.cc.Invoke(ctx, "/proto.AddressBookService/updateNode", in, out, opts...) + err := c.cc.Invoke(ctx, AddressBookService_UpdateNode_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -91,7 +178,86 @@ func (c *addressBookServiceClient) UpdateNode(ctx context.Context, in *Transacti // AddressBookServiceServer is the server API for AddressBookService service. // All implementations must embed UnimplementedAddressBookServiceServer -// for forward compatibility +// for forward compatibility. +// +// * +// The Address Book service provides the ability for Hedera network node +// administrators to add, update, and remove consensus nodes. This addition, +// update, or removal of a consensus node requires governing council approval, +// but each node operator may update their own operational attributes without +// additional approval, reducing overhead for routine operations. +// +// Most operations are `privileged operations` and require governing council +// approval. +// +// ### For a node creation transaction. +// - The node operator SHALL create a `createNode` transaction. +// - The node operator SHALL sign this transaction with the active `key` for +// the account to be assigned as the "node account". +// - The node operator MUST deliver the signed transaction to the Hedera +// council representative. +// - The Hedera council representative SHALL arrange for council members to +// review and sign the transaction. +// - Once sufficient council members have signed the transaction, the +// Hedera council representative SHALL submit the transaction to the +// network. +// - Upon receipt of a valid and signed node creation transaction the network +// software SHALL +// - Validate the threshold signature for the Hedera governing council +// - Validate the signature of the active `key` for the account to be +// assigned as the "node account". +// - Create the new node in state, this new node SHALL NOT be active in the +// network at this time. +// - When executing the next `freeze` transaction with `freeze_type` set to +// `PREPARE_UPGRADE`, update network configuration and bring the +// new node to an active status within the network. The node to be added +// SHALL be active in the network following this upgrade. +// +// ### For a node deletion transaction. +// - The node operator or Hedera council representative SHALL create a +// `deleteNode` transaction. +// - If the node operator creates the transaction +// - The node operator MUST sign this transaction with the active `key` +// for the account assigned as the "node account". +// - The node operator SHALL deliver the signed transaction to the Hedera +// council representative. +// - The Hedera council representative SHALL arrange for council members to +// review and sign the transaction. +// - Once sufficient council members have signed the transaction, the +// Hedera council representative SHALL submit the transaction to the +// network. +// - Upon receipt of a valid and signed node deletion transaction the network +// software SHALL +// - Validate the threshold signature for the Hedera governing council +// - Remove the existing node from network state. The node SHALL still +// be active in the network at this time. +// - When executing the next `freeze` transaction with `freeze_type` set to +// `PREPARE_UPGRADE`, update network configuration and remove the +// node to be deleted from the network. The node to be deleted SHALL NOT +// be active in the network following this upgrade. +// +// ### For a node update transaction. +// - The node operator SHALL create an `updateNode` transaction. +// - The node operator MUST sign this transaction with the active `key` +// assigned as the `admin_key`. +// - The node operator SHALL submit the transaction to the +// network. Hedera council approval SHALL NOT be sought for this +// transaction +// - Upon receipt of a valid and signed node update transaction the network +// software SHALL +// - If the transaction modifies the value of the "node account", +// - Validate the signature of the active `key` for the account +// assigned as the _current_ "node account". +// - Validate the signature of the active `key` for the account to be +// assigned as the _new_ "node account". +// - Modify the node information held in network state with the changes +// requested in the update transaction. The node changes SHALL NOT be +// applied to network configuration, and SHALL NOT affect network +// operation at this time. +// - When executing the next `freeze` transaction with `freeze_type` set to +// `PREPARE_UPGRADE`, update network configuration according to the +// modified information in network state. The requested changes SHALL +// affect network operation following this upgrade. type AddressBookServiceServer interface { // * // A transaction to create a new consensus node in the network. @@ -120,15 +286,17 @@ type AddressBookServiceServer interface { // This transaction, once complete, SHALL modify the identified consensus // node state as requested. //
- // This transaction MAY be authorized by either the node operator OR the
- // Hedera governing council.
+ // This transaction is authorized by the node operator
UpdateNode(context.Context, *Transaction) (*TransactionResponse, error)
mustEmbedUnimplementedAddressBookServiceServer()
}
-// UnimplementedAddressBookServiceServer must be embedded to have forward compatible implementations.
-type UnimplementedAddressBookServiceServer struct {
-}
+// UnimplementedAddressBookServiceServer must be embedded to have
+// forward compatible implementations.
+//
+// NOTE: this should be embedded by value instead of pointer to avoid a nil
+// pointer dereference when methods are called.
+type UnimplementedAddressBookServiceServer struct{}
func (UnimplementedAddressBookServiceServer) CreateNode(context.Context, *Transaction) (*TransactionResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method CreateNode not implemented")
@@ -140,6 +308,7 @@ func (UnimplementedAddressBookServiceServer) UpdateNode(context.Context, *Transa
return nil, status.Errorf(codes.Unimplemented, "method UpdateNode not implemented")
}
func (UnimplementedAddressBookServiceServer) mustEmbedUnimplementedAddressBookServiceServer() {}
+func (UnimplementedAddressBookServiceServer) testEmbeddedByValue() {}
// UnsafeAddressBookServiceServer may be embedded to opt out of forward compatibility for this service.
// Use of this interface is not recommended, as added methods to AddressBookServiceServer will
@@ -149,6 +318,13 @@ type UnsafeAddressBookServiceServer interface {
}
func RegisterAddressBookServiceServer(s grpc.ServiceRegistrar, srv AddressBookServiceServer) {
+ // If the following call pancis, it indicates UnimplementedAddressBookServiceServer was
+ // embedded by pointer and is nil. This will cause panics if an
+ // unimplemented method is ever invoked, so we test this at initialization
+ // time to prevent it from happening at runtime later due to I/O.
+ if t, ok := srv.(interface{ testEmbeddedByValue() }); ok {
+ t.testEmbeddedByValue()
+ }
s.RegisterService(&AddressBookService_ServiceDesc, srv)
}
@@ -162,7 +338,7 @@ func _AddressBookService_CreateNode_Handler(srv interface{}, ctx context.Context
}
info := &grpc.UnaryServerInfo{
Server: srv,
- FullMethod: "/proto.AddressBookService/createNode",
+ FullMethod: AddressBookService_CreateNode_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(AddressBookServiceServer).CreateNode(ctx, req.(*Transaction))
@@ -180,7 +356,7 @@ func _AddressBookService_DeleteNode_Handler(srv interface{}, ctx context.Context
}
info := &grpc.UnaryServerInfo{
Server: srv,
- FullMethod: "/proto.AddressBookService/deleteNode",
+ FullMethod: AddressBookService_DeleteNode_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(AddressBookServiceServer).DeleteNode(ctx, req.(*Transaction))
@@ -198,7 +374,7 @@ func _AddressBookService_UpdateNode_Handler(srv interface{}, ctx context.Context
}
info := &grpc.UnaryServerInfo{
Server: srv,
- FullMethod: "/proto.AddressBookService/updateNode",
+ FullMethod: AddressBookService_UpdateNode_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(AddressBookServiceServer).UpdateNode(ctx, req.(*Transaction))
diff --git a/proto/services/basic_types.pb.go b/proto/services/basic_types.pb.go
index f988bb66..37d555f0 100644
--- a/proto/services/basic_types.pb.go
+++ b/proto/services/basic_types.pb.go
@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
-// protoc-gen-go v1.32.0
+// protoc-gen-go v1.35.2
// protoc v4.25.3
// source: basic_types.proto
@@ -757,6 +757,9 @@ const (
// *
// Submit a vote as part of the Threshold Signature Scheme (TSS) processing.
HederaFunctionality_TssVote HederaFunctionality = 97
+ // *
+ // Submit a node signature as part of the Threshold Signature Scheme (TSS) processing.
+ HederaFunctionality_TssShareSignature HederaFunctionality = 98
)
// Enum value maps for HederaFunctionality.
@@ -846,6 +849,7 @@ var (
95: "TokenClaimAirdrop",
96: "TssMessage",
97: "TssVote",
+ 98: "TssShareSignature",
}
HederaFunctionality_value = map[string]int32{
"NONE": 0,
@@ -932,6 +936,7 @@ var (
"TokenClaimAirdrop": 95,
"TssMessage": 96,
"TssVote": 97,
+ "TssShareSignature": 98,
}
)
@@ -987,11 +992,9 @@ type ShardID struct {
func (x *ShardID) Reset() {
*x = ShardID{}
- if protoimpl.UnsafeEnabled {
- mi := &file_basic_types_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_basic_types_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *ShardID) String() string {
@@ -1002,7 +1005,7 @@ func (*ShardID) ProtoMessage() {}
func (x *ShardID) ProtoReflect() protoreflect.Message {
mi := &file_basic_types_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -1042,11 +1045,9 @@ type RealmID struct {
func (x *RealmID) Reset() {
*x = RealmID{}
- if protoimpl.UnsafeEnabled {
- mi := &file_basic_types_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_basic_types_proto_msgTypes[1]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *RealmID) String() string {
@@ -1057,7 +1058,7 @@ func (*RealmID) ProtoMessage() {}
func (x *RealmID) ProtoReflect() protoreflect.Message {
mi := &file_basic_types_proto_msgTypes[1]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -1113,11 +1114,9 @@ type AccountID struct {
func (x *AccountID) Reset() {
*x = AccountID{}
- if protoimpl.UnsafeEnabled {
- mi := &file_basic_types_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_basic_types_proto_msgTypes[2]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *AccountID) String() string {
@@ -1128,7 +1127,7 @@ func (*AccountID) ProtoMessage() {}
func (x *AccountID) ProtoReflect() protoreflect.Message {
mi := &file_basic_types_proto_msgTypes[2]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -1231,11 +1230,9 @@ type NftID struct {
func (x *NftID) Reset() {
*x = NftID{}
- if protoimpl.UnsafeEnabled {
- mi := &file_basic_types_proto_msgTypes[3]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_basic_types_proto_msgTypes[3]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *NftID) String() string {
@@ -1246,7 +1243,7 @@ func (*NftID) ProtoMessage() {}
func (x *NftID) ProtoReflect() protoreflect.Message {
mi := &file_basic_types_proto_msgTypes[3]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -1295,11 +1292,9 @@ type FileID struct {
func (x *FileID) Reset() {
*x = FileID{}
- if protoimpl.UnsafeEnabled {
- mi := &file_basic_types_proto_msgTypes[4]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_basic_types_proto_msgTypes[4]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *FileID) String() string {
@@ -1310,7 +1305,7 @@ func (*FileID) ProtoMessage() {}
func (x *FileID) ProtoReflect() protoreflect.Message {
mi := &file_basic_types_proto_msgTypes[4]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -1368,11 +1363,9 @@ type ContractID struct {
func (x *ContractID) Reset() {
*x = ContractID{}
- if protoimpl.UnsafeEnabled {
- mi := &file_basic_types_proto_msgTypes[5]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_basic_types_proto_msgTypes[5]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *ContractID) String() string {
@@ -1383,7 +1376,7 @@ func (*ContractID) ProtoMessage() {}
func (x *ContractID) ProtoReflect() protoreflect.Message {
mi := &file_basic_types_proto_msgTypes[5]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -1513,11 +1506,9 @@ type TransactionID struct {
func (x *TransactionID) Reset() {
*x = TransactionID{}
- if protoimpl.UnsafeEnabled {
- mi := &file_basic_types_proto_msgTypes[6]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_basic_types_proto_msgTypes[6]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *TransactionID) String() string {
@@ -1528,7 +1519,7 @@ func (*TransactionID) ProtoMessage() {}
func (x *TransactionID) ProtoReflect() protoreflect.Message {
mi := &file_basic_types_proto_msgTypes[6]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -1594,11 +1585,9 @@ type AccountAmount struct {
func (x *AccountAmount) Reset() {
*x = AccountAmount{}
- if protoimpl.UnsafeEnabled {
- mi := &file_basic_types_proto_msgTypes[7]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_basic_types_proto_msgTypes[7]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *AccountAmount) String() string {
@@ -1609,7 +1598,7 @@ func (*AccountAmount) ProtoMessage() {}
func (x *AccountAmount) ProtoReflect() protoreflect.Message {
mi := &file_basic_types_proto_msgTypes[7]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -1660,11 +1649,9 @@ type TransferList struct {
func (x *TransferList) Reset() {
*x = TransferList{}
- if protoimpl.UnsafeEnabled {
- mi := &file_basic_types_proto_msgTypes[8]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_basic_types_proto_msgTypes[8]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *TransferList) String() string {
@@ -1675,7 +1662,7 @@ func (*TransferList) ProtoMessage() {}
func (x *TransferList) ProtoReflect() protoreflect.Message {
mi := &file_basic_types_proto_msgTypes[8]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -1723,11 +1710,9 @@ type NftTransfer struct {
func (x *NftTransfer) Reset() {
*x = NftTransfer{}
- if protoimpl.UnsafeEnabled {
- mi := &file_basic_types_proto_msgTypes[9]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_basic_types_proto_msgTypes[9]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *NftTransfer) String() string {
@@ -1738,7 +1723,7 @@ func (*NftTransfer) ProtoMessage() {}
func (x *NftTransfer) ProtoReflect() protoreflect.Message {
mi := &file_basic_types_proto_msgTypes[9]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -1808,11 +1793,9 @@ type TokenTransferList struct {
func (x *TokenTransferList) Reset() {
*x = TokenTransferList{}
- if protoimpl.UnsafeEnabled {
- mi := &file_basic_types_proto_msgTypes[10]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_basic_types_proto_msgTypes[10]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *TokenTransferList) String() string {
@@ -1823,7 +1806,7 @@ func (*TokenTransferList) ProtoMessage() {}
func (x *TokenTransferList) ProtoReflect() protoreflect.Message {
mi := &file_basic_types_proto_msgTypes[10]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -1883,11 +1866,9 @@ type Fraction struct {
func (x *Fraction) Reset() {
*x = Fraction{}
- if protoimpl.UnsafeEnabled {
- mi := &file_basic_types_proto_msgTypes[11]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_basic_types_proto_msgTypes[11]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *Fraction) String() string {
@@ -1898,7 +1879,7 @@ func (*Fraction) ProtoMessage() {}
func (x *Fraction) ProtoReflect() protoreflect.Message {
mi := &file_basic_types_proto_msgTypes[11]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -1947,11 +1928,9 @@ type TopicID struct {
func (x *TopicID) Reset() {
*x = TopicID{}
- if protoimpl.UnsafeEnabled {
- mi := &file_basic_types_proto_msgTypes[12]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_basic_types_proto_msgTypes[12]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *TopicID) String() string {
@@ -1962,7 +1941,7 @@ func (*TopicID) ProtoMessage() {}
func (x *TopicID) ProtoReflect() protoreflect.Message {
mi := &file_basic_types_proto_msgTypes[12]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -2018,11 +1997,9 @@ type TokenID struct {
func (x *TokenID) Reset() {
*x = TokenID{}
- if protoimpl.UnsafeEnabled {
- mi := &file_basic_types_proto_msgTypes[13]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_basic_types_proto_msgTypes[13]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *TokenID) String() string {
@@ -2033,7 +2010,7 @@ func (*TokenID) ProtoMessage() {}
func (x *TokenID) ProtoReflect() protoreflect.Message {
mi := &file_basic_types_proto_msgTypes[13]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -2089,11 +2066,9 @@ type ScheduleID struct {
func (x *ScheduleID) Reset() {
*x = ScheduleID{}
- if protoimpl.UnsafeEnabled {
- mi := &file_basic_types_proto_msgTypes[14]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_basic_types_proto_msgTypes[14]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *ScheduleID) String() string {
@@ -2104,7 +2079,7 @@ func (*ScheduleID) ProtoMessage() {}
func (x *ScheduleID) ProtoReflect() protoreflect.Message {
mi := &file_basic_types_proto_msgTypes[14]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -2197,11 +2172,9 @@ type Key struct {
func (x *Key) Reset() {
*x = Key{}
- if protoimpl.UnsafeEnabled {
- mi := &file_basic_types_proto_msgTypes[15]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_basic_types_proto_msgTypes[15]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *Key) String() string {
@@ -2212,7 +2185,7 @@ func (*Key) ProtoMessage() {}
func (x *Key) ProtoReflect() protoreflect.Message {
mi := &file_basic_types_proto_msgTypes[15]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -2385,11 +2358,9 @@ type ThresholdKey struct {
func (x *ThresholdKey) Reset() {
*x = ThresholdKey{}
- if protoimpl.UnsafeEnabled {
- mi := &file_basic_types_proto_msgTypes[16]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_basic_types_proto_msgTypes[16]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *ThresholdKey) String() string {
@@ -2400,7 +2371,7 @@ func (*ThresholdKey) ProtoMessage() {}
func (x *ThresholdKey) ProtoReflect() protoreflect.Message {
mi := &file_basic_types_proto_msgTypes[16]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -2445,11 +2416,9 @@ type KeyList struct {
func (x *KeyList) Reset() {
*x = KeyList{}
- if protoimpl.UnsafeEnabled {
- mi := &file_basic_types_proto_msgTypes[17]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_basic_types_proto_msgTypes[17]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *KeyList) String() string {
@@ -2460,7 +2429,7 @@ func (*KeyList) ProtoMessage() {}
func (x *KeyList) ProtoReflect() protoreflect.Message {
mi := &file_basic_types_proto_msgTypes[17]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -2507,11 +2476,9 @@ type Signature struct {
func (x *Signature) Reset() {
*x = Signature{}
- if protoimpl.UnsafeEnabled {
- mi := &file_basic_types_proto_msgTypes[18]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_basic_types_proto_msgTypes[18]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *Signature) String() string {
@@ -2522,7 +2489,7 @@ func (*Signature) ProtoMessage() {}
func (x *Signature) ProtoReflect() protoreflect.Message {
mi := &file_basic_types_proto_msgTypes[18]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -2659,11 +2626,9 @@ type ThresholdSignature struct {
func (x *ThresholdSignature) Reset() {
*x = ThresholdSignature{}
- if protoimpl.UnsafeEnabled {
- mi := &file_basic_types_proto_msgTypes[19]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_basic_types_proto_msgTypes[19]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *ThresholdSignature) String() string {
@@ -2674,7 +2639,7 @@ func (*ThresholdSignature) ProtoMessage() {}
func (x *ThresholdSignature) ProtoReflect() protoreflect.Message {
mi := &file_basic_types_proto_msgTypes[19]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -2715,11 +2680,9 @@ type SignatureList struct {
func (x *SignatureList) Reset() {
*x = SignatureList{}
- if protoimpl.UnsafeEnabled {
- mi := &file_basic_types_proto_msgTypes[20]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_basic_types_proto_msgTypes[20]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *SignatureList) String() string {
@@ -2730,7 +2693,7 @@ func (*SignatureList) ProtoMessage() {}
func (x *SignatureList) ProtoReflect() protoreflect.Message {
mi := &file_basic_types_proto_msgTypes[20]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -2784,11 +2747,9 @@ type SignaturePair struct {
func (x *SignaturePair) Reset() {
*x = SignaturePair{}
- if protoimpl.UnsafeEnabled {
- mi := &file_basic_types_proto_msgTypes[21]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_basic_types_proto_msgTypes[21]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *SignaturePair) String() string {
@@ -2799,7 +2760,7 @@ func (*SignaturePair) ProtoMessage() {}
func (x *SignaturePair) ProtoReflect() protoreflect.Message {
mi := &file_basic_types_proto_msgTypes[21]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -2923,11 +2884,9 @@ type SignatureMap struct {
func (x *SignatureMap) Reset() {
*x = SignatureMap{}
- if protoimpl.UnsafeEnabled {
- mi := &file_basic_types_proto_msgTypes[22]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_basic_types_proto_msgTypes[22]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *SignatureMap) String() string {
@@ -2938,7 +2897,7 @@ func (*SignatureMap) ProtoMessage() {}
func (x *SignatureMap) ProtoReflect() protoreflect.Message {
mi := &file_basic_types_proto_msgTypes[22]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -3007,11 +2966,9 @@ type FeeComponents struct {
func (x *FeeComponents) Reset() {
*x = FeeComponents{}
- if protoimpl.UnsafeEnabled {
- mi := &file_basic_types_proto_msgTypes[23]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_basic_types_proto_msgTypes[23]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *FeeComponents) String() string {
@@ -3022,7 +2979,7 @@ func (*FeeComponents) ProtoMessage() {}
func (x *FeeComponents) ProtoReflect() protoreflect.Message {
mi := &file_basic_types_proto_msgTypes[23]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -3136,11 +3093,9 @@ type TransactionFeeSchedule struct {
func (x *TransactionFeeSchedule) Reset() {
*x = TransactionFeeSchedule{}
- if protoimpl.UnsafeEnabled {
- mi := &file_basic_types_proto_msgTypes[24]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_basic_types_proto_msgTypes[24]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *TransactionFeeSchedule) String() string {
@@ -3151,7 +3106,7 @@ func (*TransactionFeeSchedule) ProtoMessage() {}
func (x *TransactionFeeSchedule) ProtoReflect() protoreflect.Message {
mi := &file_basic_types_proto_msgTypes[24]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -3216,11 +3171,9 @@ type FeeData struct {
func (x *FeeData) Reset() {
*x = FeeData{}
- if protoimpl.UnsafeEnabled {
- mi := &file_basic_types_proto_msgTypes[25]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_basic_types_proto_msgTypes[25]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *FeeData) String() string {
@@ -3231,7 +3184,7 @@ func (*FeeData) ProtoMessage() {}
func (x *FeeData) ProtoReflect() protoreflect.Message {
mi := &file_basic_types_proto_msgTypes[25]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -3293,11 +3246,9 @@ type FeeSchedule struct {
func (x *FeeSchedule) Reset() {
*x = FeeSchedule{}
- if protoimpl.UnsafeEnabled {
- mi := &file_basic_types_proto_msgTypes[26]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_basic_types_proto_msgTypes[26]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *FeeSchedule) String() string {
@@ -3308,7 +3259,7 @@ func (*FeeSchedule) ProtoMessage() {}
func (x *FeeSchedule) ProtoReflect() protoreflect.Message {
mi := &file_basic_types_proto_msgTypes[26]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -3354,11 +3305,9 @@ type CurrentAndNextFeeSchedule struct {
func (x *CurrentAndNextFeeSchedule) Reset() {
*x = CurrentAndNextFeeSchedule{}
- if protoimpl.UnsafeEnabled {
- mi := &file_basic_types_proto_msgTypes[27]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_basic_types_proto_msgTypes[27]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *CurrentAndNextFeeSchedule) String() string {
@@ -3369,7 +3318,7 @@ func (*CurrentAndNextFeeSchedule) ProtoMessage() {}
func (x *CurrentAndNextFeeSchedule) ProtoReflect() protoreflect.Message {
mi := &file_basic_types_proto_msgTypes[27]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -3431,11 +3380,9 @@ type ServiceEndpoint struct {
func (x *ServiceEndpoint) Reset() {
*x = ServiceEndpoint{}
- if protoimpl.UnsafeEnabled {
- mi := &file_basic_types_proto_msgTypes[28]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_basic_types_proto_msgTypes[28]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *ServiceEndpoint) String() string {
@@ -3446,7 +3393,7 @@ func (*ServiceEndpoint) ProtoMessage() {}
func (x *ServiceEndpoint) ProtoReflect() protoreflect.Message {
mi := &file_basic_types_proto_msgTypes[28]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -3545,11 +3492,9 @@ type NodeAddress struct {
func (x *NodeAddress) Reset() {
*x = NodeAddress{}
- if protoimpl.UnsafeEnabled {
- mi := &file_basic_types_proto_msgTypes[29]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_basic_types_proto_msgTypes[29]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *NodeAddress) String() string {
@@ -3560,7 +3505,7 @@ func (*NodeAddress) ProtoMessage() {}
func (x *NodeAddress) ProtoReflect() protoreflect.Message {
mi := &file_basic_types_proto_msgTypes[29]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -3664,11 +3609,9 @@ type NodeAddressBook struct {
func (x *NodeAddressBook) Reset() {
*x = NodeAddressBook{}
- if protoimpl.UnsafeEnabled {
- mi := &file_basic_types_proto_msgTypes[30]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_basic_types_proto_msgTypes[30]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *NodeAddressBook) String() string {
@@ -3679,7 +3622,7 @@ func (*NodeAddressBook) ProtoMessage() {}
func (x *NodeAddressBook) ProtoReflect() protoreflect.Message {
mi := &file_basic_types_proto_msgTypes[30]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -3735,11 +3678,9 @@ type SemanticVersion struct {
func (x *SemanticVersion) Reset() {
*x = SemanticVersion{}
- if protoimpl.UnsafeEnabled {
- mi := &file_basic_types_proto_msgTypes[31]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_basic_types_proto_msgTypes[31]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *SemanticVersion) String() string {
@@ -3750,7 +3691,7 @@ func (*SemanticVersion) ProtoMessage() {}
func (x *SemanticVersion) ProtoReflect() protoreflect.Message {
mi := &file_basic_types_proto_msgTypes[31]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -3820,11 +3761,9 @@ type Setting struct {
func (x *Setting) Reset() {
*x = Setting{}
- if protoimpl.UnsafeEnabled {
- mi := &file_basic_types_proto_msgTypes[32]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_basic_types_proto_msgTypes[32]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *Setting) String() string {
@@ -3835,7 +3774,7 @@ func (*Setting) ProtoMessage() {}
func (x *Setting) ProtoReflect() protoreflect.Message {
mi := &file_basic_types_proto_msgTypes[32]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -3885,11 +3824,9 @@ type ServicesConfigurationList struct {
func (x *ServicesConfigurationList) Reset() {
*x = ServicesConfigurationList{}
- if protoimpl.UnsafeEnabled {
- mi := &file_basic_types_proto_msgTypes[33]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_basic_types_proto_msgTypes[33]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *ServicesConfigurationList) String() string {
@@ -3900,7 +3837,7 @@ func (*ServicesConfigurationList) ProtoMessage() {}
func (x *ServicesConfigurationList) ProtoReflect() protoreflect.Message {
mi := &file_basic_types_proto_msgTypes[33]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -3958,11 +3895,9 @@ type TokenRelationship struct {
func (x *TokenRelationship) Reset() {
*x = TokenRelationship{}
- if protoimpl.UnsafeEnabled {
- mi := &file_basic_types_proto_msgTypes[34]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_basic_types_proto_msgTypes[34]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *TokenRelationship) String() string {
@@ -3973,7 +3908,7 @@ func (*TokenRelationship) ProtoMessage() {}
func (x *TokenRelationship) ProtoReflect() protoreflect.Message {
mi := &file_basic_types_proto_msgTypes[34]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -4067,11 +4002,9 @@ type TokenBalance struct {
func (x *TokenBalance) Reset() {
*x = TokenBalance{}
- if protoimpl.UnsafeEnabled {
- mi := &file_basic_types_proto_msgTypes[35]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_basic_types_proto_msgTypes[35]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *TokenBalance) String() string {
@@ -4082,7 +4015,7 @@ func (*TokenBalance) ProtoMessage() {}
func (x *TokenBalance) ProtoReflect() protoreflect.Message {
mi := &file_basic_types_proto_msgTypes[35]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -4130,11 +4063,9 @@ type TokenBalances struct {
func (x *TokenBalances) Reset() {
*x = TokenBalances{}
- if protoimpl.UnsafeEnabled {
- mi := &file_basic_types_proto_msgTypes[36]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_basic_types_proto_msgTypes[36]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *TokenBalances) String() string {
@@ -4145,7 +4076,7 @@ func (*TokenBalances) ProtoMessage() {}
func (x *TokenBalances) ProtoReflect() protoreflect.Message {
mi := &file_basic_types_proto_msgTypes[36]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -4179,11 +4110,9 @@ type TokenAssociation struct {
func (x *TokenAssociation) Reset() {
*x = TokenAssociation{}
- if protoimpl.UnsafeEnabled {
- mi := &file_basic_types_proto_msgTypes[37]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_basic_types_proto_msgTypes[37]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *TokenAssociation) String() string {
@@ -4194,7 +4123,7 @@ func (*TokenAssociation) ProtoMessage() {}
func (x *TokenAssociation) ProtoReflect() protoreflect.Message {
mi := &file_basic_types_proto_msgTypes[37]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -4256,11 +4185,9 @@ type StakingInfo struct {
func (x *StakingInfo) Reset() {
*x = StakingInfo{}
- if protoimpl.UnsafeEnabled {
- mi := &file_basic_types_proto_msgTypes[38]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_basic_types_proto_msgTypes[38]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *StakingInfo) String() string {
@@ -4271,7 +4198,7 @@ func (*StakingInfo) ProtoMessage() {}
func (x *StakingInfo) ProtoReflect() protoreflect.Message {
mi := &file_basic_types_proto_msgTypes[38]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -4385,11 +4312,9 @@ type PendingAirdropId struct {
func (x *PendingAirdropId) Reset() {
*x = PendingAirdropId{}
- if protoimpl.UnsafeEnabled {
- mi := &file_basic_types_proto_msgTypes[39]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_basic_types_proto_msgTypes[39]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *PendingAirdropId) String() string {
@@ -4400,7 +4325,7 @@ func (*PendingAirdropId) ProtoMessage() {}
func (x *PendingAirdropId) ProtoReflect() protoreflect.Message {
mi := &file_basic_types_proto_msgTypes[39]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -4505,11 +4430,9 @@ type PendingAirdropValue struct {
func (x *PendingAirdropValue) Reset() {
*x = PendingAirdropValue{}
- if protoimpl.UnsafeEnabled {
- mi := &file_basic_types_proto_msgTypes[40]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_basic_types_proto_msgTypes[40]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *PendingAirdropValue) String() string {
@@ -4520,7 +4443,7 @@ func (*PendingAirdropValue) ProtoMessage() {}
func (x *PendingAirdropValue) ProtoReflect() protoreflect.Message {
mi := &file_basic_types_proto_msgTypes[40]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -4964,7 +4887,7 @@ var file_basic_types_proto_rawDesc = []byte{
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, 0x9e, 0x0e, 0x0a, 0x13, 0x48, 0x65, 0x64, 0x65, 0x72, 0x61, 0x46, 0x75, 0x6e,
+ 0x10, 0x02, 0x2a, 0xb5, 0x0e, 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, 0x72, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x43, 0x72, 0x79, 0x70,
@@ -5078,10 +5001,11 @@ var file_basic_types_proto_rawDesc = []byte{
0x15, 0x0a, 0x11, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x41, 0x69, 0x72,
0x64, 0x72, 0x6f, 0x70, 0x10, 0x5f, 0x12, 0x0e, 0x0a, 0x0a, 0x54, 0x73, 0x73, 0x4d, 0x65, 0x73,
0x73, 0x61, 0x67, 0x65, 0x10, 0x60, 0x12, 0x0b, 0x0a, 0x07, 0x54, 0x73, 0x73, 0x56, 0x6f, 0x74,
- 0x65, 0x10, 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,
+ 0x65, 0x10, 0x61, 0x12, 0x15, 0x0a, 0x11, 0x54, 0x73, 0x73, 0x53, 0x68, 0x61, 0x72, 0x65, 0x53,
+ 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x10, 0x62, 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 (
@@ -5098,7 +5022,7 @@ func file_basic_types_proto_rawDescGZIP() []byte {
var file_basic_types_proto_enumTypes = make([]protoimpl.EnumInfo, 9)
var file_basic_types_proto_msgTypes = make([]protoimpl.MessageInfo, 41)
-var file_basic_types_proto_goTypes = []interface{}{
+var file_basic_types_proto_goTypes = []any{
(BlockHashAlgorithm)(0), // 0: proto.BlockHashAlgorithm
(TokenType)(0), // 1: proto.TokenType
(SubType)(0), // 2: proto.SubType
@@ -5217,509 +5141,15 @@ func file_basic_types_proto_init() {
return
}
file_timestamp_proto_init()
- if !protoimpl.UnsafeEnabled {
- file_basic_types_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ShardID); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_basic_types_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*RealmID); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_basic_types_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*AccountID); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_basic_types_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*NftID); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_basic_types_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*FileID); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_basic_types_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ContractID); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_basic_types_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*TransactionID); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_basic_types_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*AccountAmount); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_basic_types_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*TransferList); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_basic_types_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*NftTransfer); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_basic_types_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*TokenTransferList); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_basic_types_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Fraction); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_basic_types_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*TopicID); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_basic_types_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*TokenID); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_basic_types_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ScheduleID); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_basic_types_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Key); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_basic_types_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ThresholdKey); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_basic_types_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*KeyList); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_basic_types_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Signature); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_basic_types_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ThresholdSignature); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_basic_types_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SignatureList); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_basic_types_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SignaturePair); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_basic_types_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SignatureMap); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_basic_types_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*FeeComponents); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_basic_types_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*TransactionFeeSchedule); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_basic_types_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*FeeData); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_basic_types_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*FeeSchedule); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_basic_types_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*CurrentAndNextFeeSchedule); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_basic_types_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ServiceEndpoint); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_basic_types_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*NodeAddress); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_basic_types_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*NodeAddressBook); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_basic_types_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SemanticVersion); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_basic_types_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Setting); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_basic_types_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ServicesConfigurationList); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_basic_types_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*TokenRelationship); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_basic_types_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*TokenBalance); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_basic_types_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*TokenBalances); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_basic_types_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*TokenAssociation); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_basic_types_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*StakingInfo); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_basic_types_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*PendingAirdropId); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_basic_types_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*PendingAirdropValue); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- file_basic_types_proto_msgTypes[2].OneofWrappers = []interface{}{
+ file_basic_types_proto_msgTypes[2].OneofWrappers = []any{
(*AccountID_AccountNum)(nil),
(*AccountID_Alias)(nil),
}
- file_basic_types_proto_msgTypes[5].OneofWrappers = []interface{}{
+ file_basic_types_proto_msgTypes[5].OneofWrappers = []any{
(*ContractID_ContractNum)(nil),
(*ContractID_EvmAddress)(nil),
}
- file_basic_types_proto_msgTypes[15].OneofWrappers = []interface{}{
+ file_basic_types_proto_msgTypes[15].OneofWrappers = []any{
(*Key_ContractID)(nil),
(*Key_Ed25519)(nil),
(*Key_RSA_3072)(nil),
@@ -5729,7 +5159,7 @@ func file_basic_types_proto_init() {
(*Key_ECDSASecp256K1)(nil),
(*Key_DelegatableContractId)(nil),
}
- file_basic_types_proto_msgTypes[18].OneofWrappers = []interface{}{
+ file_basic_types_proto_msgTypes[18].OneofWrappers = []any{
(*Signature_Contract)(nil),
(*Signature_Ed25519)(nil),
(*Signature_RSA_3072)(nil),
@@ -5737,18 +5167,18 @@ func file_basic_types_proto_init() {
(*Signature_ThresholdSignature)(nil),
(*Signature_SignatureList)(nil),
}
- file_basic_types_proto_msgTypes[21].OneofWrappers = []interface{}{
+ file_basic_types_proto_msgTypes[21].OneofWrappers = []any{
(*SignaturePair_Contract)(nil),
(*SignaturePair_Ed25519)(nil),
(*SignaturePair_RSA_3072)(nil),
(*SignaturePair_ECDSA_384)(nil),
(*SignaturePair_ECDSASecp256K1)(nil),
}
- file_basic_types_proto_msgTypes[38].OneofWrappers = []interface{}{
+ file_basic_types_proto_msgTypes[38].OneofWrappers = []any{
(*StakingInfo_StakedAccountId)(nil),
(*StakingInfo_StakedNodeId)(nil),
}
- file_basic_types_proto_msgTypes[39].OneofWrappers = []interface{}{
+ file_basic_types_proto_msgTypes[39].OneofWrappers = []any{
(*PendingAirdropId_FungibleTokenType)(nil),
(*PendingAirdropId_NonFungibleToken)(nil),
}
diff --git a/proto/services/block_info.pb.go b/proto/services/block_info.pb.go
index e65eae44..8745d097 100644
--- a/proto/services/block_info.pb.go
+++ b/proto/services/block_info.pb.go
@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
-// protoc-gen-go v1.32.0
+// protoc-gen-go v1.35.2
// protoc v4.25.3
// source: block_info.proto
@@ -57,11 +57,9 @@ type BlockInfo struct {
func (x *BlockInfo) Reset() {
*x = BlockInfo{}
- if protoimpl.UnsafeEnabled {
- mi := &file_block_info_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_block_info_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *BlockInfo) String() string {
@@ -72,7 +70,7 @@ func (*BlockInfo) ProtoMessage() {}
func (x *BlockInfo) ProtoReflect() protoreflect.Message {
mi := &file_block_info_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -179,7 +177,7 @@ func file_block_info_proto_rawDescGZIP() []byte {
}
var file_block_info_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
-var file_block_info_proto_goTypes = []interface{}{
+var file_block_info_proto_goTypes = []any{
(*BlockInfo)(nil), // 0: proto.BlockInfo
(*Timestamp)(nil), // 1: proto.Timestamp
}
@@ -200,20 +198,6 @@ func file_block_info_proto_init() {
return
}
file_timestamp_proto_init()
- if !protoimpl.UnsafeEnabled {
- file_block_info_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*BlockInfo); 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{
diff --git a/proto/services/block_stream_info.pb.go b/proto/services/block_stream_info.pb.go
index 19e5c2f7..c8eb6c8d 100644
--- a/proto/services/block_stream_info.pb.go
+++ b/proto/services/block_stream_info.pb.go
@@ -12,7 +12,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
-// protoc-gen-go v1.32.0
+// protoc-gen-go v1.35.2
// protoc v4.25.3
// source: block_stream_info.proto
@@ -45,7 +45,7 @@ const (
// _each_ block, but MUST be updated at the beginning of the _next_ block.
// This value SHALL contain the block hash up to, and including, the
// immediately prior completed block.
-// The state change to update this singleton MUST be the last "output"
+// The state change to update this singleton MUST be the last
// block item in this block.
type BlockStreamInfo struct {
state protoimpl.MessageState
@@ -68,7 +68,7 @@ type BlockStreamInfo struct {
// A concatenation of hash values.
// This combines several trailing output block item hashes and
// is used as a seed value for a pseudo-random number generator.
- // This is also requiried to implement the EVM `PREVRANDAO` opcode.
+ // This is also required to implement the EVM `PREVRANDAO` opcode.
// This MUST contain at least 256 bits of entropy.
TrailingOutputHashes []byte `protobuf:"bytes,3,opt,name=trailing_output_hashes,json=trailingOutputHashes,proto3" json:"trailing_output_hashes,omitempty"`
// *
@@ -80,7 +80,7 @@ type BlockStreamInfo struct {
// The latest available hash SHALL be for block N-1.
// This is REQUIRED to implement the EVM `BLOCKHASH` opcode.
//
- //
+ // This MUST be false if and only if the network just restarted + // after an upgrade and has not yet done the post-upgrade work. + PostUpgradeWorkDone bool `protobuf:"varint,10,opt,name=post_upgrade_work_done,json=postUpgradeWorkDone,proto3" json:"post_upgrade_work_done,omitempty"` + // * + // A version describing the version of application software. + //
+ // This SHALL be the software version that created this block. + CreationSoftwareVersion *SemanticVersion `protobuf:"bytes,11,opt,name=creation_software_version,json=creationSoftwareVersion,proto3" json:"creation_software_version,omitempty"` + // * + // The time stamp at which the last interval process was done. + //
+ // This field SHALL hold the consensus time for the last time + // at which an interval of time-dependent events were processed. + LastIntervalProcessTime *Timestamp `protobuf:"bytes,12,opt,name=last_interval_process_time,json=lastIntervalProcessTime,proto3" json:"last_interval_process_time,omitempty"` + // * + // The time stamp at which the last user transaction was handled. + //
+ // This field SHALL hold the consensus time for the last time
+ // at which a user transaction was handled.
+ LastHandleTime *Timestamp `protobuf:"bytes,13,opt,name=last_handle_time,json=lastHandleTime,proto3" json:"last_handle_time,omitempty"`
}
func (x *BlockStreamInfo) Reset() {
*x = BlockStreamInfo{}
- if protoimpl.UnsafeEnabled {
- mi := &file_block_stream_info_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_block_stream_info_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *BlockStreamInfo) String() string {
@@ -132,7 +153,7 @@ func (*BlockStreamInfo) ProtoMessage() {}
func (x *BlockStreamInfo) ProtoReflect() protoreflect.Message {
mi := &file_block_stream_info_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -210,6 +231,34 @@ func (x *BlockStreamInfo) GetBlockEndTime() *Timestamp {
return nil
}
+func (x *BlockStreamInfo) GetPostUpgradeWorkDone() bool {
+ if x != nil {
+ return x.PostUpgradeWorkDone
+ }
+ return false
+}
+
+func (x *BlockStreamInfo) GetCreationSoftwareVersion() *SemanticVersion {
+ if x != nil {
+ return x.CreationSoftwareVersion
+ }
+ return nil
+}
+
+func (x *BlockStreamInfo) GetLastIntervalProcessTime() *Timestamp {
+ if x != nil {
+ return x.LastIntervalProcessTime
+ }
+ return nil
+}
+
+func (x *BlockStreamInfo) GetLastHandleTime() *Timestamp {
+ if x != nil {
+ return x.LastHandleTime
+ }
+ return nil
+}
+
var File_block_stream_info_proto protoreflect.FileDescriptor
var file_block_stream_info_proto_rawDesc = []byte{
@@ -218,42 +267,60 @@ var file_block_stream_info_proto_rawDesc = []byte{
0x65, 0x64, 0x65, 0x72, 0x61, 0x2e, 0x68, 0x61, 0x70, 0x69, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e,
0x73, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x74, 0x72, 0x65, 0x61,
0x6d, 0x1a, 0x0f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x22, 0x83, 0x04, 0x0a, 0x0f, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x53, 0x74, 0x72, 0x65,
- 0x61, 0x6d, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f,
- 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x62, 0x6c,
- 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x2f, 0x0a, 0x0a, 0x62, 0x6c, 0x6f,
- 0x63, 0x6b, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e,
+ 0x74, 0x6f, 0x1a, 0x11, 0x62, 0x61, 0x73, 0x69, 0x63, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e,
+ 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x97, 0x06, 0x0a, 0x0f, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x53,
+ 0x74, 0x72, 0x65, 0x61, 0x6d, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f,
+ 0x63, 0x6b, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52,
+ 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x2f, 0x0a, 0x0a,
+ 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
+ 0x32, 0x10, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,
+ 0x6d, 0x70, 0x52, 0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x34, 0x0a,
+ 0x16, 0x74, 0x72, 0x61, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74,
+ 0x5f, 0x68, 0x61, 0x73, 0x68, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x14, 0x74,
+ 0x72, 0x61, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x48, 0x61, 0x73,
+ 0x68, 0x65, 0x73, 0x12, 0x32, 0x0a, 0x15, 0x74, 0x72, 0x61, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x5f,
+ 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01,
+ 0x28, 0x0c, 0x52, 0x13, 0x74, 0x72, 0x61, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x42, 0x6c, 0x6f, 0x63,
+ 0x6b, 0x48, 0x61, 0x73, 0x68, 0x65, 0x73, 0x12, 0x2f, 0x0a, 0x14, 0x69, 0x6e, 0x70, 0x75, 0x74,
+ 0x5f, 0x74, 0x72, 0x65, 0x65, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18,
+ 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x11, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x54, 0x72, 0x65, 0x65,
+ 0x52, 0x6f, 0x6f, 0x74, 0x48, 0x61, 0x73, 0x68, 0x12, 0x38, 0x0a, 0x19, 0x73, 0x74, 0x61, 0x72,
+ 0x74, 0x5f, 0x6f, 0x66, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65,
+ 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x15, 0x73, 0x74, 0x61,
+ 0x72, 0x74, 0x4f, 0x66, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x61,
+ 0x73, 0x68, 0x12, 0x3b, 0x0a, 0x1a, 0x6e, 0x75, 0x6d, 0x5f, 0x70, 0x72, 0x65, 0x63, 0x65, 0x64,
+ 0x69, 0x6e, 0x67, 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x73,
+ 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x17, 0x6e, 0x75, 0x6d, 0x50, 0x72, 0x65, 0x63, 0x65,
+ 0x64, 0x69, 0x6e, 0x67, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x12,
+ 0x52, 0x0a, 0x26, 0x72, 0x69, 0x67, 0x68, 0x74, 0x6d, 0x6f, 0x73, 0x74, 0x5f, 0x70, 0x72, 0x65,
+ 0x63, 0x65, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x74, 0x72,
+ 0x65, 0x65, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x65, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0c, 0x52,
+ 0x22, 0x72, 0x69, 0x67, 0x68, 0x74, 0x6d, 0x6f, 0x73, 0x74, 0x50, 0x72, 0x65, 0x63, 0x65, 0x64,
+ 0x69, 0x6e, 0x67, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x54, 0x72, 0x65, 0x65, 0x48, 0x61, 0x73,
+ 0x68, 0x65, 0x73, 0x12, 0x36, 0x0a, 0x0e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x65, 0x6e, 0x64,
+ 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x72,
+ 0x6f, 0x74, 0x6f, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0c, 0x62,
+ 0x6c, 0x6f, 0x63, 0x6b, 0x45, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x33, 0x0a, 0x16, 0x70,
+ 0x6f, 0x73, 0x74, 0x5f, 0x75, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x5f, 0x77, 0x6f, 0x72, 0x6b,
+ 0x5f, 0x64, 0x6f, 0x6e, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x13, 0x70, 0x6f, 0x73,
+ 0x74, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x44, 0x6f, 0x6e, 0x65,
+ 0x12, 0x52, 0x0a, 0x19, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x6f, 0x66,
+ 0x74, 0x77, 0x61, 0x72, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0b, 0x20,
+ 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x53, 0x65, 0x6d, 0x61,
+ 0x6e, 0x74, 0x69, 0x63, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x17, 0x63, 0x72, 0x65,
+ 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x6f, 0x66, 0x74, 0x77, 0x61, 0x72, 0x65, 0x56, 0x65, 0x72,
+ 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x4d, 0x0a, 0x1a, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x69, 0x6e, 0x74,
+ 0x65, 0x72, 0x76, 0x61, 0x6c, 0x5f, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x74, 0x69,
+ 0x6d, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
+ 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x17, 0x6c, 0x61, 0x73, 0x74,
+ 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x54,
+ 0x69, 0x6d, 0x65, 0x12, 0x3a, 0x0a, 0x10, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x68, 0x61, 0x6e, 0x64,
+ 0x6c, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52,
- 0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x34, 0x0a, 0x16, 0x74, 0x72,
- 0x61, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x68, 0x61,
- 0x73, 0x68, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x14, 0x74, 0x72, 0x61, 0x69,
- 0x6c, 0x69, 0x6e, 0x67, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x48, 0x61, 0x73, 0x68, 0x65, 0x73,
- 0x12, 0x32, 0x0a, 0x15, 0x74, 0x72, 0x61, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x5f, 0x62, 0x6c, 0x6f,
- 0x63, 0x6b, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52,
- 0x13, 0x74, 0x72, 0x61, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x61,
- 0x73, 0x68, 0x65, 0x73, 0x12, 0x2f, 0x0a, 0x14, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x74, 0x72,
- 0x65, 0x65, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x05, 0x20, 0x01,
- 0x28, 0x0c, 0x52, 0x11, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x54, 0x72, 0x65, 0x65, 0x52, 0x6f, 0x6f,
- 0x74, 0x48, 0x61, 0x73, 0x68, 0x12, 0x38, 0x0a, 0x19, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x6f,
- 0x66, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x68, 0x61,
- 0x73, 0x68, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x15, 0x73, 0x74, 0x61, 0x72, 0x74, 0x4f,
- 0x66, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x61, 0x73, 0x68, 0x12,
- 0x3b, 0x0a, 0x1a, 0x6e, 0x75, 0x6d, 0x5f, 0x70, 0x72, 0x65, 0x63, 0x65, 0x64, 0x69, 0x6e, 0x67,
- 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x07, 0x20,
- 0x01, 0x28, 0x0d, 0x52, 0x17, 0x6e, 0x75, 0x6d, 0x50, 0x72, 0x65, 0x63, 0x65, 0x64, 0x69, 0x6e,
- 0x67, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x12, 0x52, 0x0a, 0x26,
- 0x72, 0x69, 0x67, 0x68, 0x74, 0x6d, 0x6f, 0x73, 0x74, 0x5f, 0x70, 0x72, 0x65, 0x63, 0x65, 0x64,
- 0x69, 0x6e, 0x67, 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x74, 0x72, 0x65, 0x65, 0x5f,
- 0x68, 0x61, 0x73, 0x68, 0x65, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x22, 0x72, 0x69,
- 0x67, 0x68, 0x74, 0x6d, 0x6f, 0x73, 0x74, 0x50, 0x72, 0x65, 0x63, 0x65, 0x64, 0x69, 0x6e, 0x67,
- 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x54, 0x72, 0x65, 0x65, 0x48, 0x61, 0x73, 0x68, 0x65, 0x73,
- 0x12, 0x36, 0x0a, 0x0e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69,
- 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0c, 0x62, 0x6c, 0x6f, 0x63,
- 0x6b, 0x45, 0x6e, 0x64, 0x54, 0x69, 0x6d, 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,
+ 0x0e, 0x6c, 0x61, 0x73, 0x74, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x54, 0x69, 0x6d, 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 (
@@ -269,18 +336,22 @@ func file_block_stream_info_proto_rawDescGZIP() []byte {
}
var file_block_stream_info_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
-var file_block_stream_info_proto_goTypes = []interface{}{
+var file_block_stream_info_proto_goTypes = []any{
(*BlockStreamInfo)(nil), // 0: com.hedera.hapi.node.state.blockstream.BlockStreamInfo
(*Timestamp)(nil), // 1: proto.Timestamp
+ (*SemanticVersion)(nil), // 2: proto.SemanticVersion
}
var file_block_stream_info_proto_depIdxs = []int32{
1, // 0: com.hedera.hapi.node.state.blockstream.BlockStreamInfo.block_time:type_name -> proto.Timestamp
1, // 1: com.hedera.hapi.node.state.blockstream.BlockStreamInfo.block_end_time:type_name -> proto.Timestamp
- 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
+ 2, // 2: com.hedera.hapi.node.state.blockstream.BlockStreamInfo.creation_software_version:type_name -> proto.SemanticVersion
+ 1, // 3: com.hedera.hapi.node.state.blockstream.BlockStreamInfo.last_interval_process_time:type_name -> proto.Timestamp
+ 1, // 4: com.hedera.hapi.node.state.blockstream.BlockStreamInfo.last_handle_time:type_name -> proto.Timestamp
+ 5, // [5:5] is the sub-list for method output_type
+ 5, // [5:5] is the sub-list for method input_type
+ 5, // [5:5] is the sub-list for extension type_name
+ 5, // [5:5] is the sub-list for extension extendee
+ 0, // [0:5] is the sub-list for field type_name
}
func init() { file_block_stream_info_proto_init() }
@@ -289,20 +360,7 @@ func file_block_stream_info_proto_init() {
return
}
file_timestamp_proto_init()
- if !protoimpl.UnsafeEnabled {
- file_block_stream_info_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*BlockStreamInfo); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
+ file_basic_types_proto_init()
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
diff --git a/proto/services/bytecode.pb.go b/proto/services/bytecode.pb.go
index 72eb1943..d11e9fe4 100644
--- a/proto/services/bytecode.pb.go
+++ b/proto/services/bytecode.pb.go
@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
-// protoc-gen-go v1.32.0
+// protoc-gen-go v1.35.2
// protoc v4.25.3
// source: bytecode.proto
@@ -34,11 +34,9 @@ type Bytecode struct {
func (x *Bytecode) Reset() {
*x = Bytecode{}
- if protoimpl.UnsafeEnabled {
- mi := &file_bytecode_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_bytecode_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *Bytecode) String() string {
@@ -49,7 +47,7 @@ func (*Bytecode) ProtoMessage() {}
func (x *Bytecode) ProtoReflect() protoreflect.Message {
mi := &file_bytecode_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -96,7 +94,7 @@ func file_bytecode_proto_rawDescGZIP() []byte {
}
var file_bytecode_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
-var file_bytecode_proto_goTypes = []interface{}{
+var file_bytecode_proto_goTypes = []any{
(*Bytecode)(nil), // 0: proto.Bytecode
}
var file_bytecode_proto_depIdxs = []int32{
@@ -112,20 +110,6 @@ func file_bytecode_proto_init() {
if File_bytecode_proto != nil {
return
}
- if !protoimpl.UnsafeEnabled {
- file_bytecode_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Bytecode); 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{
diff --git a/proto/services/common.pb.go b/proto/services/common.pb.go
index 1538cc1f..97f17deb 100644
--- a/proto/services/common.pb.go
+++ b/proto/services/common.pb.go
@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
-// protoc-gen-go v1.32.0
+// protoc-gen-go v1.35.2
// protoc v4.25.3
// source: common.proto
@@ -32,11 +32,9 @@ type EntityNumber struct {
func (x *EntityNumber) Reset() {
*x = EntityNumber{}
- if protoimpl.UnsafeEnabled {
- mi := &file_common_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_common_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *EntityNumber) String() string {
@@ -47,7 +45,7 @@ func (*EntityNumber) ProtoMessage() {}
func (x *EntityNumber) ProtoReflect() protoreflect.Message {
mi := &file_common_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -82,11 +80,9 @@ type EntityIDPair struct {
func (x *EntityIDPair) Reset() {
*x = EntityIDPair{}
- if protoimpl.UnsafeEnabled {
- mi := &file_common_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_common_proto_msgTypes[1]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *EntityIDPair) String() string {
@@ -97,7 +93,7 @@ func (*EntityIDPair) ProtoMessage() {}
func (x *EntityIDPair) ProtoReflect() protoreflect.Message {
mi := &file_common_proto_msgTypes[1]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -159,7 +155,7 @@ func file_common_proto_rawDescGZIP() []byte {
}
var file_common_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
-var file_common_proto_goTypes = []interface{}{
+var file_common_proto_goTypes = []any{
(*EntityNumber)(nil), // 0: proto.EntityNumber
(*EntityIDPair)(nil), // 1: proto.EntityIDPair
(*AccountID)(nil), // 2: proto.AccountID
@@ -181,32 +177,6 @@ func file_common_proto_init() {
return
}
file_basic_types_proto_init()
- if !protoimpl.UnsafeEnabled {
- file_common_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*EntityNumber); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_common_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*EntityIDPair); 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{
diff --git a/proto/services/congestion_level_starts.pb.go b/proto/services/congestion_level_starts.pb.go
index bd44bc13..a325cf6b 100644
--- a/proto/services/congestion_level_starts.pb.go
+++ b/proto/services/congestion_level_starts.pb.go
@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
-// protoc-gen-go v1.32.0
+// protoc-gen-go v1.35.2
// protoc v4.25.3
// source: congestion_level_starts.proto
@@ -35,11 +35,9 @@ type CongestionLevelStarts struct {
func (x *CongestionLevelStarts) Reset() {
*x = CongestionLevelStarts{}
- if protoimpl.UnsafeEnabled {
- mi := &file_congestion_level_starts_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_congestion_level_starts_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *CongestionLevelStarts) String() string {
@@ -50,7 +48,7 @@ func (*CongestionLevelStarts) ProtoMessage() {}
func (x *CongestionLevelStarts) ProtoReflect() protoreflect.Message {
mi := &file_congestion_level_starts_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -114,7 +112,7 @@ func file_congestion_level_starts_proto_rawDescGZIP() []byte {
}
var file_congestion_level_starts_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
-var file_congestion_level_starts_proto_goTypes = []interface{}{
+var file_congestion_level_starts_proto_goTypes = []any{
(*CongestionLevelStarts)(nil), // 0: proto.CongestionLevelStarts
(*Timestamp)(nil), // 1: proto.Timestamp
}
@@ -134,20 +132,6 @@ func file_congestion_level_starts_proto_init() {
return
}
file_timestamp_proto_init()
- if !protoimpl.UnsafeEnabled {
- file_congestion_level_starts_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*CongestionLevelStarts); 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{
diff --git a/proto/services/consensus_create_topic.pb.go b/proto/services/consensus_create_topic.pb.go
index ca476e79..45e46c4e 100644
--- a/proto/services/consensus_create_topic.pb.go
+++ b/proto/services/consensus_create_topic.pb.go
@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
-// protoc-gen-go v1.32.0
+// protoc-gen-go v1.35.2
// protoc v4.25.3
// source: consensus_create_topic.proto
@@ -59,11 +59,9 @@ type ConsensusCreateTopicTransactionBody struct {
func (x *ConsensusCreateTopicTransactionBody) Reset() {
*x = ConsensusCreateTopicTransactionBody{}
- if protoimpl.UnsafeEnabled {
- mi := &file_consensus_create_topic_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_consensus_create_topic_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *ConsensusCreateTopicTransactionBody) String() string {
@@ -74,7 +72,7 @@ func (*ConsensusCreateTopicTransactionBody) ProtoMessage() {}
func (x *ConsensusCreateTopicTransactionBody) ProtoReflect() protoreflect.Message {
mi := &file_consensus_create_topic_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -166,7 +164,7 @@ func file_consensus_create_topic_proto_rawDescGZIP() []byte {
}
var file_consensus_create_topic_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
-var file_consensus_create_topic_proto_goTypes = []interface{}{
+var file_consensus_create_topic_proto_goTypes = []any{
(*ConsensusCreateTopicTransactionBody)(nil), // 0: proto.ConsensusCreateTopicTransactionBody
(*Key)(nil), // 1: proto.Key
(*Duration)(nil), // 2: proto.Duration
@@ -191,20 +189,6 @@ func file_consensus_create_topic_proto_init() {
}
file_basic_types_proto_init()
file_duration_proto_init()
- if !protoimpl.UnsafeEnabled {
- file_consensus_create_topic_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ConsensusCreateTopicTransactionBody); 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{
diff --git a/proto/services/consensus_delete_topic.pb.go b/proto/services/consensus_delete_topic.pb.go
index 4826a407..28e6424d 100644
--- a/proto/services/consensus_delete_topic.pb.go
+++ b/proto/services/consensus_delete_topic.pb.go
@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
-// protoc-gen-go v1.32.0
+// protoc-gen-go v1.35.2
// protoc v4.25.3
// source: consensus_delete_topic.proto
@@ -34,11 +34,9 @@ type ConsensusDeleteTopicTransactionBody struct {
func (x *ConsensusDeleteTopicTransactionBody) Reset() {
*x = ConsensusDeleteTopicTransactionBody{}
- if protoimpl.UnsafeEnabled {
- mi := &file_consensus_delete_topic_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_consensus_delete_topic_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *ConsensusDeleteTopicTransactionBody) String() string {
@@ -49,7 +47,7 @@ func (*ConsensusDeleteTopicTransactionBody) ProtoMessage() {}
func (x *ConsensusDeleteTopicTransactionBody) ProtoReflect() protoreflect.Message {
mi := &file_consensus_delete_topic_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -101,7 +99,7 @@ func file_consensus_delete_topic_proto_rawDescGZIP() []byte {
}
var file_consensus_delete_topic_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
-var file_consensus_delete_topic_proto_goTypes = []interface{}{
+var file_consensus_delete_topic_proto_goTypes = []any{
(*ConsensusDeleteTopicTransactionBody)(nil), // 0: proto.ConsensusDeleteTopicTransactionBody
(*TopicID)(nil), // 1: proto.TopicID
}
@@ -120,20 +118,6 @@ func file_consensus_delete_topic_proto_init() {
return
}
file_basic_types_proto_init()
- if !protoimpl.UnsafeEnabled {
- file_consensus_delete_topic_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ConsensusDeleteTopicTransactionBody); 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{
diff --git a/proto/services/consensus_get_topic_info.pb.go b/proto/services/consensus_get_topic_info.pb.go
index 64e6af9b..2a14c834 100644
--- a/proto/services/consensus_get_topic_info.pb.go
+++ b/proto/services/consensus_get_topic_info.pb.go
@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
-// protoc-gen-go v1.32.0
+// protoc-gen-go v1.35.2
// protoc v4.25.3
// source: consensus_get_topic_info.proto
@@ -38,11 +38,9 @@ type ConsensusGetTopicInfoQuery struct {
func (x *ConsensusGetTopicInfoQuery) Reset() {
*x = ConsensusGetTopicInfoQuery{}
- if protoimpl.UnsafeEnabled {
- mi := &file_consensus_get_topic_info_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_consensus_get_topic_info_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *ConsensusGetTopicInfoQuery) String() string {
@@ -53,7 +51,7 @@ func (*ConsensusGetTopicInfoQuery) ProtoMessage() {}
func (x *ConsensusGetTopicInfoQuery) ProtoReflect() protoreflect.Message {
mi := &file_consensus_get_topic_info_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -102,11 +100,9 @@ type ConsensusGetTopicInfoResponse struct {
func (x *ConsensusGetTopicInfoResponse) Reset() {
*x = ConsensusGetTopicInfoResponse{}
- if protoimpl.UnsafeEnabled {
- mi := &file_consensus_get_topic_info_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_consensus_get_topic_info_proto_msgTypes[1]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *ConsensusGetTopicInfoResponse) String() string {
@@ -117,7 +113,7 @@ func (*ConsensusGetTopicInfoResponse) ProtoMessage() {}
func (x *ConsensusGetTopicInfoResponse) ProtoReflect() protoreflect.Message {
mi := &file_consensus_get_topic_info_proto_msgTypes[1]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -201,7 +197,7 @@ func file_consensus_get_topic_info_proto_rawDescGZIP() []byte {
}
var file_consensus_get_topic_info_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
-var file_consensus_get_topic_info_proto_goTypes = []interface{}{
+var file_consensus_get_topic_info_proto_goTypes = []any{
(*ConsensusGetTopicInfoQuery)(nil), // 0: proto.ConsensusGetTopicInfoQuery
(*ConsensusGetTopicInfoResponse)(nil), // 1: proto.ConsensusGetTopicInfoResponse
(*QueryHeader)(nil), // 2: proto.QueryHeader
@@ -231,32 +227,6 @@ func file_consensus_get_topic_info_proto_init() {
file_query_header_proto_init()
file_response_header_proto_init()
file_consensus_topic_info_proto_init()
- if !protoimpl.UnsafeEnabled {
- file_consensus_get_topic_info_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ConsensusGetTopicInfoQuery); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_consensus_get_topic_info_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ConsensusGetTopicInfoResponse); 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{
diff --git a/proto/services/consensus_service.pb.go b/proto/services/consensus_service.pb.go
index 5ed9c9e4..5743b09e 100644
--- a/proto/services/consensus_service.pb.go
+++ b/proto/services/consensus_service.pb.go
@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
-// protoc-gen-go v1.32.0
+// protoc-gen-go v1.35.2
// protoc v4.25.3
// source: consensus_service.proto
@@ -54,7 +54,7 @@ var file_consensus_service_proto_rawDesc = []byte{
0x6f, 0x74, 0x6f, 0x2e, 0x6a, 0x61, 0x76, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
-var file_consensus_service_proto_goTypes = []interface{}{
+var file_consensus_service_proto_goTypes = []any{
(*Transaction)(nil), // 0: proto.Transaction
(*Query)(nil), // 1: proto.Query
(*TransactionResponse)(nil), // 2: proto.TransactionResponse
diff --git a/proto/services/consensus_service_grpc.pb.go b/proto/services/consensus_service_grpc.pb.go
index d42235ee..cee567b6 100644
--- a/proto/services/consensus_service_grpc.pb.go
+++ b/proto/services/consensus_service_grpc.pb.go
@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
// versions:
-// - protoc-gen-go-grpc v1.2.0
+// - protoc-gen-go-grpc v1.5.1
// - protoc v4.25.3
// source: consensus_service.proto
@@ -15,12 +15,64 @@ import (
// 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
+// Requires gRPC-Go v1.64.0 or later.
+const _ = grpc.SupportPackageIsVersion9
+
+const (
+ ConsensusService_CreateTopic_FullMethodName = "/proto.ConsensusService/createTopic"
+ ConsensusService_UpdateTopic_FullMethodName = "/proto.ConsensusService/updateTopic"
+ ConsensusService_DeleteTopic_FullMethodName = "/proto.ConsensusService/deleteTopic"
+ ConsensusService_GetTopicInfo_FullMethodName = "/proto.ConsensusService/getTopicInfo"
+ ConsensusService_SubmitMessage_FullMethodName = "/proto.ConsensusService/submitMessage"
+)
// ConsensusServiceClient is the client API for ConsensusService 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.
+//
+// *
+// The Consensus Service provides the ability for Hedera Hashgraph to provide aBFT consensus as to
+// the order and validity of messages submitted to a *topic*, as well as a *consensus timestamp* for
+// those messages.
+//
+// Automatic renewal can be configured via an autoRenewAccount.
+// Any time an autoRenewAccount is added to a topic, that createTopic/updateTopic transaction must
+// be signed by the autoRenewAccount.
+//
+// The autoRenewPeriod on an account must currently be set a value in createTopic between
+// MIN_AUTORENEW_PERIOD (6999999 seconds) and MAX_AUTORENEW_PERIOD (8000001 seconds). During
+// creation this sets the initial expirationTime of the topic (see more below).
+//
+// If no adminKey is on a topic, there may not be an autoRenewAccount on the topic, deleteTopic is
+// not allowed, and the only change allowed via an updateTopic is to extend the expirationTime.
+//
+// If an adminKey is on a topic, every updateTopic and deleteTopic transaction must be signed by the
+// adminKey, except for updateTopics which only extend the topic's expirationTime (no adminKey
+// authorization required).
+//
+// If an updateTopic modifies the adminKey of a topic, the transaction signatures on the updateTopic
+// must fulfill both the pre-update and post-update adminKey signature requirements.
+//
+// Mirrornet ConsensusService may be used to subscribe to changes on the topic, including changes to
+// the topic definition and the consensus ordering and timestamp of submitted messages.
+//
+// Until autoRenew functionality is supported by HAPI, the topic will not expire, the
+// autoRenewAccount will not be charged, and the topic will not automatically be deleted.
+//
+// Once autoRenew functionality is supported by HAPI:
+//
+// 1. Once the expirationTime is encountered, if an autoRenewAccount is configured on the topic, the
+// account will be charged automatically at the expirationTime, to extend the expirationTime of the
+// topic up to the topic's autoRenewPeriod (or as much extension as the account's balance will
+// supply).
+//
+// 2. If the topic expires and is not automatically renewed, the topic will enter the EXPIRED state.
+// All transactions on the topic will fail with TOPIC_EXPIRED, except an updateTopic() call that
+// modifies only the expirationTime. getTopicInfo() will succeed. This state will be available for
+// a AUTORENEW_GRACE_PERIOD grace period (7 days).
+//
+// 3. After the grace period, if the topic's expirationTime is not extended, the topic will be
+// automatically deleted and no transactions or queries on the topic will succeed after that point.
type ConsensusServiceClient interface {
// *
// Create a topic to be used for consensus.
@@ -69,8 +121,9 @@ func NewConsensusServiceClient(cc grpc.ClientConnInterface) ConsensusServiceClie
}
func (c *consensusServiceClient) CreateTopic(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error) {
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(TransactionResponse)
- err := c.cc.Invoke(ctx, "/proto.ConsensusService/createTopic", in, out, opts...)
+ err := c.cc.Invoke(ctx, ConsensusService_CreateTopic_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
@@ -78,8 +131,9 @@ func (c *consensusServiceClient) CreateTopic(ctx context.Context, in *Transactio
}
func (c *consensusServiceClient) UpdateTopic(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error) {
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(TransactionResponse)
- err := c.cc.Invoke(ctx, "/proto.ConsensusService/updateTopic", in, out, opts...)
+ err := c.cc.Invoke(ctx, ConsensusService_UpdateTopic_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
@@ -87,8 +141,9 @@ func (c *consensusServiceClient) UpdateTopic(ctx context.Context, in *Transactio
}
func (c *consensusServiceClient) DeleteTopic(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error) {
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(TransactionResponse)
- err := c.cc.Invoke(ctx, "/proto.ConsensusService/deleteTopic", in, out, opts...)
+ err := c.cc.Invoke(ctx, ConsensusService_DeleteTopic_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
@@ -96,8 +151,9 @@ func (c *consensusServiceClient) DeleteTopic(ctx context.Context, in *Transactio
}
func (c *consensusServiceClient) GetTopicInfo(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Response, error) {
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(Response)
- err := c.cc.Invoke(ctx, "/proto.ConsensusService/getTopicInfo", in, out, opts...)
+ err := c.cc.Invoke(ctx, ConsensusService_GetTopicInfo_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
@@ -105,8 +161,9 @@ func (c *consensusServiceClient) GetTopicInfo(ctx context.Context, in *Query, op
}
func (c *consensusServiceClient) SubmitMessage(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error) {
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(TransactionResponse)
- err := c.cc.Invoke(ctx, "/proto.ConsensusService/submitMessage", in, out, opts...)
+ err := c.cc.Invoke(ctx, ConsensusService_SubmitMessage_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
@@ -115,7 +172,51 @@ func (c *consensusServiceClient) SubmitMessage(ctx context.Context, in *Transact
// ConsensusServiceServer is the server API for ConsensusService service.
// All implementations must embed UnimplementedConsensusServiceServer
-// for forward compatibility
+// for forward compatibility.
+//
+// *
+// The Consensus Service provides the ability for Hedera Hashgraph to provide aBFT consensus as to
+// the order and validity of messages submitted to a *topic*, as well as a *consensus timestamp* for
+// those messages.
+//
+// Automatic renewal can be configured via an autoRenewAccount.
+// Any time an autoRenewAccount is added to a topic, that createTopic/updateTopic transaction must
+// be signed by the autoRenewAccount.
+//
+// The autoRenewPeriod on an account must currently be set a value in createTopic between
+// MIN_AUTORENEW_PERIOD (6999999 seconds) and MAX_AUTORENEW_PERIOD (8000001 seconds). During
+// creation this sets the initial expirationTime of the topic (see more below).
+//
+// If no adminKey is on a topic, there may not be an autoRenewAccount on the topic, deleteTopic is
+// not allowed, and the only change allowed via an updateTopic is to extend the expirationTime.
+//
+// If an adminKey is on a topic, every updateTopic and deleteTopic transaction must be signed by the
+// adminKey, except for updateTopics which only extend the topic's expirationTime (no adminKey
+// authorization required).
+//
+// If an updateTopic modifies the adminKey of a topic, the transaction signatures on the updateTopic
+// must fulfill both the pre-update and post-update adminKey signature requirements.
+//
+// Mirrornet ConsensusService may be used to subscribe to changes on the topic, including changes to
+// the topic definition and the consensus ordering and timestamp of submitted messages.
+//
+// Until autoRenew functionality is supported by HAPI, the topic will not expire, the
+// autoRenewAccount will not be charged, and the topic will not automatically be deleted.
+//
+// Once autoRenew functionality is supported by HAPI:
+//
+// 1. Once the expirationTime is encountered, if an autoRenewAccount is configured on the topic, the
+// account will be charged automatically at the expirationTime, to extend the expirationTime of the
+// topic up to the topic's autoRenewPeriod (or as much extension as the account's balance will
+// supply).
+//
+// 2. If the topic expires and is not automatically renewed, the topic will enter the EXPIRED state.
+// All transactions on the topic will fail with TOPIC_EXPIRED, except an updateTopic() call that
+// modifies only the expirationTime. getTopicInfo() will succeed. This state will be available for
+// a AUTORENEW_GRACE_PERIOD grace period (7 days).
+//
+// 3. After the grace period, if the topic's expirationTime is not extended, the topic will be
+// automatically deleted and no transactions or queries on the topic will succeed after that point.
type ConsensusServiceServer interface {
// *
// Create a topic to be used for consensus.
@@ -156,9 +257,12 @@ type ConsensusServiceServer interface {
mustEmbedUnimplementedConsensusServiceServer()
}
-// UnimplementedConsensusServiceServer must be embedded to have forward compatible implementations.
-type UnimplementedConsensusServiceServer struct {
-}
+// UnimplementedConsensusServiceServer must be embedded to have
+// forward compatible implementations.
+//
+// NOTE: this should be embedded by value instead of pointer to avoid a nil
+// pointer dereference when methods are called.
+type UnimplementedConsensusServiceServer struct{}
func (UnimplementedConsensusServiceServer) CreateTopic(context.Context, *Transaction) (*TransactionResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method CreateTopic not implemented")
@@ -176,6 +280,7 @@ func (UnimplementedConsensusServiceServer) SubmitMessage(context.Context, *Trans
return nil, status.Errorf(codes.Unimplemented, "method SubmitMessage not implemented")
}
func (UnimplementedConsensusServiceServer) mustEmbedUnimplementedConsensusServiceServer() {}
+func (UnimplementedConsensusServiceServer) testEmbeddedByValue() {}
// UnsafeConsensusServiceServer may be embedded to opt out of forward compatibility for this service.
// Use of this interface is not recommended, as added methods to ConsensusServiceServer will
@@ -185,6 +290,13 @@ type UnsafeConsensusServiceServer interface {
}
func RegisterConsensusServiceServer(s grpc.ServiceRegistrar, srv ConsensusServiceServer) {
+ // If the following call pancis, it indicates UnimplementedConsensusServiceServer was
+ // embedded by pointer and is nil. This will cause panics if an
+ // unimplemented method is ever invoked, so we test this at initialization
+ // time to prevent it from happening at runtime later due to I/O.
+ if t, ok := srv.(interface{ testEmbeddedByValue() }); ok {
+ t.testEmbeddedByValue()
+ }
s.RegisterService(&ConsensusService_ServiceDesc, srv)
}
@@ -198,7 +310,7 @@ func _ConsensusService_CreateTopic_Handler(srv interface{}, ctx context.Context,
}
info := &grpc.UnaryServerInfo{
Server: srv,
- FullMethod: "/proto.ConsensusService/createTopic",
+ FullMethod: ConsensusService_CreateTopic_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ConsensusServiceServer).CreateTopic(ctx, req.(*Transaction))
@@ -216,7 +328,7 @@ func _ConsensusService_UpdateTopic_Handler(srv interface{}, ctx context.Context,
}
info := &grpc.UnaryServerInfo{
Server: srv,
- FullMethod: "/proto.ConsensusService/updateTopic",
+ FullMethod: ConsensusService_UpdateTopic_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ConsensusServiceServer).UpdateTopic(ctx, req.(*Transaction))
@@ -234,7 +346,7 @@ func _ConsensusService_DeleteTopic_Handler(srv interface{}, ctx context.Context,
}
info := &grpc.UnaryServerInfo{
Server: srv,
- FullMethod: "/proto.ConsensusService/deleteTopic",
+ FullMethod: ConsensusService_DeleteTopic_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ConsensusServiceServer).DeleteTopic(ctx, req.(*Transaction))
@@ -252,7 +364,7 @@ func _ConsensusService_GetTopicInfo_Handler(srv interface{}, ctx context.Context
}
info := &grpc.UnaryServerInfo{
Server: srv,
- FullMethod: "/proto.ConsensusService/getTopicInfo",
+ FullMethod: ConsensusService_GetTopicInfo_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ConsensusServiceServer).GetTopicInfo(ctx, req.(*Query))
@@ -270,7 +382,7 @@ func _ConsensusService_SubmitMessage_Handler(srv interface{}, ctx context.Contex
}
info := &grpc.UnaryServerInfo{
Server: srv,
- FullMethod: "/proto.ConsensusService/submitMessage",
+ FullMethod: ConsensusService_SubmitMessage_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ConsensusServiceServer).SubmitMessage(ctx, req.(*Transaction))
diff --git a/proto/services/consensus_submit_message.pb.go b/proto/services/consensus_submit_message.pb.go
index 47697203..ed3448c7 100644
--- a/proto/services/consensus_submit_message.pb.go
+++ b/proto/services/consensus_submit_message.pb.go
@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
-// protoc-gen-go v1.32.0
+// protoc-gen-go v1.35.2
// protoc v4.25.3
// source: consensus_submit_message.proto
@@ -40,11 +40,9 @@ type ConsensusMessageChunkInfo struct {
func (x *ConsensusMessageChunkInfo) Reset() {
*x = ConsensusMessageChunkInfo{}
- if protoimpl.UnsafeEnabled {
- mi := &file_consensus_submit_message_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_consensus_submit_message_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *ConsensusMessageChunkInfo) String() string {
@@ -55,7 +53,7 @@ func (*ConsensusMessageChunkInfo) ProtoMessage() {}
func (x *ConsensusMessageChunkInfo) ProtoReflect() protoreflect.Message {
mi := &file_consensus_submit_message_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -111,11 +109,9 @@ type ConsensusSubmitMessageTransactionBody struct {
func (x *ConsensusSubmitMessageTransactionBody) Reset() {
*x = ConsensusSubmitMessageTransactionBody{}
- if protoimpl.UnsafeEnabled {
- mi := &file_consensus_submit_message_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_consensus_submit_message_proto_msgTypes[1]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *ConsensusSubmitMessageTransactionBody) String() string {
@@ -126,7 +122,7 @@ func (*ConsensusSubmitMessageTransactionBody) ProtoMessage() {}
func (x *ConsensusSubmitMessageTransactionBody) ProtoReflect() protoreflect.Message {
mi := &file_consensus_submit_message_proto_msgTypes[1]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -207,7 +203,7 @@ func file_consensus_submit_message_proto_rawDescGZIP() []byte {
}
var file_consensus_submit_message_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
-var file_consensus_submit_message_proto_goTypes = []interface{}{
+var file_consensus_submit_message_proto_goTypes = []any{
(*ConsensusMessageChunkInfo)(nil), // 0: proto.ConsensusMessageChunkInfo
(*ConsensusSubmitMessageTransactionBody)(nil), // 1: proto.ConsensusSubmitMessageTransactionBody
(*TransactionID)(nil), // 2: proto.TransactionID
@@ -230,32 +226,6 @@ func file_consensus_submit_message_proto_init() {
return
}
file_basic_types_proto_init()
- if !protoimpl.UnsafeEnabled {
- file_consensus_submit_message_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ConsensusMessageChunkInfo); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_consensus_submit_message_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ConsensusSubmitMessageTransactionBody); 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{
diff --git a/proto/services/consensus_topic_info.pb.go b/proto/services/consensus_topic_info.pb.go
index 3bfb0423..e08ad395 100644
--- a/proto/services/consensus_topic_info.pb.go
+++ b/proto/services/consensus_topic_info.pb.go
@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
-// protoc-gen-go v1.32.0
+// protoc-gen-go v1.35.2
// protoc v4.25.3
// source: consensus_topic_info.proto
@@ -66,11 +66,9 @@ type ConsensusTopicInfo struct {
func (x *ConsensusTopicInfo) Reset() {
*x = ConsensusTopicInfo{}
- if protoimpl.UnsafeEnabled {
- mi := &file_consensus_topic_info_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_consensus_topic_info_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *ConsensusTopicInfo) String() string {
@@ -81,7 +79,7 @@ func (*ConsensusTopicInfo) ProtoMessage() {}
func (x *ConsensusTopicInfo) ProtoReflect() protoreflect.Message {
mi := &file_consensus_topic_info_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -211,7 +209,7 @@ func file_consensus_topic_info_proto_rawDescGZIP() []byte {
}
var file_consensus_topic_info_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
-var file_consensus_topic_info_proto_goTypes = []interface{}{
+var file_consensus_topic_info_proto_goTypes = []any{
(*ConsensusTopicInfo)(nil), // 0: proto.ConsensusTopicInfo
(*Timestamp)(nil), // 1: proto.Timestamp
(*Key)(nil), // 2: proto.Key
@@ -239,20 +237,6 @@ func file_consensus_topic_info_proto_init() {
file_basic_types_proto_init()
file_duration_proto_init()
file_timestamp_proto_init()
- if !protoimpl.UnsafeEnabled {
- file_consensus_topic_info_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ConsensusTopicInfo); 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{
diff --git a/proto/services/consensus_update_topic.pb.go b/proto/services/consensus_update_topic.pb.go
index 54d70ed3..eef23182 100644
--- a/proto/services/consensus_update_topic.pb.go
+++ b/proto/services/consensus_update_topic.pb.go
@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
-// protoc-gen-go v1.32.0
+// protoc-gen-go v1.35.2
// protoc v4.25.3
// source: consensus_update_topic.proto
@@ -70,11 +70,9 @@ type ConsensusUpdateTopicTransactionBody struct {
func (x *ConsensusUpdateTopicTransactionBody) Reset() {
*x = ConsensusUpdateTopicTransactionBody{}
- if protoimpl.UnsafeEnabled {
- mi := &file_consensus_update_topic_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_consensus_update_topic_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *ConsensusUpdateTopicTransactionBody) String() string {
@@ -85,7 +83,7 @@ func (*ConsensusUpdateTopicTransactionBody) ProtoMessage() {}
func (x *ConsensusUpdateTopicTransactionBody) ProtoReflect() protoreflect.Message {
mi := &file_consensus_update_topic_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -203,7 +201,7 @@ func file_consensus_update_topic_proto_rawDescGZIP() []byte {
}
var file_consensus_update_topic_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
-var file_consensus_update_topic_proto_goTypes = []interface{}{
+var file_consensus_update_topic_proto_goTypes = []any{
(*ConsensusUpdateTopicTransactionBody)(nil), // 0: proto.ConsensusUpdateTopicTransactionBody
(*TopicID)(nil), // 1: proto.TopicID
(*wrapperspb.StringValue)(nil), // 2: google.protobuf.StringValue
@@ -235,20 +233,6 @@ func file_consensus_update_topic_proto_init() {
file_basic_types_proto_init()
file_duration_proto_init()
file_timestamp_proto_init()
- if !protoimpl.UnsafeEnabled {
- file_consensus_update_topic_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ConsensusUpdateTopicTransactionBody); 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{
diff --git a/proto/services/contract_call.pb.go b/proto/services/contract_call.pb.go
index e444c1cd..0ba3b861 100644
--- a/proto/services/contract_call.pb.go
+++ b/proto/services/contract_call.pb.go
@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
-// protoc-gen-go v1.32.0
+// protoc-gen-go v1.35.2
// protoc v4.25.3
// source: contract_call.proto
@@ -52,11 +52,9 @@ type ContractCallTransactionBody struct {
func (x *ContractCallTransactionBody) Reset() {
*x = ContractCallTransactionBody{}
- if protoimpl.UnsafeEnabled {
- mi := &file_contract_call_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_contract_call_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *ContractCallTransactionBody) String() string {
@@ -67,7 +65,7 @@ func (*ContractCallTransactionBody) ProtoMessage() {}
func (x *ContractCallTransactionBody) ProtoReflect() protoreflect.Message {
mi := &file_contract_call_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -145,7 +143,7 @@ func file_contract_call_proto_rawDescGZIP() []byte {
}
var file_contract_call_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
-var file_contract_call_proto_goTypes = []interface{}{
+var file_contract_call_proto_goTypes = []any{
(*ContractCallTransactionBody)(nil), // 0: proto.ContractCallTransactionBody
(*ContractID)(nil), // 1: proto.ContractID
}
@@ -164,20 +162,6 @@ func file_contract_call_proto_init() {
return
}
file_basic_types_proto_init()
- if !protoimpl.UnsafeEnabled {
- file_contract_call_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ContractCallTransactionBody); 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{
diff --git a/proto/services/contract_call_local.pb.go b/proto/services/contract_call_local.pb.go
index 82d1416b..f2cb2411 100644
--- a/proto/services/contract_call_local.pb.go
+++ b/proto/services/contract_call_local.pb.go
@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
-// protoc-gen-go v1.32.0
+// protoc-gen-go v1.35.2
// protoc v4.25.3
// source: contract_call_local.proto
@@ -45,11 +45,9 @@ type ContractLoginfo struct {
func (x *ContractLoginfo) Reset() {
*x = ContractLoginfo{}
- if protoimpl.UnsafeEnabled {
- mi := &file_contract_call_local_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_contract_call_local_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *ContractLoginfo) String() string {
@@ -60,7 +58,7 @@ func (*ContractLoginfo) ProtoMessage() {}
func (x *ContractLoginfo) ProtoReflect() protoreflect.Message {
mi := &file_contract_call_local_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -200,11 +198,9 @@ type ContractFunctionResult struct {
func (x *ContractFunctionResult) Reset() {
*x = ContractFunctionResult{}
- if protoimpl.UnsafeEnabled {
- mi := &file_contract_call_local_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_contract_call_local_proto_msgTypes[1]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *ContractFunctionResult) String() string {
@@ -215,7 +211,7 @@ func (*ContractFunctionResult) ProtoMessage() {}
func (x *ContractFunctionResult) ProtoReflect() protoreflect.Message {
mi := &file_contract_call_local_proto_msgTypes[1]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -370,11 +366,9 @@ type ContractCallLocalQuery struct {
func (x *ContractCallLocalQuery) Reset() {
*x = ContractCallLocalQuery{}
- if protoimpl.UnsafeEnabled {
- mi := &file_contract_call_local_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_contract_call_local_proto_msgTypes[2]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *ContractCallLocalQuery) String() string {
@@ -385,7 +379,7 @@ func (*ContractCallLocalQuery) ProtoMessage() {}
func (x *ContractCallLocalQuery) ProtoReflect() protoreflect.Message {
mi := &file_contract_call_local_proto_msgTypes[2]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -460,11 +454,9 @@ type ContractCallLocalResponse struct {
func (x *ContractCallLocalResponse) Reset() {
*x = ContractCallLocalResponse{}
- if protoimpl.UnsafeEnabled {
- mi := &file_contract_call_local_proto_msgTypes[3]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_contract_call_local_proto_msgTypes[3]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *ContractCallLocalResponse) String() string {
@@ -475,7 +467,7 @@ func (*ContractCallLocalResponse) ProtoMessage() {}
func (x *ContractCallLocalResponse) ProtoReflect() protoreflect.Message {
mi := &file_contract_call_local_proto_msgTypes[3]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -612,7 +604,7 @@ func file_contract_call_local_proto_rawDescGZIP() []byte {
}
var file_contract_call_local_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
-var file_contract_call_local_proto_goTypes = []interface{}{
+var file_contract_call_local_proto_goTypes = []any{
(*ContractLoginfo)(nil), // 0: proto.ContractLoginfo
(*ContractFunctionResult)(nil), // 1: proto.ContractFunctionResult
(*ContractCallLocalQuery)(nil), // 2: proto.ContractCallLocalQuery
@@ -655,56 +647,6 @@ func file_contract_call_local_proto_init() {
file_query_header_proto_init()
file_response_header_proto_init()
file_contract_types_proto_init()
- if !protoimpl.UnsafeEnabled {
- file_contract_call_local_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ContractLoginfo); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_contract_call_local_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ContractFunctionResult); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_contract_call_local_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ContractCallLocalQuery); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_contract_call_local_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ContractCallLocalResponse); 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{
diff --git a/proto/services/contract_create.pb.go b/proto/services/contract_create.pb.go
index d9a55351..9824b4a0 100644
--- a/proto/services/contract_create.pb.go
+++ b/proto/services/contract_create.pb.go
@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
-// protoc-gen-go v1.32.0
+// protoc-gen-go v1.35.2
// protoc v4.25.3
// source: contract_create.proto
@@ -159,11 +159,9 @@ type ContractCreateTransactionBody struct {
func (x *ContractCreateTransactionBody) Reset() {
*x = ContractCreateTransactionBody{}
- if protoimpl.UnsafeEnabled {
- mi := &file_contract_create_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_contract_create_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *ContractCreateTransactionBody) String() string {
@@ -174,7 +172,7 @@ func (*ContractCreateTransactionBody) ProtoMessage() {}
func (x *ContractCreateTransactionBody) ProtoReflect() protoreflect.Message {
mi := &file_contract_create_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -444,7 +442,7 @@ func file_contract_create_proto_rawDescGZIP() []byte {
}
var file_contract_create_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
-var file_contract_create_proto_goTypes = []interface{}{
+var file_contract_create_proto_goTypes = []any{
(*ContractCreateTransactionBody)(nil), // 0: proto.ContractCreateTransactionBody
(*FileID)(nil), // 1: proto.FileID
(*Key)(nil), // 2: proto.Key
@@ -477,21 +475,7 @@ func file_contract_create_proto_init() {
}
file_basic_types_proto_init()
file_duration_proto_init()
- if !protoimpl.UnsafeEnabled {
- file_contract_create_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ContractCreateTransactionBody); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- file_contract_create_proto_msgTypes[0].OneofWrappers = []interface{}{
+ file_contract_create_proto_msgTypes[0].OneofWrappers = []any{
(*ContractCreateTransactionBody_FileID)(nil),
(*ContractCreateTransactionBody_Initcode)(nil),
(*ContractCreateTransactionBody_StakedAccountId)(nil),
diff --git a/proto/services/contract_delete.pb.go b/proto/services/contract_delete.pb.go
index 678cb866..b47a0df5 100644
--- a/proto/services/contract_delete.pb.go
+++ b/proto/services/contract_delete.pb.go
@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
-// protoc-gen-go v1.32.0
+// protoc-gen-go v1.35.2
// protoc v4.25.3
// source: contract_delete.proto
@@ -55,11 +55,9 @@ type ContractDeleteTransactionBody struct {
func (x *ContractDeleteTransactionBody) Reset() {
*x = ContractDeleteTransactionBody{}
- if protoimpl.UnsafeEnabled {
- mi := &file_contract_delete_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_contract_delete_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *ContractDeleteTransactionBody) String() string {
@@ -70,7 +68,7 @@ func (*ContractDeleteTransactionBody) ProtoMessage() {}
func (x *ContractDeleteTransactionBody) ProtoReflect() protoreflect.Message {
mi := &file_contract_delete_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -183,7 +181,7 @@ func file_contract_delete_proto_rawDescGZIP() []byte {
}
var file_contract_delete_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
-var file_contract_delete_proto_goTypes = []interface{}{
+var file_contract_delete_proto_goTypes = []any{
(*ContractDeleteTransactionBody)(nil), // 0: proto.ContractDeleteTransactionBody
(*ContractID)(nil), // 1: proto.ContractID
(*AccountID)(nil), // 2: proto.AccountID
@@ -205,21 +203,7 @@ func file_contract_delete_proto_init() {
return
}
file_basic_types_proto_init()
- if !protoimpl.UnsafeEnabled {
- file_contract_delete_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ContractDeleteTransactionBody); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- file_contract_delete_proto_msgTypes[0].OneofWrappers = []interface{}{
+ file_contract_delete_proto_msgTypes[0].OneofWrappers = []any{
(*ContractDeleteTransactionBody_TransferAccountID)(nil),
(*ContractDeleteTransactionBody_TransferContractID)(nil),
}
diff --git a/proto/services/contract_get_bytecode.pb.go b/proto/services/contract_get_bytecode.pb.go
index d6efc529..e4ec220e 100644
--- a/proto/services/contract_get_bytecode.pb.go
+++ b/proto/services/contract_get_bytecode.pb.go
@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
-// protoc-gen-go v1.32.0
+// protoc-gen-go v1.35.2
// protoc v4.25.3
// source: contract_get_bytecode.proto
@@ -38,11 +38,9 @@ type ContractGetBytecodeQuery struct {
func (x *ContractGetBytecodeQuery) Reset() {
*x = ContractGetBytecodeQuery{}
- if protoimpl.UnsafeEnabled {
- mi := &file_contract_get_bytecode_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_contract_get_bytecode_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *ContractGetBytecodeQuery) String() string {
@@ -53,7 +51,7 @@ func (*ContractGetBytecodeQuery) ProtoMessage() {}
func (x *ContractGetBytecodeQuery) ProtoReflect() protoreflect.Message {
mi := &file_contract_get_bytecode_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -100,11 +98,9 @@ type ContractGetBytecodeResponse struct {
func (x *ContractGetBytecodeResponse) Reset() {
*x = ContractGetBytecodeResponse{}
- if protoimpl.UnsafeEnabled {
- mi := &file_contract_get_bytecode_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_contract_get_bytecode_proto_msgTypes[1]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *ContractGetBytecodeResponse) String() string {
@@ -115,7 +111,7 @@ func (*ContractGetBytecodeResponse) ProtoMessage() {}
func (x *ContractGetBytecodeResponse) ProtoReflect() protoreflect.Message {
mi := &file_contract_get_bytecode_proto_msgTypes[1]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -186,7 +182,7 @@ func file_contract_get_bytecode_proto_rawDescGZIP() []byte {
}
var file_contract_get_bytecode_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
-var file_contract_get_bytecode_proto_goTypes = []interface{}{
+var file_contract_get_bytecode_proto_goTypes = []any{
(*ContractGetBytecodeQuery)(nil), // 0: proto.ContractGetBytecodeQuery
(*ContractGetBytecodeResponse)(nil), // 1: proto.ContractGetBytecodeResponse
(*QueryHeader)(nil), // 2: proto.QueryHeader
@@ -212,32 +208,6 @@ func file_contract_get_bytecode_proto_init() {
file_basic_types_proto_init()
file_query_header_proto_init()
file_response_header_proto_init()
- if !protoimpl.UnsafeEnabled {
- file_contract_get_bytecode_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ContractGetBytecodeQuery); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_contract_get_bytecode_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ContractGetBytecodeResponse); 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{
diff --git a/proto/services/contract_get_info.pb.go b/proto/services/contract_get_info.pb.go
index fac27060..f3e7d2c3 100644
--- a/proto/services/contract_get_info.pb.go
+++ b/proto/services/contract_get_info.pb.go
@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
-// protoc-gen-go v1.32.0
+// protoc-gen-go v1.35.2
// protoc v4.25.3
// source: contract_get_info.proto
@@ -39,11 +39,9 @@ type ContractGetInfoQuery struct {
func (x *ContractGetInfoQuery) Reset() {
*x = ContractGetInfoQuery{}
- if protoimpl.UnsafeEnabled {
- mi := &file_contract_get_info_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_contract_get_info_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *ContractGetInfoQuery) String() string {
@@ -54,7 +52,7 @@ func (*ContractGetInfoQuery) ProtoMessage() {}
func (x *ContractGetInfoQuery) ProtoReflect() protoreflect.Message {
mi := &file_contract_get_info_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -101,11 +99,9 @@ type ContractGetInfoResponse struct {
func (x *ContractGetInfoResponse) Reset() {
*x = ContractGetInfoResponse{}
- if protoimpl.UnsafeEnabled {
- mi := &file_contract_get_info_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_contract_get_info_proto_msgTypes[1]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *ContractGetInfoResponse) String() string {
@@ -116,7 +112,7 @@ func (*ContractGetInfoResponse) ProtoMessage() {}
func (x *ContractGetInfoResponse) ProtoReflect() protoreflect.Message {
mi := &file_contract_get_info_proto_msgTypes[1]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -215,11 +211,9 @@ type ContractGetInfoResponse_ContractInfo struct {
func (x *ContractGetInfoResponse_ContractInfo) Reset() {
*x = ContractGetInfoResponse_ContractInfo{}
- if protoimpl.UnsafeEnabled {
- mi := &file_contract_get_info_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_contract_get_info_proto_msgTypes[2]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *ContractGetInfoResponse_ContractInfo) String() string {
@@ -230,7 +224,7 @@ func (*ContractGetInfoResponse_ContractInfo) ProtoMessage() {}
func (x *ContractGetInfoResponse_ContractInfo) ProtoReflect() protoreflect.Message {
mi := &file_contract_get_info_proto_msgTypes[2]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -443,7 +437,7 @@ func file_contract_get_info_proto_rawDescGZIP() []byte {
}
var file_contract_get_info_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
-var file_contract_get_info_proto_goTypes = []interface{}{
+var file_contract_get_info_proto_goTypes = []any{
(*ContractGetInfoQuery)(nil), // 0: proto.ContractGetInfoQuery
(*ContractGetInfoResponse)(nil), // 1: proto.ContractGetInfoResponse
(*ContractGetInfoResponse_ContractInfo)(nil), // 2: proto.ContractGetInfoResponse.ContractInfo
@@ -487,44 +481,6 @@ func file_contract_get_info_proto_init() {
file_basic_types_proto_init()
file_query_header_proto_init()
file_response_header_proto_init()
- if !protoimpl.UnsafeEnabled {
- file_contract_get_info_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ContractGetInfoQuery); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_contract_get_info_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ContractGetInfoResponse); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_contract_get_info_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ContractGetInfoResponse_ContractInfo); 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{
diff --git a/proto/services/contract_get_records.pb.go b/proto/services/contract_get_records.pb.go
index b9ada757..df81cb48 100644
--- a/proto/services/contract_get_records.pb.go
+++ b/proto/services/contract_get_records.pb.go
@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
-// protoc-gen-go v1.32.0
+// protoc-gen-go v1.35.2
// protoc v4.25.3
// source: contract_get_records.proto
@@ -39,11 +39,9 @@ type ContractGetRecordsQuery struct {
func (x *ContractGetRecordsQuery) Reset() {
*x = ContractGetRecordsQuery{}
- if protoimpl.UnsafeEnabled {
- mi := &file_contract_get_records_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_contract_get_records_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *ContractGetRecordsQuery) String() string {
@@ -54,7 +52,7 @@ func (*ContractGetRecordsQuery) ProtoMessage() {}
func (x *ContractGetRecordsQuery) ProtoReflect() protoreflect.Message {
mi := &file_contract_get_records_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -105,11 +103,9 @@ type ContractGetRecordsResponse struct {
func (x *ContractGetRecordsResponse) Reset() {
*x = ContractGetRecordsResponse{}
- if protoimpl.UnsafeEnabled {
- mi := &file_contract_get_records_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_contract_get_records_proto_msgTypes[1]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *ContractGetRecordsResponse) String() string {
@@ -120,7 +116,7 @@ func (*ContractGetRecordsResponse) ProtoMessage() {}
func (x *ContractGetRecordsResponse) ProtoReflect() protoreflect.Message {
mi := &file_contract_get_records_proto_msgTypes[1]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -205,7 +201,7 @@ func file_contract_get_records_proto_rawDescGZIP() []byte {
}
var file_contract_get_records_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
-var file_contract_get_records_proto_goTypes = []interface{}{
+var file_contract_get_records_proto_goTypes = []any{
(*ContractGetRecordsQuery)(nil), // 0: proto.ContractGetRecordsQuery
(*ContractGetRecordsResponse)(nil), // 1: proto.ContractGetRecordsResponse
(*QueryHeader)(nil), // 2: proto.QueryHeader
@@ -235,32 +231,6 @@ func file_contract_get_records_proto_init() {
file_transaction_record_proto_init()
file_query_header_proto_init()
file_response_header_proto_init()
- if !protoimpl.UnsafeEnabled {
- file_contract_get_records_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ContractGetRecordsQuery); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_contract_get_records_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ContractGetRecordsResponse); 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{
diff --git a/proto/services/contract_types.pb.go b/proto/services/contract_types.pb.go
index e655dea2..82b76af2 100644
--- a/proto/services/contract_types.pb.go
+++ b/proto/services/contract_types.pb.go
@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
-// protoc-gen-go v1.32.0
+// protoc-gen-go v1.35.2
// protoc v4.25.3
// source: contract_types.proto
@@ -39,11 +39,9 @@ type ContractNonceInfo struct {
func (x *ContractNonceInfo) Reset() {
*x = ContractNonceInfo{}
- if protoimpl.UnsafeEnabled {
- mi := &file_contract_types_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_contract_types_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *ContractNonceInfo) String() string {
@@ -54,7 +52,7 @@ func (*ContractNonceInfo) ProtoMessage() {}
func (x *ContractNonceInfo) ProtoReflect() protoreflect.Message {
mi := &file_contract_types_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -115,7 +113,7 @@ func file_contract_types_proto_rawDescGZIP() []byte {
}
var file_contract_types_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
-var file_contract_types_proto_goTypes = []interface{}{
+var file_contract_types_proto_goTypes = []any{
(*ContractNonceInfo)(nil), // 0: proto.ContractNonceInfo
(*ContractID)(nil), // 1: proto.ContractID
}
@@ -134,20 +132,6 @@ func file_contract_types_proto_init() {
return
}
file_basic_types_proto_init()
- if !protoimpl.UnsafeEnabled {
- file_contract_types_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ContractNonceInfo); 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{
diff --git a/proto/services/contract_update.pb.go b/proto/services/contract_update.pb.go
index 7d53a2ab..d37b9245 100644
--- a/proto/services/contract_update.pb.go
+++ b/proto/services/contract_update.pb.go
@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
-// protoc-gen-go v1.32.0
+// protoc-gen-go v1.35.2
// protoc v4.25.3
// source: contract_update.proto
@@ -102,11 +102,9 @@ type ContractUpdateTransactionBody struct {
func (x *ContractUpdateTransactionBody) Reset() {
*x = ContractUpdateTransactionBody{}
- if protoimpl.UnsafeEnabled {
- mi := &file_contract_update_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_contract_update_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *ContractUpdateTransactionBody) String() string {
@@ -117,7 +115,7 @@ func (*ContractUpdateTransactionBody) ProtoMessage() {}
func (x *ContractUpdateTransactionBody) ProtoReflect() protoreflect.Message {
mi := &file_contract_update_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -364,7 +362,7 @@ func file_contract_update_proto_rawDescGZIP() []byte {
}
var file_contract_update_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
-var file_contract_update_proto_goTypes = []interface{}{
+var file_contract_update_proto_goTypes = []any{
(*ContractUpdateTransactionBody)(nil), // 0: proto.ContractUpdateTransactionBody
(*ContractID)(nil), // 1: proto.ContractID
(*Timestamp)(nil), // 2: proto.Timestamp
@@ -403,21 +401,7 @@ func file_contract_update_proto_init() {
file_basic_types_proto_init()
file_duration_proto_init()
file_timestamp_proto_init()
- if !protoimpl.UnsafeEnabled {
- file_contract_update_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ContractUpdateTransactionBody); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- file_contract_update_proto_msgTypes[0].OneofWrappers = []interface{}{
+ file_contract_update_proto_msgTypes[0].OneofWrappers = []any{
(*ContractUpdateTransactionBody_Memo)(nil),
(*ContractUpdateTransactionBody_MemoWrapper)(nil),
(*ContractUpdateTransactionBody_StakedAccountId)(nil),
diff --git a/proto/services/crypto_add_live_hash.pb.go b/proto/services/crypto_add_live_hash.pb.go
index 4e1f8ae5..b202ac7e 100644
--- a/proto/services/crypto_add_live_hash.pb.go
+++ b/proto/services/crypto_add_live_hash.pb.go
@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
-// protoc-gen-go v1.32.0
+// protoc-gen-go v1.35.2
// protoc v4.25.3
// source: crypto_add_live_hash.proto
@@ -44,11 +44,9 @@ type LiveHash struct {
func (x *LiveHash) Reset() {
*x = LiveHash{}
- if protoimpl.UnsafeEnabled {
- mi := &file_crypto_add_live_hash_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_crypto_add_live_hash_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *LiveHash) String() string {
@@ -59,7 +57,7 @@ func (*LiveHash) ProtoMessage() {}
func (x *LiveHash) ProtoReflect() protoreflect.Message {
mi := &file_crypto_add_live_hash_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -124,11 +122,9 @@ type CryptoAddLiveHashTransactionBody struct {
func (x *CryptoAddLiveHashTransactionBody) Reset() {
*x = CryptoAddLiveHashTransactionBody{}
- if protoimpl.UnsafeEnabled {
- mi := &file_crypto_add_live_hash_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_crypto_add_live_hash_proto_msgTypes[1]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *CryptoAddLiveHashTransactionBody) String() string {
@@ -139,7 +135,7 @@ func (*CryptoAddLiveHashTransactionBody) ProtoMessage() {}
func (x *CryptoAddLiveHashTransactionBody) ProtoReflect() protoreflect.Message {
mi := &file_crypto_add_live_hash_proto_msgTypes[1]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -202,7 +198,7 @@ func file_crypto_add_live_hash_proto_rawDescGZIP() []byte {
}
var file_crypto_add_live_hash_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
-var file_crypto_add_live_hash_proto_goTypes = []interface{}{
+var file_crypto_add_live_hash_proto_goTypes = []any{
(*LiveHash)(nil), // 0: proto.LiveHash
(*CryptoAddLiveHashTransactionBody)(nil), // 1: proto.CryptoAddLiveHashTransactionBody
(*AccountID)(nil), // 2: proto.AccountID
@@ -228,32 +224,6 @@ func file_crypto_add_live_hash_proto_init() {
}
file_basic_types_proto_init()
file_duration_proto_init()
- if !protoimpl.UnsafeEnabled {
- file_crypto_add_live_hash_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*LiveHash); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_crypto_add_live_hash_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*CryptoAddLiveHashTransactionBody); 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{
diff --git a/proto/services/crypto_approve_allowance.pb.go b/proto/services/crypto_approve_allowance.pb.go
index 4c0e10f7..6f5071a1 100644
--- a/proto/services/crypto_approve_allowance.pb.go
+++ b/proto/services/crypto_approve_allowance.pb.go
@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
-// protoc-gen-go v1.32.0
+// protoc-gen-go v1.35.2
// protoc v4.25.3
// source: crypto_approve_allowance.proto
@@ -48,11 +48,9 @@ type CryptoApproveAllowanceTransactionBody struct {
func (x *CryptoApproveAllowanceTransactionBody) Reset() {
*x = CryptoApproveAllowanceTransactionBody{}
- if protoimpl.UnsafeEnabled {
- mi := &file_crypto_approve_allowance_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_crypto_approve_allowance_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *CryptoApproveAllowanceTransactionBody) String() string {
@@ -63,7 +61,7 @@ func (*CryptoApproveAllowanceTransactionBody) ProtoMessage() {}
func (x *CryptoApproveAllowanceTransactionBody) ProtoReflect() protoreflect.Message {
mi := &file_crypto_approve_allowance_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -119,11 +117,9 @@ type CryptoAllowance struct {
func (x *CryptoAllowance) Reset() {
*x = CryptoAllowance{}
- if protoimpl.UnsafeEnabled {
- mi := &file_crypto_approve_allowance_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_crypto_approve_allowance_proto_msgTypes[1]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *CryptoAllowance) String() string {
@@ -134,7 +130,7 @@ func (*CryptoAllowance) ProtoMessage() {}
func (x *CryptoAllowance) ProtoReflect() protoreflect.Message {
mi := &file_crypto_approve_allowance_proto_msgTypes[1]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -201,11 +197,9 @@ type NftAllowance struct {
func (x *NftAllowance) Reset() {
*x = NftAllowance{}
- if protoimpl.UnsafeEnabled {
- mi := &file_crypto_approve_allowance_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_crypto_approve_allowance_proto_msgTypes[2]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *NftAllowance) String() string {
@@ -216,7 +210,7 @@ func (*NftAllowance) ProtoMessage() {}
func (x *NftAllowance) ProtoReflect() protoreflect.Message {
mi := &file_crypto_approve_allowance_proto_msgTypes[2]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -296,11 +290,9 @@ type TokenAllowance struct {
func (x *TokenAllowance) Reset() {
*x = TokenAllowance{}
- if protoimpl.UnsafeEnabled {
- mi := &file_crypto_approve_allowance_proto_msgTypes[3]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_crypto_approve_allowance_proto_msgTypes[3]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *TokenAllowance) String() string {
@@ -311,7 +303,7 @@ func (*TokenAllowance) ProtoMessage() {}
func (x *TokenAllowance) ProtoReflect() protoreflect.Message {
mi := &file_crypto_approve_allowance_proto_msgTypes[3]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -434,7 +426,7 @@ func file_crypto_approve_allowance_proto_rawDescGZIP() []byte {
}
var file_crypto_approve_allowance_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
-var file_crypto_approve_allowance_proto_goTypes = []interface{}{
+var file_crypto_approve_allowance_proto_goTypes = []any{
(*CryptoApproveAllowanceTransactionBody)(nil), // 0: proto.CryptoApproveAllowanceTransactionBody
(*CryptoAllowance)(nil), // 1: proto.CryptoAllowance
(*NftAllowance)(nil), // 2: proto.NftAllowance
@@ -470,56 +462,6 @@ func file_crypto_approve_allowance_proto_init() {
return
}
file_basic_types_proto_init()
- if !protoimpl.UnsafeEnabled {
- file_crypto_approve_allowance_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*CryptoApproveAllowanceTransactionBody); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_crypto_approve_allowance_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*CryptoAllowance); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_crypto_approve_allowance_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*NftAllowance); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_crypto_approve_allowance_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*TokenAllowance); 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{
diff --git a/proto/services/crypto_create.pb.go b/proto/services/crypto_create.pb.go
index e6236577..4f882640 100644
--- a/proto/services/crypto_create.pb.go
+++ b/proto/services/crypto_create.pb.go
@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
-// protoc-gen-go v1.32.0
+// protoc-gen-go v1.35.2
// protoc v4.25.3
// source: crypto_create.proto
@@ -141,11 +141,9 @@ type CryptoCreateTransactionBody struct {
func (x *CryptoCreateTransactionBody) Reset() {
*x = CryptoCreateTransactionBody{}
- if protoimpl.UnsafeEnabled {
- mi := &file_crypto_create_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_crypto_create_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *CryptoCreateTransactionBody) String() string {
@@ -156,7 +154,7 @@ func (*CryptoCreateTransactionBody) ProtoMessage() {}
func (x *CryptoCreateTransactionBody) ProtoReflect() protoreflect.Message {
mi := &file_crypto_create_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -388,7 +386,7 @@ func file_crypto_create_proto_rawDescGZIP() []byte {
}
var file_crypto_create_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
-var file_crypto_create_proto_goTypes = []interface{}{
+var file_crypto_create_proto_goTypes = []any{
(*CryptoCreateTransactionBody)(nil), // 0: proto.CryptoCreateTransactionBody
(*Key)(nil), // 1: proto.Key
(*AccountID)(nil), // 2: proto.AccountID
@@ -418,21 +416,7 @@ func file_crypto_create_proto_init() {
}
file_basic_types_proto_init()
file_duration_proto_init()
- if !protoimpl.UnsafeEnabled {
- file_crypto_create_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*CryptoCreateTransactionBody); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- file_crypto_create_proto_msgTypes[0].OneofWrappers = []interface{}{
+ file_crypto_create_proto_msgTypes[0].OneofWrappers = []any{
(*CryptoCreateTransactionBody_StakedAccountId)(nil),
(*CryptoCreateTransactionBody_StakedNodeId)(nil),
}
diff --git a/proto/services/crypto_delete.pb.go b/proto/services/crypto_delete.pb.go
index 81582767..71c78e77 100644
--- a/proto/services/crypto_delete.pb.go
+++ b/proto/services/crypto_delete.pb.go
@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
-// protoc-gen-go v1.32.0
+// protoc-gen-go v1.35.2
// protoc v4.25.3
// source: crypto_delete.proto
@@ -39,11 +39,9 @@ type CryptoDeleteTransactionBody struct {
func (x *CryptoDeleteTransactionBody) Reset() {
*x = CryptoDeleteTransactionBody{}
- if protoimpl.UnsafeEnabled {
- mi := &file_crypto_delete_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_crypto_delete_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *CryptoDeleteTransactionBody) String() string {
@@ -54,7 +52,7 @@ func (*CryptoDeleteTransactionBody) ProtoMessage() {}
func (x *CryptoDeleteTransactionBody) ProtoReflect() protoreflect.Message {
mi := &file_crypto_delete_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -117,7 +115,7 @@ func file_crypto_delete_proto_rawDescGZIP() []byte {
}
var file_crypto_delete_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
-var file_crypto_delete_proto_goTypes = []interface{}{
+var file_crypto_delete_proto_goTypes = []any{
(*CryptoDeleteTransactionBody)(nil), // 0: proto.CryptoDeleteTransactionBody
(*AccountID)(nil), // 1: proto.AccountID
}
@@ -137,20 +135,6 @@ func file_crypto_delete_proto_init() {
return
}
file_basic_types_proto_init()
- if !protoimpl.UnsafeEnabled {
- file_crypto_delete_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*CryptoDeleteTransactionBody); 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{
diff --git a/proto/services/crypto_delete_allowance.pb.go b/proto/services/crypto_delete_allowance.pb.go
index 4d0e857c..8181a448 100644
--- a/proto/services/crypto_delete_allowance.pb.go
+++ b/proto/services/crypto_delete_allowance.pb.go
@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
-// protoc-gen-go v1.32.0
+// protoc-gen-go v1.35.2
// protoc v4.25.3
// source: crypto_delete_allowance.proto
@@ -37,11 +37,9 @@ type CryptoDeleteAllowanceTransactionBody struct {
func (x *CryptoDeleteAllowanceTransactionBody) Reset() {
*x = CryptoDeleteAllowanceTransactionBody{}
- if protoimpl.UnsafeEnabled {
- mi := &file_crypto_delete_allowance_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_crypto_delete_allowance_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *CryptoDeleteAllowanceTransactionBody) String() string {
@@ -52,7 +50,7 @@ func (*CryptoDeleteAllowanceTransactionBody) ProtoMessage() {}
func (x *CryptoDeleteAllowanceTransactionBody) ProtoReflect() protoreflect.Message {
mi := &file_crypto_delete_allowance_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -94,11 +92,9 @@ type NftRemoveAllowance struct {
func (x *NftRemoveAllowance) Reset() {
*x = NftRemoveAllowance{}
- if protoimpl.UnsafeEnabled {
- mi := &file_crypto_delete_allowance_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_crypto_delete_allowance_proto_msgTypes[1]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *NftRemoveAllowance) String() string {
@@ -109,7 +105,7 @@ func (*NftRemoveAllowance) ProtoMessage() {}
func (x *NftRemoveAllowance) ProtoReflect() protoreflect.Message {
mi := &file_crypto_delete_allowance_proto_msgTypes[1]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -186,7 +182,7 @@ func file_crypto_delete_allowance_proto_rawDescGZIP() []byte {
}
var file_crypto_delete_allowance_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
-var file_crypto_delete_allowance_proto_goTypes = []interface{}{
+var file_crypto_delete_allowance_proto_goTypes = []any{
(*CryptoDeleteAllowanceTransactionBody)(nil), // 0: proto.CryptoDeleteAllowanceTransactionBody
(*NftRemoveAllowance)(nil), // 1: proto.NftRemoveAllowance
(*TokenID)(nil), // 2: proto.TokenID
@@ -209,32 +205,6 @@ func file_crypto_delete_allowance_proto_init() {
return
}
file_basic_types_proto_init()
- if !protoimpl.UnsafeEnabled {
- file_crypto_delete_allowance_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*CryptoDeleteAllowanceTransactionBody); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_crypto_delete_allowance_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*NftRemoveAllowance); 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{
diff --git a/proto/services/crypto_delete_live_hash.pb.go b/proto/services/crypto_delete_live_hash.pb.go
index 105b92ed..a33af906 100644
--- a/proto/services/crypto_delete_live_hash.pb.go
+++ b/proto/services/crypto_delete_live_hash.pb.go
@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
-// protoc-gen-go v1.32.0
+// protoc-gen-go v1.35.2
// protoc v4.25.3
// source: crypto_delete_live_hash.proto
@@ -38,11 +38,9 @@ type CryptoDeleteLiveHashTransactionBody struct {
func (x *CryptoDeleteLiveHashTransactionBody) Reset() {
*x = CryptoDeleteLiveHashTransactionBody{}
- if protoimpl.UnsafeEnabled {
- mi := &file_crypto_delete_live_hash_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_crypto_delete_live_hash_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *CryptoDeleteLiveHashTransactionBody) String() string {
@@ -53,7 +51,7 @@ func (*CryptoDeleteLiveHashTransactionBody) ProtoMessage() {}
func (x *CryptoDeleteLiveHashTransactionBody) ProtoReflect() protoreflect.Message {
mi := &file_crypto_delete_live_hash_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -116,7 +114,7 @@ func file_crypto_delete_live_hash_proto_rawDescGZIP() []byte {
}
var file_crypto_delete_live_hash_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
-var file_crypto_delete_live_hash_proto_goTypes = []interface{}{
+var file_crypto_delete_live_hash_proto_goTypes = []any{
(*CryptoDeleteLiveHashTransactionBody)(nil), // 0: proto.CryptoDeleteLiveHashTransactionBody
(*AccountID)(nil), // 1: proto.AccountID
}
@@ -135,20 +133,6 @@ func file_crypto_delete_live_hash_proto_init() {
return
}
file_basic_types_proto_init()
- if !protoimpl.UnsafeEnabled {
- file_crypto_delete_live_hash_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*CryptoDeleteLiveHashTransactionBody); 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{
diff --git a/proto/services/crypto_get_account_balance.pb.go b/proto/services/crypto_get_account_balance.pb.go
index 434e4080..9459a3d7 100644
--- a/proto/services/crypto_get_account_balance.pb.go
+++ b/proto/services/crypto_get_account_balance.pb.go
@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
-// protoc-gen-go v1.32.0
+// protoc-gen-go v1.35.2
// protoc v4.25.3
// source: crypto_get_account_balance.proto
@@ -41,11 +41,9 @@ type CryptoGetAccountBalanceQuery struct {
func (x *CryptoGetAccountBalanceQuery) Reset() {
*x = CryptoGetAccountBalanceQuery{}
- if protoimpl.UnsafeEnabled {
- mi := &file_crypto_get_account_balance_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_crypto_get_account_balance_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *CryptoGetAccountBalanceQuery) String() string {
@@ -56,7 +54,7 @@ func (*CryptoGetAccountBalanceQuery) ProtoMessage() {}
func (x *CryptoGetAccountBalanceQuery) ProtoReflect() protoreflect.Message {
mi := &file_crypto_get_account_balance_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -149,11 +147,9 @@ type CryptoGetAccountBalanceResponse struct {
func (x *CryptoGetAccountBalanceResponse) Reset() {
*x = CryptoGetAccountBalanceResponse{}
- if protoimpl.UnsafeEnabled {
- mi := &file_crypto_get_account_balance_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_crypto_get_account_balance_proto_msgTypes[1]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *CryptoGetAccountBalanceResponse) String() string {
@@ -164,7 +160,7 @@ func (*CryptoGetAccountBalanceResponse) ProtoMessage() {}
func (x *CryptoGetAccountBalanceResponse) ProtoReflect() protoreflect.Message {
mi := &file_crypto_get_account_balance_proto_msgTypes[1]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -262,7 +258,7 @@ func file_crypto_get_account_balance_proto_rawDescGZIP() []byte {
}
var file_crypto_get_account_balance_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
-var file_crypto_get_account_balance_proto_goTypes = []interface{}{
+var file_crypto_get_account_balance_proto_goTypes = []any{
(*CryptoGetAccountBalanceQuery)(nil), // 0: proto.CryptoGetAccountBalanceQuery
(*CryptoGetAccountBalanceResponse)(nil), // 1: proto.CryptoGetAccountBalanceResponse
(*QueryHeader)(nil), // 2: proto.QueryHeader
@@ -293,33 +289,7 @@ func file_crypto_get_account_balance_proto_init() {
file_basic_types_proto_init()
file_query_header_proto_init()
file_response_header_proto_init()
- if !protoimpl.UnsafeEnabled {
- file_crypto_get_account_balance_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*CryptoGetAccountBalanceQuery); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_crypto_get_account_balance_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*CryptoGetAccountBalanceResponse); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- file_crypto_get_account_balance_proto_msgTypes[0].OneofWrappers = []interface{}{
+ file_crypto_get_account_balance_proto_msgTypes[0].OneofWrappers = []any{
(*CryptoGetAccountBalanceQuery_AccountID)(nil),
(*CryptoGetAccountBalanceQuery_ContractID)(nil),
}
diff --git a/proto/services/crypto_get_account_records.pb.go b/proto/services/crypto_get_account_records.pb.go
index fb4dc2c3..a2b90967 100644
--- a/proto/services/crypto_get_account_records.pb.go
+++ b/proto/services/crypto_get_account_records.pb.go
@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
-// protoc-gen-go v1.32.0
+// protoc-gen-go v1.35.2
// protoc v4.25.3
// source: crypto_get_account_records.proto
@@ -37,11 +37,9 @@ type CryptoGetAccountRecordsQuery struct {
func (x *CryptoGetAccountRecordsQuery) Reset() {
*x = CryptoGetAccountRecordsQuery{}
- if protoimpl.UnsafeEnabled {
- mi := &file_crypto_get_account_records_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_crypto_get_account_records_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *CryptoGetAccountRecordsQuery) String() string {
@@ -52,7 +50,7 @@ func (*CryptoGetAccountRecordsQuery) ProtoMessage() {}
func (x *CryptoGetAccountRecordsQuery) ProtoReflect() protoreflect.Message {
mi := &file_crypto_get_account_records_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -101,11 +99,9 @@ type CryptoGetAccountRecordsResponse struct {
func (x *CryptoGetAccountRecordsResponse) Reset() {
*x = CryptoGetAccountRecordsResponse{}
- if protoimpl.UnsafeEnabled {
- mi := &file_crypto_get_account_records_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_crypto_get_account_records_proto_msgTypes[1]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *CryptoGetAccountRecordsResponse) String() string {
@@ -116,7 +112,7 @@ func (*CryptoGetAccountRecordsResponse) ProtoMessage() {}
func (x *CryptoGetAccountRecordsResponse) ProtoReflect() protoreflect.Message {
mi := &file_crypto_get_account_records_proto_msgTypes[1]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -201,7 +197,7 @@ func file_crypto_get_account_records_proto_rawDescGZIP() []byte {
}
var file_crypto_get_account_records_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
-var file_crypto_get_account_records_proto_goTypes = []interface{}{
+var file_crypto_get_account_records_proto_goTypes = []any{
(*CryptoGetAccountRecordsQuery)(nil), // 0: proto.CryptoGetAccountRecordsQuery
(*CryptoGetAccountRecordsResponse)(nil), // 1: proto.CryptoGetAccountRecordsResponse
(*QueryHeader)(nil), // 2: proto.QueryHeader
@@ -231,32 +227,6 @@ func file_crypto_get_account_records_proto_init() {
file_transaction_record_proto_init()
file_query_header_proto_init()
file_response_header_proto_init()
- if !protoimpl.UnsafeEnabled {
- file_crypto_get_account_records_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*CryptoGetAccountRecordsQuery); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_crypto_get_account_records_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*CryptoGetAccountRecordsResponse); 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{
diff --git a/proto/services/crypto_get_info.pb.go b/proto/services/crypto_get_info.pb.go
index dc3cf149..234199dc 100644
--- a/proto/services/crypto_get_info.pb.go
+++ b/proto/services/crypto_get_info.pb.go
@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
-// protoc-gen-go v1.32.0
+// protoc-gen-go v1.35.2
// protoc v4.25.3
// source: crypto_get_info.proto
@@ -39,11 +39,9 @@ type CryptoGetInfoQuery struct {
func (x *CryptoGetInfoQuery) Reset() {
*x = CryptoGetInfoQuery{}
- if protoimpl.UnsafeEnabled {
- mi := &file_crypto_get_info_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_crypto_get_info_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *CryptoGetInfoQuery) String() string {
@@ -54,7 +52,7 @@ func (*CryptoGetInfoQuery) ProtoMessage() {}
func (x *CryptoGetInfoQuery) ProtoReflect() protoreflect.Message {
mi := &file_crypto_get_info_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -101,11 +99,9 @@ type CryptoGetInfoResponse struct {
func (x *CryptoGetInfoResponse) Reset() {
*x = CryptoGetInfoResponse{}
- if protoimpl.UnsafeEnabled {
- mi := &file_crypto_get_info_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_crypto_get_info_proto_msgTypes[1]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *CryptoGetInfoResponse) String() string {
@@ -116,7 +112,7 @@ func (*CryptoGetInfoResponse) ProtoMessage() {}
func (x *CryptoGetInfoResponse) ProtoReflect() protoreflect.Message {
mi := &file_crypto_get_info_proto_msgTypes[1]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -240,11 +236,9 @@ type CryptoGetInfoResponse_AccountInfo struct {
func (x *CryptoGetInfoResponse_AccountInfo) Reset() {
*x = CryptoGetInfoResponse_AccountInfo{}
- if protoimpl.UnsafeEnabled {
- mi := &file_crypto_get_info_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_crypto_get_info_proto_msgTypes[2]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *CryptoGetInfoResponse_AccountInfo) String() string {
@@ -255,7 +249,7 @@ func (*CryptoGetInfoResponse_AccountInfo) ProtoMessage() {}
func (x *CryptoGetInfoResponse_AccountInfo) ProtoReflect() protoreflect.Message {
mi := &file_crypto_get_info_proto_msgTypes[2]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -531,7 +525,7 @@ func file_crypto_get_info_proto_rawDescGZIP() []byte {
}
var file_crypto_get_info_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
-var file_crypto_get_info_proto_goTypes = []interface{}{
+var file_crypto_get_info_proto_goTypes = []any{
(*CryptoGetInfoQuery)(nil), // 0: proto.CryptoGetInfoQuery
(*CryptoGetInfoResponse)(nil), // 1: proto.CryptoGetInfoResponse
(*CryptoGetInfoResponse_AccountInfo)(nil), // 2: proto.CryptoGetInfoResponse.AccountInfo
@@ -576,44 +570,6 @@ func file_crypto_get_info_proto_init() {
file_query_header_proto_init()
file_response_header_proto_init()
file_crypto_add_live_hash_proto_init()
- if !protoimpl.UnsafeEnabled {
- file_crypto_get_info_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*CryptoGetInfoQuery); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_crypto_get_info_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*CryptoGetInfoResponse); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_crypto_get_info_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*CryptoGetInfoResponse_AccountInfo); 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{
diff --git a/proto/services/crypto_get_live_hash.pb.go b/proto/services/crypto_get_live_hash.pb.go
index c3181ace..59fa4861 100644
--- a/proto/services/crypto_get_live_hash.pb.go
+++ b/proto/services/crypto_get_live_hash.pb.go
@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
-// protoc-gen-go v1.32.0
+// protoc-gen-go v1.35.2
// protoc v4.25.3
// source: crypto_get_live_hash.proto
@@ -41,11 +41,9 @@ type CryptoGetLiveHashQuery struct {
func (x *CryptoGetLiveHashQuery) Reset() {
*x = CryptoGetLiveHashQuery{}
- if protoimpl.UnsafeEnabled {
- mi := &file_crypto_get_live_hash_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_crypto_get_live_hash_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *CryptoGetLiveHashQuery) String() string {
@@ -56,7 +54,7 @@ func (*CryptoGetLiveHashQuery) ProtoMessage() {}
func (x *CryptoGetLiveHashQuery) ProtoReflect() protoreflect.Message {
mi := &file_crypto_get_live_hash_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -112,11 +110,9 @@ type CryptoGetLiveHashResponse struct {
func (x *CryptoGetLiveHashResponse) Reset() {
*x = CryptoGetLiveHashResponse{}
- if protoimpl.UnsafeEnabled {
- mi := &file_crypto_get_live_hash_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_crypto_get_live_hash_proto_msgTypes[1]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *CryptoGetLiveHashResponse) String() string {
@@ -127,7 +123,7 @@ func (*CryptoGetLiveHashResponse) ProtoMessage() {}
func (x *CryptoGetLiveHashResponse) ProtoReflect() protoreflect.Message {
mi := &file_crypto_get_live_hash_proto_msgTypes[1]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -202,7 +198,7 @@ func file_crypto_get_live_hash_proto_rawDescGZIP() []byte {
}
var file_crypto_get_live_hash_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
-var file_crypto_get_live_hash_proto_goTypes = []interface{}{
+var file_crypto_get_live_hash_proto_goTypes = []any{
(*CryptoGetLiveHashQuery)(nil), // 0: proto.CryptoGetLiveHashQuery
(*CryptoGetLiveHashResponse)(nil), // 1: proto.CryptoGetLiveHashResponse
(*QueryHeader)(nil), // 2: proto.QueryHeader
@@ -231,32 +227,6 @@ func file_crypto_get_live_hash_proto_init() {
file_query_header_proto_init()
file_response_header_proto_init()
file_crypto_add_live_hash_proto_init()
- if !protoimpl.UnsafeEnabled {
- file_crypto_get_live_hash_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*CryptoGetLiveHashQuery); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_crypto_get_live_hash_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*CryptoGetLiveHashResponse); 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{
diff --git a/proto/services/crypto_get_stakers.pb.go b/proto/services/crypto_get_stakers.pb.go
index da3e1742..7ac3ffee 100644
--- a/proto/services/crypto_get_stakers.pb.go
+++ b/proto/services/crypto_get_stakers.pb.go
@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
-// protoc-gen-go v1.32.0
+// protoc-gen-go v1.35.2
// protoc v4.25.3
// source: crypto_get_stakers.proto
@@ -39,11 +39,9 @@ type CryptoGetStakersQuery struct {
func (x *CryptoGetStakersQuery) Reset() {
*x = CryptoGetStakersQuery{}
- if protoimpl.UnsafeEnabled {
- mi := &file_crypto_get_stakers_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_crypto_get_stakers_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *CryptoGetStakersQuery) String() string {
@@ -54,7 +52,7 @@ func (*CryptoGetStakersQuery) ProtoMessage() {}
func (x *CryptoGetStakersQuery) ProtoReflect() protoreflect.Message {
mi := &file_crypto_get_stakers_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -100,11 +98,9 @@ type ProxyStaker struct {
func (x *ProxyStaker) Reset() {
*x = ProxyStaker{}
- if protoimpl.UnsafeEnabled {
- mi := &file_crypto_get_stakers_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_crypto_get_stakers_proto_msgTypes[1]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *ProxyStaker) String() string {
@@ -115,7 +111,7 @@ func (*ProxyStaker) ProtoMessage() {}
func (x *ProxyStaker) ProtoReflect() protoreflect.Message {
mi := &file_crypto_get_stakers_proto_msgTypes[1]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -161,11 +157,9 @@ type AllProxyStakers struct {
func (x *AllProxyStakers) Reset() {
*x = AllProxyStakers{}
- if protoimpl.UnsafeEnabled {
- mi := &file_crypto_get_stakers_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_crypto_get_stakers_proto_msgTypes[2]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *AllProxyStakers) String() string {
@@ -176,7 +170,7 @@ func (*AllProxyStakers) ProtoMessage() {}
func (x *AllProxyStakers) ProtoReflect() protoreflect.Message {
mi := &file_crypto_get_stakers_proto_msgTypes[2]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -224,11 +218,9 @@ type CryptoGetStakersResponse struct {
func (x *CryptoGetStakersResponse) Reset() {
*x = CryptoGetStakersResponse{}
- if protoimpl.UnsafeEnabled {
- mi := &file_crypto_get_stakers_proto_msgTypes[3]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_crypto_get_stakers_proto_msgTypes[3]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *CryptoGetStakersResponse) String() string {
@@ -239,7 +231,7 @@ func (*CryptoGetStakersResponse) ProtoMessage() {}
func (x *CryptoGetStakersResponse) ProtoReflect() protoreflect.Message {
mi := &file_crypto_get_stakers_proto_msgTypes[3]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -324,7 +316,7 @@ func file_crypto_get_stakers_proto_rawDescGZIP() []byte {
}
var file_crypto_get_stakers_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
-var file_crypto_get_stakers_proto_goTypes = []interface{}{
+var file_crypto_get_stakers_proto_goTypes = []any{
(*CryptoGetStakersQuery)(nil), // 0: proto.CryptoGetStakersQuery
(*ProxyStaker)(nil), // 1: proto.ProxyStaker
(*AllProxyStakers)(nil), // 2: proto.AllProxyStakers
@@ -356,56 +348,6 @@ func file_crypto_get_stakers_proto_init() {
file_basic_types_proto_init()
file_query_header_proto_init()
file_response_header_proto_init()
- if !protoimpl.UnsafeEnabled {
- file_crypto_get_stakers_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*CryptoGetStakersQuery); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_crypto_get_stakers_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ProxyStaker); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_crypto_get_stakers_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*AllProxyStakers); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_crypto_get_stakers_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*CryptoGetStakersResponse); 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{
diff --git a/proto/services/crypto_service.pb.go b/proto/services/crypto_service.pb.go
index 155ff008..23f9ceef 100644
--- a/proto/services/crypto_service.pb.go
+++ b/proto/services/crypto_service.pb.go
@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
-// protoc-gen-go v1.32.0
+// protoc-gen-go v1.35.2
// protoc v4.25.3
// source: crypto_service.proto
@@ -95,7 +95,7 @@ var file_crypto_service_proto_rawDesc = []byte{
0x33,
}
-var file_crypto_service_proto_goTypes = []interface{}{
+var file_crypto_service_proto_goTypes = []any{
(*Transaction)(nil), // 0: proto.Transaction
(*Query)(nil), // 1: proto.Query
(*TransactionResponse)(nil), // 2: proto.TransactionResponse
diff --git a/proto/services/crypto_service_grpc.pb.go b/proto/services/crypto_service_grpc.pb.go
index 3630e1db..6ba51711 100644
--- a/proto/services/crypto_service_grpc.pb.go
+++ b/proto/services/crypto_service_grpc.pb.go
@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
// versions:
-// - protoc-gen-go-grpc v1.2.0
+// - protoc-gen-go-grpc v1.5.1
// - protoc v4.25.3
// source: crypto_service.proto
@@ -15,12 +15,34 @@ import (
// 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
+// Requires gRPC-Go v1.64.0 or later.
+const _ = grpc.SupportPackageIsVersion9
+
+const (
+ CryptoService_CreateAccount_FullMethodName = "/proto.CryptoService/createAccount"
+ CryptoService_UpdateAccount_FullMethodName = "/proto.CryptoService/updateAccount"
+ CryptoService_CryptoTransfer_FullMethodName = "/proto.CryptoService/cryptoTransfer"
+ CryptoService_CryptoDelete_FullMethodName = "/proto.CryptoService/cryptoDelete"
+ CryptoService_ApproveAllowances_FullMethodName = "/proto.CryptoService/approveAllowances"
+ CryptoService_DeleteAllowances_FullMethodName = "/proto.CryptoService/deleteAllowances"
+ CryptoService_AddLiveHash_FullMethodName = "/proto.CryptoService/addLiveHash"
+ CryptoService_DeleteLiveHash_FullMethodName = "/proto.CryptoService/deleteLiveHash"
+ CryptoService_GetLiveHash_FullMethodName = "/proto.CryptoService/getLiveHash"
+ CryptoService_GetAccountRecords_FullMethodName = "/proto.CryptoService/getAccountRecords"
+ CryptoService_CryptoGetBalance_FullMethodName = "/proto.CryptoService/cryptoGetBalance"
+ CryptoService_GetAccountInfo_FullMethodName = "/proto.CryptoService/getAccountInfo"
+ CryptoService_GetTransactionReceipts_FullMethodName = "/proto.CryptoService/getTransactionReceipts"
+ CryptoService_GetFastTransactionRecord_FullMethodName = "/proto.CryptoService/getFastTransactionRecord"
+ CryptoService_GetTxRecordByTxID_FullMethodName = "/proto.CryptoService/getTxRecordByTxID"
+ CryptoService_GetStakersByAccountID_FullMethodName = "/proto.CryptoService/getStakersByAccountID"
+)
// CryptoServiceClient is the client API for CryptoService 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.
+//
+// *
+// Transactions and queries for the Crypto Service
type CryptoServiceClient interface {
// *
// Creates a new account by submitting the transaction
@@ -85,8 +107,9 @@ func NewCryptoServiceClient(cc grpc.ClientConnInterface) CryptoServiceClient {
}
func (c *cryptoServiceClient) CreateAccount(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error) {
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(TransactionResponse)
- err := c.cc.Invoke(ctx, "/proto.CryptoService/createAccount", in, out, opts...)
+ err := c.cc.Invoke(ctx, CryptoService_CreateAccount_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
@@ -94,8 +117,9 @@ func (c *cryptoServiceClient) CreateAccount(ctx context.Context, in *Transaction
}
func (c *cryptoServiceClient) UpdateAccount(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error) {
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(TransactionResponse)
- err := c.cc.Invoke(ctx, "/proto.CryptoService/updateAccount", in, out, opts...)
+ err := c.cc.Invoke(ctx, CryptoService_UpdateAccount_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
@@ -103,8 +127,9 @@ func (c *cryptoServiceClient) UpdateAccount(ctx context.Context, in *Transaction
}
func (c *cryptoServiceClient) CryptoTransfer(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error) {
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(TransactionResponse)
- err := c.cc.Invoke(ctx, "/proto.CryptoService/cryptoTransfer", in, out, opts...)
+ err := c.cc.Invoke(ctx, CryptoService_CryptoTransfer_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
@@ -112,8 +137,9 @@ func (c *cryptoServiceClient) CryptoTransfer(ctx context.Context, in *Transactio
}
func (c *cryptoServiceClient) CryptoDelete(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error) {
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(TransactionResponse)
- err := c.cc.Invoke(ctx, "/proto.CryptoService/cryptoDelete", in, out, opts...)
+ err := c.cc.Invoke(ctx, CryptoService_CryptoDelete_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
@@ -121,8 +147,9 @@ func (c *cryptoServiceClient) CryptoDelete(ctx context.Context, in *Transaction,
}
func (c *cryptoServiceClient) ApproveAllowances(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error) {
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(TransactionResponse)
- err := c.cc.Invoke(ctx, "/proto.CryptoService/approveAllowances", in, out, opts...)
+ err := c.cc.Invoke(ctx, CryptoService_ApproveAllowances_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
@@ -130,8 +157,9 @@ func (c *cryptoServiceClient) ApproveAllowances(ctx context.Context, in *Transac
}
func (c *cryptoServiceClient) DeleteAllowances(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error) {
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(TransactionResponse)
- err := c.cc.Invoke(ctx, "/proto.CryptoService/deleteAllowances", in, out, opts...)
+ err := c.cc.Invoke(ctx, CryptoService_DeleteAllowances_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
@@ -139,8 +167,9 @@ func (c *cryptoServiceClient) DeleteAllowances(ctx context.Context, in *Transact
}
func (c *cryptoServiceClient) AddLiveHash(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error) {
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(TransactionResponse)
- err := c.cc.Invoke(ctx, "/proto.CryptoService/addLiveHash", in, out, opts...)
+ err := c.cc.Invoke(ctx, CryptoService_AddLiveHash_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
@@ -148,8 +177,9 @@ func (c *cryptoServiceClient) AddLiveHash(ctx context.Context, in *Transaction,
}
func (c *cryptoServiceClient) DeleteLiveHash(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error) {
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(TransactionResponse)
- err := c.cc.Invoke(ctx, "/proto.CryptoService/deleteLiveHash", in, out, opts...)
+ err := c.cc.Invoke(ctx, CryptoService_DeleteLiveHash_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
@@ -157,8 +187,9 @@ func (c *cryptoServiceClient) DeleteLiveHash(ctx context.Context, in *Transactio
}
func (c *cryptoServiceClient) GetLiveHash(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Response, error) {
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(Response)
- err := c.cc.Invoke(ctx, "/proto.CryptoService/getLiveHash", in, out, opts...)
+ err := c.cc.Invoke(ctx, CryptoService_GetLiveHash_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
@@ -166,8 +197,9 @@ func (c *cryptoServiceClient) GetLiveHash(ctx context.Context, in *Query, opts .
}
func (c *cryptoServiceClient) GetAccountRecords(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Response, error) {
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(Response)
- err := c.cc.Invoke(ctx, "/proto.CryptoService/getAccountRecords", in, out, opts...)
+ err := c.cc.Invoke(ctx, CryptoService_GetAccountRecords_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
@@ -175,8 +207,9 @@ func (c *cryptoServiceClient) GetAccountRecords(ctx context.Context, in *Query,
}
func (c *cryptoServiceClient) CryptoGetBalance(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Response, error) {
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(Response)
- err := c.cc.Invoke(ctx, "/proto.CryptoService/cryptoGetBalance", in, out, opts...)
+ err := c.cc.Invoke(ctx, CryptoService_CryptoGetBalance_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
@@ -184,8 +217,9 @@ func (c *cryptoServiceClient) CryptoGetBalance(ctx context.Context, in *Query, o
}
func (c *cryptoServiceClient) GetAccountInfo(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Response, error) {
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(Response)
- err := c.cc.Invoke(ctx, "/proto.CryptoService/getAccountInfo", in, out, opts...)
+ err := c.cc.Invoke(ctx, CryptoService_GetAccountInfo_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
@@ -193,8 +227,9 @@ func (c *cryptoServiceClient) GetAccountInfo(ctx context.Context, in *Query, opt
}
func (c *cryptoServiceClient) GetTransactionReceipts(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Response, error) {
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(Response)
- err := c.cc.Invoke(ctx, "/proto.CryptoService/getTransactionReceipts", in, out, opts...)
+ err := c.cc.Invoke(ctx, CryptoService_GetTransactionReceipts_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
@@ -202,8 +237,9 @@ func (c *cryptoServiceClient) GetTransactionReceipts(ctx context.Context, in *Qu
}
func (c *cryptoServiceClient) GetFastTransactionRecord(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Response, error) {
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(Response)
- err := c.cc.Invoke(ctx, "/proto.CryptoService/getFastTransactionRecord", in, out, opts...)
+ err := c.cc.Invoke(ctx, CryptoService_GetFastTransactionRecord_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
@@ -211,8 +247,9 @@ func (c *cryptoServiceClient) GetFastTransactionRecord(ctx context.Context, in *
}
func (c *cryptoServiceClient) GetTxRecordByTxID(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Response, error) {
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(Response)
- err := c.cc.Invoke(ctx, "/proto.CryptoService/getTxRecordByTxID", in, out, opts...)
+ err := c.cc.Invoke(ctx, CryptoService_GetTxRecordByTxID_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
@@ -220,8 +257,9 @@ func (c *cryptoServiceClient) GetTxRecordByTxID(ctx context.Context, in *Query,
}
func (c *cryptoServiceClient) GetStakersByAccountID(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Response, error) {
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(Response)
- err := c.cc.Invoke(ctx, "/proto.CryptoService/getStakersByAccountID", in, out, opts...)
+ err := c.cc.Invoke(ctx, CryptoService_GetStakersByAccountID_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
@@ -230,7 +268,10 @@ func (c *cryptoServiceClient) GetStakersByAccountID(ctx context.Context, in *Que
// CryptoServiceServer is the server API for CryptoService service.
// All implementations must embed UnimplementedCryptoServiceServer
-// for forward compatibility
+// for forward compatibility.
+//
+// *
+// Transactions and queries for the Crypto Service
type CryptoServiceServer interface {
// *
// Creates a new account by submitting the transaction
@@ -287,9 +328,12 @@ type CryptoServiceServer interface {
mustEmbedUnimplementedCryptoServiceServer()
}
-// UnimplementedCryptoServiceServer must be embedded to have forward compatible implementations.
-type UnimplementedCryptoServiceServer struct {
-}
+// UnimplementedCryptoServiceServer must be embedded to have
+// forward compatible implementations.
+//
+// NOTE: this should be embedded by value instead of pointer to avoid a nil
+// pointer dereference when methods are called.
+type UnimplementedCryptoServiceServer struct{}
func (UnimplementedCryptoServiceServer) CreateAccount(context.Context, *Transaction) (*TransactionResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method CreateAccount not implemented")
@@ -340,6 +384,7 @@ func (UnimplementedCryptoServiceServer) GetStakersByAccountID(context.Context, *
return nil, status.Errorf(codes.Unimplemented, "method GetStakersByAccountID not implemented")
}
func (UnimplementedCryptoServiceServer) mustEmbedUnimplementedCryptoServiceServer() {}
+func (UnimplementedCryptoServiceServer) testEmbeddedByValue() {}
// UnsafeCryptoServiceServer may be embedded to opt out of forward compatibility for this service.
// Use of this interface is not recommended, as added methods to CryptoServiceServer will
@@ -349,6 +394,13 @@ type UnsafeCryptoServiceServer interface {
}
func RegisterCryptoServiceServer(s grpc.ServiceRegistrar, srv CryptoServiceServer) {
+ // If the following call pancis, it indicates UnimplementedCryptoServiceServer was
+ // embedded by pointer and is nil. This will cause panics if an
+ // unimplemented method is ever invoked, so we test this at initialization
+ // time to prevent it from happening at runtime later due to I/O.
+ if t, ok := srv.(interface{ testEmbeddedByValue() }); ok {
+ t.testEmbeddedByValue()
+ }
s.RegisterService(&CryptoService_ServiceDesc, srv)
}
@@ -362,7 +414,7 @@ func _CryptoService_CreateAccount_Handler(srv interface{}, ctx context.Context,
}
info := &grpc.UnaryServerInfo{
Server: srv,
- FullMethod: "/proto.CryptoService/createAccount",
+ FullMethod: CryptoService_CreateAccount_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(CryptoServiceServer).CreateAccount(ctx, req.(*Transaction))
@@ -380,7 +432,7 @@ func _CryptoService_UpdateAccount_Handler(srv interface{}, ctx context.Context,
}
info := &grpc.UnaryServerInfo{
Server: srv,
- FullMethod: "/proto.CryptoService/updateAccount",
+ FullMethod: CryptoService_UpdateAccount_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(CryptoServiceServer).UpdateAccount(ctx, req.(*Transaction))
@@ -398,7 +450,7 @@ func _CryptoService_CryptoTransfer_Handler(srv interface{}, ctx context.Context,
}
info := &grpc.UnaryServerInfo{
Server: srv,
- FullMethod: "/proto.CryptoService/cryptoTransfer",
+ FullMethod: CryptoService_CryptoTransfer_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(CryptoServiceServer).CryptoTransfer(ctx, req.(*Transaction))
@@ -416,7 +468,7 @@ func _CryptoService_CryptoDelete_Handler(srv interface{}, ctx context.Context, d
}
info := &grpc.UnaryServerInfo{
Server: srv,
- FullMethod: "/proto.CryptoService/cryptoDelete",
+ FullMethod: CryptoService_CryptoDelete_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(CryptoServiceServer).CryptoDelete(ctx, req.(*Transaction))
@@ -434,7 +486,7 @@ func _CryptoService_ApproveAllowances_Handler(srv interface{}, ctx context.Conte
}
info := &grpc.UnaryServerInfo{
Server: srv,
- FullMethod: "/proto.CryptoService/approveAllowances",
+ FullMethod: CryptoService_ApproveAllowances_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(CryptoServiceServer).ApproveAllowances(ctx, req.(*Transaction))
@@ -452,7 +504,7 @@ func _CryptoService_DeleteAllowances_Handler(srv interface{}, ctx context.Contex
}
info := &grpc.UnaryServerInfo{
Server: srv,
- FullMethod: "/proto.CryptoService/deleteAllowances",
+ FullMethod: CryptoService_DeleteAllowances_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(CryptoServiceServer).DeleteAllowances(ctx, req.(*Transaction))
@@ -470,7 +522,7 @@ func _CryptoService_AddLiveHash_Handler(srv interface{}, ctx context.Context, de
}
info := &grpc.UnaryServerInfo{
Server: srv,
- FullMethod: "/proto.CryptoService/addLiveHash",
+ FullMethod: CryptoService_AddLiveHash_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(CryptoServiceServer).AddLiveHash(ctx, req.(*Transaction))
@@ -488,7 +540,7 @@ func _CryptoService_DeleteLiveHash_Handler(srv interface{}, ctx context.Context,
}
info := &grpc.UnaryServerInfo{
Server: srv,
- FullMethod: "/proto.CryptoService/deleteLiveHash",
+ FullMethod: CryptoService_DeleteLiveHash_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(CryptoServiceServer).DeleteLiveHash(ctx, req.(*Transaction))
@@ -506,7 +558,7 @@ func _CryptoService_GetLiveHash_Handler(srv interface{}, ctx context.Context, de
}
info := &grpc.UnaryServerInfo{
Server: srv,
- FullMethod: "/proto.CryptoService/getLiveHash",
+ FullMethod: CryptoService_GetLiveHash_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(CryptoServiceServer).GetLiveHash(ctx, req.(*Query))
@@ -524,7 +576,7 @@ func _CryptoService_GetAccountRecords_Handler(srv interface{}, ctx context.Conte
}
info := &grpc.UnaryServerInfo{
Server: srv,
- FullMethod: "/proto.CryptoService/getAccountRecords",
+ FullMethod: CryptoService_GetAccountRecords_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(CryptoServiceServer).GetAccountRecords(ctx, req.(*Query))
@@ -542,7 +594,7 @@ func _CryptoService_CryptoGetBalance_Handler(srv interface{}, ctx context.Contex
}
info := &grpc.UnaryServerInfo{
Server: srv,
- FullMethod: "/proto.CryptoService/cryptoGetBalance",
+ FullMethod: CryptoService_CryptoGetBalance_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(CryptoServiceServer).CryptoGetBalance(ctx, req.(*Query))
@@ -560,7 +612,7 @@ func _CryptoService_GetAccountInfo_Handler(srv interface{}, ctx context.Context,
}
info := &grpc.UnaryServerInfo{
Server: srv,
- FullMethod: "/proto.CryptoService/getAccountInfo",
+ FullMethod: CryptoService_GetAccountInfo_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(CryptoServiceServer).GetAccountInfo(ctx, req.(*Query))
@@ -578,7 +630,7 @@ func _CryptoService_GetTransactionReceipts_Handler(srv interface{}, ctx context.
}
info := &grpc.UnaryServerInfo{
Server: srv,
- FullMethod: "/proto.CryptoService/getTransactionReceipts",
+ FullMethod: CryptoService_GetTransactionReceipts_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(CryptoServiceServer).GetTransactionReceipts(ctx, req.(*Query))
@@ -596,7 +648,7 @@ func _CryptoService_GetFastTransactionRecord_Handler(srv interface{}, ctx contex
}
info := &grpc.UnaryServerInfo{
Server: srv,
- FullMethod: "/proto.CryptoService/getFastTransactionRecord",
+ FullMethod: CryptoService_GetFastTransactionRecord_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(CryptoServiceServer).GetFastTransactionRecord(ctx, req.(*Query))
@@ -614,7 +666,7 @@ func _CryptoService_GetTxRecordByTxID_Handler(srv interface{}, ctx context.Conte
}
info := &grpc.UnaryServerInfo{
Server: srv,
- FullMethod: "/proto.CryptoService/getTxRecordByTxID",
+ FullMethod: CryptoService_GetTxRecordByTxID_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(CryptoServiceServer).GetTxRecordByTxID(ctx, req.(*Query))
@@ -632,7 +684,7 @@ func _CryptoService_GetStakersByAccountID_Handler(srv interface{}, ctx context.C
}
info := &grpc.UnaryServerInfo{
Server: srv,
- FullMethod: "/proto.CryptoService/getStakersByAccountID",
+ FullMethod: CryptoService_GetStakersByAccountID_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(CryptoServiceServer).GetStakersByAccountID(ctx, req.(*Query))
diff --git a/proto/services/crypto_transfer.pb.go b/proto/services/crypto_transfer.pb.go
index d39798b0..295b7583 100644
--- a/proto/services/crypto_transfer.pb.go
+++ b/proto/services/crypto_transfer.pb.go
@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
-// protoc-gen-go v1.32.0
+// protoc-gen-go v1.35.2
// protoc v4.25.3
// source: crypto_transfer.proto
@@ -47,11 +47,9 @@ type CryptoTransferTransactionBody struct {
func (x *CryptoTransferTransactionBody) Reset() {
*x = CryptoTransferTransactionBody{}
- if protoimpl.UnsafeEnabled {
- mi := &file_crypto_transfer_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_crypto_transfer_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *CryptoTransferTransactionBody) String() string {
@@ -62,7 +60,7 @@ func (*CryptoTransferTransactionBody) ProtoMessage() {}
func (x *CryptoTransferTransactionBody) ProtoReflect() protoreflect.Message {
mi := &file_crypto_transfer_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -125,7 +123,7 @@ func file_crypto_transfer_proto_rawDescGZIP() []byte {
}
var file_crypto_transfer_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
-var file_crypto_transfer_proto_goTypes = []interface{}{
+var file_crypto_transfer_proto_goTypes = []any{
(*CryptoTransferTransactionBody)(nil), // 0: proto.CryptoTransferTransactionBody
(*TransferList)(nil), // 1: proto.TransferList
(*TokenTransferList)(nil), // 2: proto.TokenTransferList
@@ -146,20 +144,6 @@ func file_crypto_transfer_proto_init() {
return
}
file_basic_types_proto_init()
- if !protoimpl.UnsafeEnabled {
- file_crypto_transfer_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*CryptoTransferTransactionBody); 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{
diff --git a/proto/services/crypto_update.pb.go b/proto/services/crypto_update.pb.go
index 4809ad68..3261e4cb 100644
--- a/proto/services/crypto_update.pb.go
+++ b/proto/services/crypto_update.pb.go
@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
-// protoc-gen-go v1.32.0
+// protoc-gen-go v1.35.2
// protoc v4.25.3
// source: crypto_update.proto
@@ -104,11 +104,9 @@ type CryptoUpdateTransactionBody struct {
func (x *CryptoUpdateTransactionBody) Reset() {
*x = CryptoUpdateTransactionBody{}
- if protoimpl.UnsafeEnabled {
- mi := &file_crypto_update_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_crypto_update_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *CryptoUpdateTransactionBody) String() string {
@@ -119,7 +117,7 @@ func (*CryptoUpdateTransactionBody) ProtoMessage() {}
func (x *CryptoUpdateTransactionBody) ProtoReflect() protoreflect.Message {
mi := &file_crypto_update_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -499,7 +497,7 @@ func file_crypto_update_proto_rawDescGZIP() []byte {
}
var file_crypto_update_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
-var file_crypto_update_proto_goTypes = []interface{}{
+var file_crypto_update_proto_goTypes = []any{
(*CryptoUpdateTransactionBody)(nil), // 0: proto.CryptoUpdateTransactionBody
(*AccountID)(nil), // 1: proto.AccountID
(*Key)(nil), // 2: proto.Key
@@ -538,21 +536,7 @@ func file_crypto_update_proto_init() {
file_basic_types_proto_init()
file_duration_proto_init()
file_timestamp_proto_init()
- if !protoimpl.UnsafeEnabled {
- file_crypto_update_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*CryptoUpdateTransactionBody); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- file_crypto_update_proto_msgTypes[0].OneofWrappers = []interface{}{
+ file_crypto_update_proto_msgTypes[0].OneofWrappers = []any{
(*CryptoUpdateTransactionBody_SendRecordThreshold)(nil),
(*CryptoUpdateTransactionBody_SendRecordThresholdWrapper)(nil),
(*CryptoUpdateTransactionBody_ReceiveRecordThreshold)(nil),
diff --git a/proto/services/custom_fees.pb.go b/proto/services/custom_fees.pb.go
index a2770f33..ed482570 100644
--- a/proto/services/custom_fees.pb.go
+++ b/proto/services/custom_fees.pb.go
@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
-// protoc-gen-go v1.32.0
+// protoc-gen-go v1.35.2
// protoc v4.25.3
// source: custom_fees.proto
@@ -47,11 +47,9 @@ type FractionalFee struct {
func (x *FractionalFee) Reset() {
*x = FractionalFee{}
- if protoimpl.UnsafeEnabled {
- mi := &file_custom_fees_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_custom_fees_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *FractionalFee) String() string {
@@ -62,7 +60,7 @@ func (*FractionalFee) ProtoMessage() {}
func (x *FractionalFee) ProtoReflect() protoreflect.Message {
mi := &file_custom_fees_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -124,11 +122,9 @@ type FixedFee struct {
func (x *FixedFee) Reset() {
*x = FixedFee{}
- if protoimpl.UnsafeEnabled {
- mi := &file_custom_fees_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_custom_fees_proto_msgTypes[1]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *FixedFee) String() string {
@@ -139,7 +135,7 @@ func (*FixedFee) ProtoMessage() {}
func (x *FixedFee) ProtoReflect() protoreflect.Message {
mi := &file_custom_fees_proto_msgTypes[1]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -208,11 +204,9 @@ type RoyaltyFee struct {
func (x *RoyaltyFee) Reset() {
*x = RoyaltyFee{}
- if protoimpl.UnsafeEnabled {
- mi := &file_custom_fees_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_custom_fees_proto_msgTypes[2]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *RoyaltyFee) String() string {
@@ -223,7 +217,7 @@ func (*RoyaltyFee) ProtoMessage() {}
func (x *RoyaltyFee) ProtoReflect() protoreflect.Message {
mi := &file_custom_fees_proto_msgTypes[2]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -280,11 +274,9 @@ type CustomFee struct {
func (x *CustomFee) Reset() {
*x = CustomFee{}
- if protoimpl.UnsafeEnabled {
- mi := &file_custom_fees_proto_msgTypes[3]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_custom_fees_proto_msgTypes[3]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *CustomFee) String() string {
@@ -295,7 +287,7 @@ func (*CustomFee) ProtoMessage() {}
func (x *CustomFee) ProtoReflect() protoreflect.Message {
mi := &file_custom_fees_proto_msgTypes[3]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -403,11 +395,9 @@ type AssessedCustomFee struct {
func (x *AssessedCustomFee) Reset() {
*x = AssessedCustomFee{}
- if protoimpl.UnsafeEnabled {
- mi := &file_custom_fees_proto_msgTypes[4]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_custom_fees_proto_msgTypes[4]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *AssessedCustomFee) String() string {
@@ -418,7 +408,7 @@ func (*AssessedCustomFee) ProtoMessage() {}
func (x *AssessedCustomFee) ProtoReflect() protoreflect.Message {
mi := &file_custom_fees_proto_msgTypes[4]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -548,7 +538,7 @@ func file_custom_fees_proto_rawDescGZIP() []byte {
}
var file_custom_fees_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
-var file_custom_fees_proto_goTypes = []interface{}{
+var file_custom_fees_proto_goTypes = []any{
(*FractionalFee)(nil), // 0: proto.FractionalFee
(*FixedFee)(nil), // 1: proto.FixedFee
(*RoyaltyFee)(nil), // 2: proto.RoyaltyFee
@@ -583,69 +573,7 @@ func file_custom_fees_proto_init() {
return
}
file_basic_types_proto_init()
- if !protoimpl.UnsafeEnabled {
- file_custom_fees_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*FractionalFee); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_custom_fees_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*FixedFee); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_custom_fees_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*RoyaltyFee); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_custom_fees_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*CustomFee); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_custom_fees_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*AssessedCustomFee); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- file_custom_fees_proto_msgTypes[3].OneofWrappers = []interface{}{
+ file_custom_fees_proto_msgTypes[3].OneofWrappers = []any{
(*CustomFee_FixedFee)(nil),
(*CustomFee_FractionalFee)(nil),
(*CustomFee_RoyaltyFee)(nil),
diff --git a/proto/services/duration.pb.go b/proto/services/duration.pb.go
index ac816ad2..12ac33aa 100644
--- a/proto/services/duration.pb.go
+++ b/proto/services/duration.pb.go
@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
-// protoc-gen-go v1.32.0
+// protoc-gen-go v1.35.2
// protoc v4.25.3
// source: duration.proto
@@ -34,11 +34,9 @@ type Duration struct {
func (x *Duration) Reset() {
*x = Duration{}
- if protoimpl.UnsafeEnabled {
- mi := &file_duration_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_duration_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *Duration) String() string {
@@ -49,7 +47,7 @@ func (*Duration) ProtoMessage() {}
func (x *Duration) ProtoReflect() protoreflect.Message {
mi := &file_duration_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -96,7 +94,7 @@ func file_duration_proto_rawDescGZIP() []byte {
}
var file_duration_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
-var file_duration_proto_goTypes = []interface{}{
+var file_duration_proto_goTypes = []any{
(*Duration)(nil), // 0: proto.Duration
}
var file_duration_proto_depIdxs = []int32{
@@ -112,20 +110,6 @@ func file_duration_proto_init() {
if File_duration_proto != nil {
return
}
- if !protoimpl.UnsafeEnabled {
- file_duration_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Duration); 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{
diff --git a/proto/services/ethereum_transaction.pb.go b/proto/services/ethereum_transaction.pb.go
index 27afad1a..03b29980 100644
--- a/proto/services/ethereum_transaction.pb.go
+++ b/proto/services/ethereum_transaction.pb.go
@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
-// protoc-gen-go v1.32.0
+// protoc-gen-go v1.35.2
// protoc v4.25.3
// source: ethereum_transaction.proto
@@ -54,11 +54,9 @@ type EthereumTransactionBody struct {
func (x *EthereumTransactionBody) Reset() {
*x = EthereumTransactionBody{}
- if protoimpl.UnsafeEnabled {
- mi := &file_ethereum_transaction_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_ethereum_transaction_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *EthereumTransactionBody) String() string {
@@ -69,7 +67,7 @@ func (*EthereumTransactionBody) ProtoMessage() {}
func (x *EthereumTransactionBody) ProtoReflect() protoreflect.Message {
mi := &file_ethereum_transaction_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -139,7 +137,7 @@ func file_ethereum_transaction_proto_rawDescGZIP() []byte {
}
var file_ethereum_transaction_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
-var file_ethereum_transaction_proto_goTypes = []interface{}{
+var file_ethereum_transaction_proto_goTypes = []any{
(*EthereumTransactionBody)(nil), // 0: proto.EthereumTransactionBody
(*FileID)(nil), // 1: proto.FileID
}
@@ -158,20 +156,6 @@ func file_ethereum_transaction_proto_init() {
return
}
file_basic_types_proto_init()
- if !protoimpl.UnsafeEnabled {
- file_ethereum_transaction_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*EthereumTransactionBody); 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{
diff --git a/proto/services/exchange_rate.pb.go b/proto/services/exchange_rate.pb.go
index dcb730a7..2ea83a72 100644
--- a/proto/services/exchange_rate.pb.go
+++ b/proto/services/exchange_rate.pb.go
@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
-// protoc-gen-go v1.32.0
+// protoc-gen-go v1.35.2
// protoc v4.25.3
// source: exchange_rate.proto
@@ -41,11 +41,9 @@ type ExchangeRate struct {
func (x *ExchangeRate) Reset() {
*x = ExchangeRate{}
- if protoimpl.UnsafeEnabled {
- mi := &file_exchange_rate_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_exchange_rate_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *ExchangeRate) String() string {
@@ -56,7 +54,7 @@ func (*ExchangeRate) ProtoMessage() {}
func (x *ExchangeRate) ProtoReflect() protoreflect.Message {
mi := &file_exchange_rate_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -109,11 +107,9 @@ type ExchangeRateSet struct {
func (x *ExchangeRateSet) Reset() {
*x = ExchangeRateSet{}
- if protoimpl.UnsafeEnabled {
- mi := &file_exchange_rate_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_exchange_rate_proto_msgTypes[1]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *ExchangeRateSet) String() string {
@@ -124,7 +120,7 @@ func (*ExchangeRateSet) ProtoMessage() {}
func (x *ExchangeRateSet) ProtoReflect() protoreflect.Message {
mi := &file_exchange_rate_proto_msgTypes[1]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -194,7 +190,7 @@ func file_exchange_rate_proto_rawDescGZIP() []byte {
}
var file_exchange_rate_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
-var file_exchange_rate_proto_goTypes = []interface{}{
+var file_exchange_rate_proto_goTypes = []any{
(*ExchangeRate)(nil), // 0: proto.ExchangeRate
(*ExchangeRateSet)(nil), // 1: proto.ExchangeRateSet
(*TimestampSeconds)(nil), // 2: proto.TimestampSeconds
@@ -216,32 +212,6 @@ func file_exchange_rate_proto_init() {
return
}
file_timestamp_proto_init()
- if !protoimpl.UnsafeEnabled {
- file_exchange_rate_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ExchangeRate); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_exchange_rate_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ExchangeRateSet); 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{
diff --git a/proto/services/file.pb.go b/proto/services/file.pb.go
index b893cdf1..1122e41f 100644
--- a/proto/services/file.pb.go
+++ b/proto/services/file.pb.go
@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
-// protoc-gen-go v1.32.0
+// protoc-gen-go v1.35.2
// protoc v4.25.3
// source: file.proto
@@ -55,11 +55,9 @@ type File struct {
func (x *File) Reset() {
*x = File{}
- if protoimpl.UnsafeEnabled {
- mi := &file_file_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_file_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *File) String() string {
@@ -70,7 +68,7 @@ func (*File) ProtoMessage() {}
func (x *File) ProtoReflect() protoreflect.Message {
mi := &file_file_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -175,7 +173,7 @@ func file_file_proto_rawDescGZIP() []byte {
}
var file_file_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
-var file_file_proto_goTypes = []interface{}{
+var file_file_proto_goTypes = []any{
(*File)(nil), // 0: proto.File
(*FileID)(nil), // 1: proto.FileID
(*KeyList)(nil), // 2: proto.KeyList
@@ -196,20 +194,6 @@ func file_file_proto_init() {
return
}
file_basic_types_proto_init()
- if !protoimpl.UnsafeEnabled {
- file_file_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*File); 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{
diff --git a/proto/services/file_append.pb.go b/proto/services/file_append.pb.go
index f4583e78..6f73c81f 100644
--- a/proto/services/file_append.pb.go
+++ b/proto/services/file_append.pb.go
@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
-// protoc-gen-go v1.32.0
+// protoc-gen-go v1.35.2
// protoc v4.25.3
// source: file_append.proto
@@ -41,11 +41,9 @@ type FileAppendTransactionBody struct {
func (x *FileAppendTransactionBody) Reset() {
*x = FileAppendTransactionBody{}
- if protoimpl.UnsafeEnabled {
- mi := &file_file_append_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_file_append_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *FileAppendTransactionBody) String() string {
@@ -56,7 +54,7 @@ func (*FileAppendTransactionBody) ProtoMessage() {}
func (x *FileAppendTransactionBody) ProtoReflect() protoreflect.Message {
mi := &file_file_append_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -115,7 +113,7 @@ func file_file_append_proto_rawDescGZIP() []byte {
}
var file_file_append_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
-var file_file_append_proto_goTypes = []interface{}{
+var file_file_append_proto_goTypes = []any{
(*FileAppendTransactionBody)(nil), // 0: proto.FileAppendTransactionBody
(*FileID)(nil), // 1: proto.FileID
}
@@ -134,20 +132,6 @@ func file_file_append_proto_init() {
return
}
file_basic_types_proto_init()
- if !protoimpl.UnsafeEnabled {
- file_file_append_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*FileAppendTransactionBody); 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{
diff --git a/proto/services/file_create.pb.go b/proto/services/file_create.pb.go
index abbcd01a..f3c18d1a 100644
--- a/proto/services/file_create.pb.go
+++ b/proto/services/file_create.pb.go
@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
-// protoc-gen-go v1.32.0
+// protoc-gen-go v1.35.2
// protoc v4.25.3
// source: file_create.proto
@@ -86,11 +86,9 @@ type FileCreateTransactionBody struct {
func (x *FileCreateTransactionBody) Reset() {
*x = FileCreateTransactionBody{}
- if protoimpl.UnsafeEnabled {
- mi := &file_file_create_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_file_create_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *FileCreateTransactionBody) String() string {
@@ -101,7 +99,7 @@ func (*FileCreateTransactionBody) ProtoMessage() {}
func (x *FileCreateTransactionBody) ProtoReflect() protoreflect.Message {
mi := &file_file_create_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -210,7 +208,7 @@ func file_file_create_proto_rawDescGZIP() []byte {
}
var file_file_create_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
-var file_file_create_proto_goTypes = []interface{}{
+var file_file_create_proto_goTypes = []any{
(*FileCreateTransactionBody)(nil), // 0: proto.FileCreateTransactionBody
(*Timestamp)(nil), // 1: proto.Timestamp
(*KeyList)(nil), // 2: proto.KeyList
@@ -238,20 +236,6 @@ func file_file_create_proto_init() {
}
file_basic_types_proto_init()
file_timestamp_proto_init()
- if !protoimpl.UnsafeEnabled {
- file_file_create_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*FileCreateTransactionBody); 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{
diff --git a/proto/services/file_delete.pb.go b/proto/services/file_delete.pb.go
index ea82bd0f..e603d9b9 100644
--- a/proto/services/file_delete.pb.go
+++ b/proto/services/file_delete.pb.go
@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
-// protoc-gen-go v1.32.0
+// protoc-gen-go v1.35.2
// protoc v4.25.3
// source: file_delete.proto
@@ -39,11 +39,9 @@ type FileDeleteTransactionBody struct {
func (x *FileDeleteTransactionBody) Reset() {
*x = FileDeleteTransactionBody{}
- if protoimpl.UnsafeEnabled {
- mi := &file_file_delete_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_file_delete_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *FileDeleteTransactionBody) String() string {
@@ -54,7 +52,7 @@ func (*FileDeleteTransactionBody) ProtoMessage() {}
func (x *FileDeleteTransactionBody) ProtoReflect() protoreflect.Message {
mi := &file_file_delete_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -105,7 +103,7 @@ func file_file_delete_proto_rawDescGZIP() []byte {
}
var file_file_delete_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
-var file_file_delete_proto_goTypes = []interface{}{
+var file_file_delete_proto_goTypes = []any{
(*FileDeleteTransactionBody)(nil), // 0: proto.FileDeleteTransactionBody
(*FileID)(nil), // 1: proto.FileID
}
@@ -124,20 +122,6 @@ func file_file_delete_proto_init() {
return
}
file_basic_types_proto_init()
- if !protoimpl.UnsafeEnabled {
- file_file_delete_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*FileDeleteTransactionBody); 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{
diff --git a/proto/services/file_get_contents.pb.go b/proto/services/file_get_contents.pb.go
index a62f4455..88604f72 100644
--- a/proto/services/file_get_contents.pb.go
+++ b/proto/services/file_get_contents.pb.go
@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
-// protoc-gen-go v1.32.0
+// protoc-gen-go v1.35.2
// protoc v4.25.3
// source: file_get_contents.proto
@@ -38,11 +38,9 @@ type FileGetContentsQuery struct {
func (x *FileGetContentsQuery) Reset() {
*x = FileGetContentsQuery{}
- if protoimpl.UnsafeEnabled {
- mi := &file_file_get_contents_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_file_get_contents_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *FileGetContentsQuery) String() string {
@@ -53,7 +51,7 @@ func (*FileGetContentsQuery) ProtoMessage() {}
func (x *FileGetContentsQuery) ProtoReflect() protoreflect.Message {
mi := &file_file_get_contents_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -100,11 +98,9 @@ type FileGetContentsResponse struct {
func (x *FileGetContentsResponse) Reset() {
*x = FileGetContentsResponse{}
- if protoimpl.UnsafeEnabled {
- mi := &file_file_get_contents_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_file_get_contents_proto_msgTypes[1]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *FileGetContentsResponse) String() string {
@@ -115,7 +111,7 @@ func (*FileGetContentsResponse) ProtoMessage() {}
func (x *FileGetContentsResponse) ProtoReflect() protoreflect.Message {
mi := &file_file_get_contents_proto_msgTypes[1]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -159,11 +155,9 @@ type FileGetContentsResponse_FileContents struct {
func (x *FileGetContentsResponse_FileContents) Reset() {
*x = FileGetContentsResponse_FileContents{}
- if protoimpl.UnsafeEnabled {
- mi := &file_file_get_contents_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_file_get_contents_proto_msgTypes[2]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *FileGetContentsResponse_FileContents) String() string {
@@ -174,7 +168,7 @@ func (*FileGetContentsResponse_FileContents) ProtoMessage() {}
func (x *FileGetContentsResponse_FileContents) ProtoReflect() protoreflect.Message {
mi := &file_file_get_contents_proto_msgTypes[2]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -252,7 +246,7 @@ func file_file_get_contents_proto_rawDescGZIP() []byte {
}
var file_file_get_contents_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
-var file_file_get_contents_proto_goTypes = []interface{}{
+var file_file_get_contents_proto_goTypes = []any{
(*FileGetContentsQuery)(nil), // 0: proto.FileGetContentsQuery
(*FileGetContentsResponse)(nil), // 1: proto.FileGetContentsResponse
(*FileGetContentsResponse_FileContents)(nil), // 2: proto.FileGetContentsResponse.FileContents
@@ -281,44 +275,6 @@ func file_file_get_contents_proto_init() {
file_basic_types_proto_init()
file_query_header_proto_init()
file_response_header_proto_init()
- if !protoimpl.UnsafeEnabled {
- file_file_get_contents_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*FileGetContentsQuery); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_file_get_contents_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*FileGetContentsResponse); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_file_get_contents_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*FileGetContentsResponse_FileContents); 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{
diff --git a/proto/services/file_get_info.pb.go b/proto/services/file_get_info.pb.go
index 5fda5371..813d3286 100644
--- a/proto/services/file_get_info.pb.go
+++ b/proto/services/file_get_info.pb.go
@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
-// protoc-gen-go v1.32.0
+// protoc-gen-go v1.35.2
// protoc v4.25.3
// source: file_get_info.proto
@@ -42,11 +42,9 @@ type FileGetInfoQuery struct {
func (x *FileGetInfoQuery) Reset() {
*x = FileGetInfoQuery{}
- if protoimpl.UnsafeEnabled {
- mi := &file_file_get_info_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_file_get_info_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *FileGetInfoQuery) String() string {
@@ -57,7 +55,7 @@ func (*FileGetInfoQuery) ProtoMessage() {}
func (x *FileGetInfoQuery) ProtoReflect() protoreflect.Message {
mi := &file_file_get_info_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -104,11 +102,9 @@ type FileGetInfoResponse struct {
func (x *FileGetInfoResponse) Reset() {
*x = FileGetInfoResponse{}
- if protoimpl.UnsafeEnabled {
- mi := &file_file_get_info_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_file_get_info_proto_msgTypes[1]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *FileGetInfoResponse) String() string {
@@ -119,7 +115,7 @@ func (*FileGetInfoResponse) ProtoMessage() {}
func (x *FileGetInfoResponse) ProtoReflect() protoreflect.Message {
mi := &file_file_get_info_proto_msgTypes[1]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -178,11 +174,9 @@ type FileGetInfoResponse_FileInfo struct {
func (x *FileGetInfoResponse_FileInfo) Reset() {
*x = FileGetInfoResponse_FileInfo{}
- if protoimpl.UnsafeEnabled {
- mi := &file_file_get_info_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_file_get_info_proto_msgTypes[2]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *FileGetInfoResponse_FileInfo) String() string {
@@ -193,7 +187,7 @@ func (*FileGetInfoResponse_FileInfo) ProtoMessage() {}
func (x *FileGetInfoResponse_FileInfo) ProtoReflect() protoreflect.Message {
mi := &file_file_get_info_proto_msgTypes[2]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -315,7 +309,7 @@ func file_file_get_info_proto_rawDescGZIP() []byte {
}
var file_file_get_info_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
-var file_file_get_info_proto_goTypes = []interface{}{
+var file_file_get_info_proto_goTypes = []any{
(*FileGetInfoQuery)(nil), // 0: proto.FileGetInfoQuery
(*FileGetInfoResponse)(nil), // 1: proto.FileGetInfoResponse
(*FileGetInfoResponse_FileInfo)(nil), // 2: proto.FileGetInfoResponse.FileInfo
@@ -349,44 +343,6 @@ func file_file_get_info_proto_init() {
file_basic_types_proto_init()
file_query_header_proto_init()
file_response_header_proto_init()
- if !protoimpl.UnsafeEnabled {
- file_file_get_info_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*FileGetInfoQuery); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_file_get_info_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*FileGetInfoResponse); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_file_get_info_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*FileGetInfoResponse_FileInfo); 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{
diff --git a/proto/services/file_service.pb.go b/proto/services/file_service.pb.go
index 268aa628..6345ff73 100644
--- a/proto/services/file_service.pb.go
+++ b/proto/services/file_service.pb.go
@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
-// protoc-gen-go v1.32.0
+// protoc-gen-go v1.35.2
// protoc v4.25.3
// source: file_service.proto
@@ -65,7 +65,7 @@ var file_file_service_proto_rawDesc = []byte{
0x72, 0x6f, 0x74, 0x6f, 0x33,
}
-var file_file_service_proto_goTypes = []interface{}{
+var file_file_service_proto_goTypes = []any{
(*Transaction)(nil), // 0: proto.Transaction
(*Query)(nil), // 1: proto.Query
(*TransactionResponse)(nil), // 2: proto.TransactionResponse
diff --git a/proto/services/file_service_grpc.pb.go b/proto/services/file_service_grpc.pb.go
index fdfacf3c..c3cc6838 100644
--- a/proto/services/file_service_grpc.pb.go
+++ b/proto/services/file_service_grpc.pb.go
@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
// versions:
-// - protoc-gen-go-grpc v1.2.0
+// - protoc-gen-go-grpc v1.5.1
// - protoc v4.25.3
// source: file_service.proto
@@ -15,12 +15,26 @@ import (
// 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
+// Requires gRPC-Go v1.64.0 or later.
+const _ = grpc.SupportPackageIsVersion9
+
+const (
+ FileService_CreateFile_FullMethodName = "/proto.FileService/createFile"
+ FileService_UpdateFile_FullMethodName = "/proto.FileService/updateFile"
+ FileService_DeleteFile_FullMethodName = "/proto.FileService/deleteFile"
+ FileService_AppendContent_FullMethodName = "/proto.FileService/appendContent"
+ FileService_GetFileContent_FullMethodName = "/proto.FileService/getFileContent"
+ FileService_GetFileInfo_FullMethodName = "/proto.FileService/getFileInfo"
+ FileService_SystemDelete_FullMethodName = "/proto.FileService/systemDelete"
+ FileService_SystemUndelete_FullMethodName = "/proto.FileService/systemUndelete"
+)
// FileServiceClient is the client API for FileService 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.
+//
+// *
+// Transactions and queries for the file service.
type FileServiceClient interface {
// *
// Creates a file
@@ -57,8 +71,9 @@ func NewFileServiceClient(cc grpc.ClientConnInterface) FileServiceClient {
}
func (c *fileServiceClient) CreateFile(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error) {
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(TransactionResponse)
- err := c.cc.Invoke(ctx, "/proto.FileService/createFile", in, out, opts...)
+ err := c.cc.Invoke(ctx, FileService_CreateFile_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
@@ -66,8 +81,9 @@ func (c *fileServiceClient) CreateFile(ctx context.Context, in *Transaction, opt
}
func (c *fileServiceClient) UpdateFile(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error) {
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(TransactionResponse)
- err := c.cc.Invoke(ctx, "/proto.FileService/updateFile", in, out, opts...)
+ err := c.cc.Invoke(ctx, FileService_UpdateFile_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
@@ -75,8 +91,9 @@ func (c *fileServiceClient) UpdateFile(ctx context.Context, in *Transaction, opt
}
func (c *fileServiceClient) DeleteFile(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error) {
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(TransactionResponse)
- err := c.cc.Invoke(ctx, "/proto.FileService/deleteFile", in, out, opts...)
+ err := c.cc.Invoke(ctx, FileService_DeleteFile_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
@@ -84,8 +101,9 @@ func (c *fileServiceClient) DeleteFile(ctx context.Context, in *Transaction, opt
}
func (c *fileServiceClient) AppendContent(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error) {
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(TransactionResponse)
- err := c.cc.Invoke(ctx, "/proto.FileService/appendContent", in, out, opts...)
+ err := c.cc.Invoke(ctx, FileService_AppendContent_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
@@ -93,8 +111,9 @@ func (c *fileServiceClient) AppendContent(ctx context.Context, in *Transaction,
}
func (c *fileServiceClient) GetFileContent(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Response, error) {
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(Response)
- err := c.cc.Invoke(ctx, "/proto.FileService/getFileContent", in, out, opts...)
+ err := c.cc.Invoke(ctx, FileService_GetFileContent_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
@@ -102,8 +121,9 @@ func (c *fileServiceClient) GetFileContent(ctx context.Context, in *Query, opts
}
func (c *fileServiceClient) GetFileInfo(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Response, error) {
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(Response)
- err := c.cc.Invoke(ctx, "/proto.FileService/getFileInfo", in, out, opts...)
+ err := c.cc.Invoke(ctx, FileService_GetFileInfo_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
@@ -111,8 +131,9 @@ func (c *fileServiceClient) GetFileInfo(ctx context.Context, in *Query, opts ...
}
func (c *fileServiceClient) SystemDelete(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error) {
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(TransactionResponse)
- err := c.cc.Invoke(ctx, "/proto.FileService/systemDelete", in, out, opts...)
+ err := c.cc.Invoke(ctx, FileService_SystemDelete_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
@@ -120,8 +141,9 @@ func (c *fileServiceClient) SystemDelete(ctx context.Context, in *Transaction, o
}
func (c *fileServiceClient) SystemUndelete(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error) {
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(TransactionResponse)
- err := c.cc.Invoke(ctx, "/proto.FileService/systemUndelete", in, out, opts...)
+ err := c.cc.Invoke(ctx, FileService_SystemUndelete_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
@@ -130,7 +152,10 @@ func (c *fileServiceClient) SystemUndelete(ctx context.Context, in *Transaction,
// FileServiceServer is the server API for FileService service.
// All implementations must embed UnimplementedFileServiceServer
-// for forward compatibility
+// for forward compatibility.
+//
+// *
+// Transactions and queries for the file service.
type FileServiceServer interface {
// *
// Creates a file
@@ -159,9 +184,12 @@ type FileServiceServer interface {
mustEmbedUnimplementedFileServiceServer()
}
-// UnimplementedFileServiceServer must be embedded to have forward compatible implementations.
-type UnimplementedFileServiceServer struct {
-}
+// UnimplementedFileServiceServer must be embedded to have
+// forward compatible implementations.
+//
+// NOTE: this should be embedded by value instead of pointer to avoid a nil
+// pointer dereference when methods are called.
+type UnimplementedFileServiceServer struct{}
func (UnimplementedFileServiceServer) CreateFile(context.Context, *Transaction) (*TransactionResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method CreateFile not implemented")
@@ -188,6 +216,7 @@ func (UnimplementedFileServiceServer) SystemUndelete(context.Context, *Transacti
return nil, status.Errorf(codes.Unimplemented, "method SystemUndelete not implemented")
}
func (UnimplementedFileServiceServer) mustEmbedUnimplementedFileServiceServer() {}
+func (UnimplementedFileServiceServer) testEmbeddedByValue() {}
// UnsafeFileServiceServer may be embedded to opt out of forward compatibility for this service.
// Use of this interface is not recommended, as added methods to FileServiceServer will
@@ -197,6 +226,13 @@ type UnsafeFileServiceServer interface {
}
func RegisterFileServiceServer(s grpc.ServiceRegistrar, srv FileServiceServer) {
+ // If the following call pancis, it indicates UnimplementedFileServiceServer was
+ // embedded by pointer and is nil. This will cause panics if an
+ // unimplemented method is ever invoked, so we test this at initialization
+ // time to prevent it from happening at runtime later due to I/O.
+ if t, ok := srv.(interface{ testEmbeddedByValue() }); ok {
+ t.testEmbeddedByValue()
+ }
s.RegisterService(&FileService_ServiceDesc, srv)
}
@@ -210,7 +246,7 @@ func _FileService_CreateFile_Handler(srv interface{}, ctx context.Context, dec f
}
info := &grpc.UnaryServerInfo{
Server: srv,
- FullMethod: "/proto.FileService/createFile",
+ FullMethod: FileService_CreateFile_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(FileServiceServer).CreateFile(ctx, req.(*Transaction))
@@ -228,7 +264,7 @@ func _FileService_UpdateFile_Handler(srv interface{}, ctx context.Context, dec f
}
info := &grpc.UnaryServerInfo{
Server: srv,
- FullMethod: "/proto.FileService/updateFile",
+ FullMethod: FileService_UpdateFile_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(FileServiceServer).UpdateFile(ctx, req.(*Transaction))
@@ -246,7 +282,7 @@ func _FileService_DeleteFile_Handler(srv interface{}, ctx context.Context, dec f
}
info := &grpc.UnaryServerInfo{
Server: srv,
- FullMethod: "/proto.FileService/deleteFile",
+ FullMethod: FileService_DeleteFile_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(FileServiceServer).DeleteFile(ctx, req.(*Transaction))
@@ -264,7 +300,7 @@ func _FileService_AppendContent_Handler(srv interface{}, ctx context.Context, de
}
info := &grpc.UnaryServerInfo{
Server: srv,
- FullMethod: "/proto.FileService/appendContent",
+ FullMethod: FileService_AppendContent_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(FileServiceServer).AppendContent(ctx, req.(*Transaction))
@@ -282,7 +318,7 @@ func _FileService_GetFileContent_Handler(srv interface{}, ctx context.Context, d
}
info := &grpc.UnaryServerInfo{
Server: srv,
- FullMethod: "/proto.FileService/getFileContent",
+ FullMethod: FileService_GetFileContent_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(FileServiceServer).GetFileContent(ctx, req.(*Query))
@@ -300,7 +336,7 @@ func _FileService_GetFileInfo_Handler(srv interface{}, ctx context.Context, dec
}
info := &grpc.UnaryServerInfo{
Server: srv,
- FullMethod: "/proto.FileService/getFileInfo",
+ FullMethod: FileService_GetFileInfo_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(FileServiceServer).GetFileInfo(ctx, req.(*Query))
@@ -318,7 +354,7 @@ func _FileService_SystemDelete_Handler(srv interface{}, ctx context.Context, dec
}
info := &grpc.UnaryServerInfo{
Server: srv,
- FullMethod: "/proto.FileService/systemDelete",
+ FullMethod: FileService_SystemDelete_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(FileServiceServer).SystemDelete(ctx, req.(*Transaction))
@@ -336,7 +372,7 @@ func _FileService_SystemUndelete_Handler(srv interface{}, ctx context.Context, d
}
info := &grpc.UnaryServerInfo{
Server: srv,
- FullMethod: "/proto.FileService/systemUndelete",
+ FullMethod: FileService_SystemUndelete_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(FileServiceServer).SystemUndelete(ctx, req.(*Transaction))
diff --git a/proto/services/file_update.pb.go b/proto/services/file_update.pb.go
index 6dfb2374..98c1f4a3 100644
--- a/proto/services/file_update.pb.go
+++ b/proto/services/file_update.pb.go
@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
-// protoc-gen-go v1.32.0
+// protoc-gen-go v1.35.2
// protoc v4.25.3
// source: file_update.proto
@@ -53,11 +53,9 @@ type FileUpdateTransactionBody struct {
func (x *FileUpdateTransactionBody) Reset() {
*x = FileUpdateTransactionBody{}
- if protoimpl.UnsafeEnabled {
- mi := &file_file_update_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_file_update_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *FileUpdateTransactionBody) String() string {
@@ -68,7 +66,7 @@ func (*FileUpdateTransactionBody) ProtoMessage() {}
func (x *FileUpdateTransactionBody) ProtoReflect() protoreflect.Message {
mi := &file_file_update_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -160,7 +158,7 @@ func file_file_update_proto_rawDescGZIP() []byte {
}
var file_file_update_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
-var file_file_update_proto_goTypes = []interface{}{
+var file_file_update_proto_goTypes = []any{
(*FileUpdateTransactionBody)(nil), // 0: proto.FileUpdateTransactionBody
(*FileID)(nil), // 1: proto.FileID
(*Timestamp)(nil), // 2: proto.Timestamp
@@ -186,20 +184,6 @@ func file_file_update_proto_init() {
}
file_basic_types_proto_init()
file_timestamp_proto_init()
- if !protoimpl.UnsafeEnabled {
- file_file_update_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*FileUpdateTransactionBody); 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{
diff --git a/proto/services/freeze.pb.go b/proto/services/freeze.pb.go
index 8274251b..6f17dae2 100644
--- a/proto/services/freeze.pb.go
+++ b/proto/services/freeze.pb.go
@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
-// protoc-gen-go v1.32.0
+// protoc-gen-go v1.35.2
// protoc v4.25.3
// source: freeze.proto
@@ -69,11 +69,9 @@ type FreezeTransactionBody struct {
func (x *FreezeTransactionBody) Reset() {
*x = FreezeTransactionBody{}
- if protoimpl.UnsafeEnabled {
- mi := &file_freeze_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_freeze_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *FreezeTransactionBody) String() string {
@@ -84,7 +82,7 @@ func (*FreezeTransactionBody) ProtoMessage() {}
func (x *FreezeTransactionBody) ProtoReflect() protoreflect.Message {
mi := &file_freeze_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -206,7 +204,7 @@ func file_freeze_proto_rawDescGZIP() []byte {
}
var file_freeze_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
-var file_freeze_proto_goTypes = []interface{}{
+var file_freeze_proto_goTypes = []any{
(*FreezeTransactionBody)(nil), // 0: proto.FreezeTransactionBody
(*FileID)(nil), // 1: proto.FileID
(*Timestamp)(nil), // 2: proto.Timestamp
@@ -231,20 +229,6 @@ func file_freeze_proto_init() {
file_timestamp_proto_init()
file_basic_types_proto_init()
file_freeze_type_proto_init()
- if !protoimpl.UnsafeEnabled {
- file_freeze_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*FreezeTransactionBody); 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{
diff --git a/proto/services/freeze_service.pb.go b/proto/services/freeze_service.pb.go
index 9e3c0327..0c11998a 100644
--- a/proto/services/freeze_service.pb.go
+++ b/proto/services/freeze_service.pb.go
@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
-// protoc-gen-go v1.32.0
+// protoc-gen-go v1.35.2
// protoc v4.25.3
// source: freeze_service.proto
@@ -37,7 +37,7 @@ var file_freeze_service_proto_rawDesc = []byte{
0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
-var file_freeze_service_proto_goTypes = []interface{}{
+var file_freeze_service_proto_goTypes = []any{
(*Transaction)(nil), // 0: proto.Transaction
(*TransactionResponse)(nil), // 1: proto.TransactionResponse
}
diff --git a/proto/services/freeze_service_grpc.pb.go b/proto/services/freeze_service_grpc.pb.go
index c6b4154d..64936583 100644
--- a/proto/services/freeze_service_grpc.pb.go
+++ b/proto/services/freeze_service_grpc.pb.go
@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
// versions:
-// - protoc-gen-go-grpc v1.2.0
+// - protoc-gen-go-grpc v1.5.1
// - protoc v4.25.3
// source: freeze_service.proto
@@ -15,12 +15,19 @@ import (
// 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
+// Requires gRPC-Go v1.64.0 or later.
+const _ = grpc.SupportPackageIsVersion9
+
+const (
+ FreezeService_Freeze_FullMethodName = "/proto.FreezeService/freeze"
+)
// FreezeServiceClient is the client API for FreezeService 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.
+//
+// *
+// The request and responses for freeze service.
type FreezeServiceClient interface {
// *
// Freezes the nodes by submitting the transaction. The grpc server returns the
@@ -37,8 +44,9 @@ func NewFreezeServiceClient(cc grpc.ClientConnInterface) FreezeServiceClient {
}
func (c *freezeServiceClient) Freeze(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error) {
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(TransactionResponse)
- err := c.cc.Invoke(ctx, "/proto.FreezeService/freeze", in, out, opts...)
+ err := c.cc.Invoke(ctx, FreezeService_Freeze_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
@@ -47,7 +55,10 @@ func (c *freezeServiceClient) Freeze(ctx context.Context, in *Transaction, opts
// FreezeServiceServer is the server API for FreezeService service.
// All implementations must embed UnimplementedFreezeServiceServer
-// for forward compatibility
+// for forward compatibility.
+//
+// *
+// The request and responses for freeze service.
type FreezeServiceServer interface {
// *
// Freezes the nodes by submitting the transaction. The grpc server returns the
@@ -56,14 +67,18 @@ type FreezeServiceServer interface {
mustEmbedUnimplementedFreezeServiceServer()
}
-// UnimplementedFreezeServiceServer must be embedded to have forward compatible implementations.
-type UnimplementedFreezeServiceServer struct {
-}
+// UnimplementedFreezeServiceServer must be embedded to have
+// forward compatible implementations.
+//
+// NOTE: this should be embedded by value instead of pointer to avoid a nil
+// pointer dereference when methods are called.
+type UnimplementedFreezeServiceServer struct{}
func (UnimplementedFreezeServiceServer) Freeze(context.Context, *Transaction) (*TransactionResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method Freeze not implemented")
}
func (UnimplementedFreezeServiceServer) mustEmbedUnimplementedFreezeServiceServer() {}
+func (UnimplementedFreezeServiceServer) testEmbeddedByValue() {}
// UnsafeFreezeServiceServer may be embedded to opt out of forward compatibility for this service.
// Use of this interface is not recommended, as added methods to FreezeServiceServer will
@@ -73,6 +88,13 @@ type UnsafeFreezeServiceServer interface {
}
func RegisterFreezeServiceServer(s grpc.ServiceRegistrar, srv FreezeServiceServer) {
+ // If the following call pancis, it indicates UnimplementedFreezeServiceServer was
+ // embedded by pointer and is nil. This will cause panics if an
+ // unimplemented method is ever invoked, so we test this at initialization
+ // time to prevent it from happening at runtime later due to I/O.
+ if t, ok := srv.(interface{ testEmbeddedByValue() }); ok {
+ t.testEmbeddedByValue()
+ }
s.RegisterService(&FreezeService_ServiceDesc, srv)
}
@@ -86,7 +108,7 @@ func _FreezeService_Freeze_Handler(srv interface{}, ctx context.Context, dec fun
}
info := &grpc.UnaryServerInfo{
Server: srv,
- FullMethod: "/proto.FreezeService/freeze",
+ FullMethod: FreezeService_Freeze_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(FreezeServiceServer).Freeze(ctx, req.(*Transaction))
diff --git a/proto/services/freeze_type.pb.go b/proto/services/freeze_type.pb.go
index 8651b423..6f981351 100644
--- a/proto/services/freeze_type.pb.go
+++ b/proto/services/freeze_type.pb.go
@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
-// protoc-gen-go v1.32.0
+// protoc-gen-go v1.35.2
// protoc v4.25.3
// source: freeze_type.proto
@@ -133,7 +133,7 @@ func file_freeze_type_proto_rawDescGZIP() []byte {
}
var file_freeze_type_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
-var file_freeze_type_proto_goTypes = []interface{}{
+var file_freeze_type_proto_goTypes = []any{
(FreezeType)(0), // 0: proto.FreezeType
}
var file_freeze_type_proto_depIdxs = []int32{
diff --git a/proto/services/get_account_details.pb.go b/proto/services/get_account_details.pb.go
index 324a6851..03d3e41c 100644
--- a/proto/services/get_account_details.pb.go
+++ b/proto/services/get_account_details.pb.go
@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
-// protoc-gen-go v1.32.0
+// protoc-gen-go v1.35.2
// protoc v4.25.3
// source: get_account_details.proto
@@ -40,11 +40,9 @@ type GetAccountDetailsQuery struct {
func (x *GetAccountDetailsQuery) Reset() {
*x = GetAccountDetailsQuery{}
- if protoimpl.UnsafeEnabled {
- mi := &file_get_account_details_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_get_account_details_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *GetAccountDetailsQuery) String() string {
@@ -55,7 +53,7 @@ func (*GetAccountDetailsQuery) ProtoMessage() {}
func (x *GetAccountDetailsQuery) ProtoReflect() protoreflect.Message {
mi := &file_get_account_details_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -102,11 +100,9 @@ type GetAccountDetailsResponse struct {
func (x *GetAccountDetailsResponse) Reset() {
*x = GetAccountDetailsResponse{}
- if protoimpl.UnsafeEnabled {
- mi := &file_get_account_details_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_get_account_details_proto_msgTypes[1]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *GetAccountDetailsResponse) String() string {
@@ -117,7 +113,7 @@ func (*GetAccountDetailsResponse) ProtoMessage() {}
func (x *GetAccountDetailsResponse) ProtoReflect() protoreflect.Message {
mi := &file_get_account_details_proto_msgTypes[1]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -163,11 +159,9 @@ type GrantedCryptoAllowance struct {
func (x *GrantedCryptoAllowance) Reset() {
*x = GrantedCryptoAllowance{}
- if protoimpl.UnsafeEnabled {
- mi := &file_get_account_details_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_get_account_details_proto_msgTypes[2]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *GrantedCryptoAllowance) String() string {
@@ -178,7 +172,7 @@ func (*GrantedCryptoAllowance) ProtoMessage() {}
func (x *GrantedCryptoAllowance) ProtoReflect() protoreflect.Message {
mi := &file_get_account_details_proto_msgTypes[2]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -224,11 +218,9 @@ type GrantedNftAllowance struct {
func (x *GrantedNftAllowance) Reset() {
*x = GrantedNftAllowance{}
- if protoimpl.UnsafeEnabled {
- mi := &file_get_account_details_proto_msgTypes[3]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_get_account_details_proto_msgTypes[3]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *GrantedNftAllowance) String() string {
@@ -239,7 +231,7 @@ func (*GrantedNftAllowance) ProtoMessage() {}
func (x *GrantedNftAllowance) ProtoReflect() protoreflect.Message {
mi := &file_get_account_details_proto_msgTypes[3]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -288,11 +280,9 @@ type GrantedTokenAllowance struct {
func (x *GrantedTokenAllowance) Reset() {
*x = GrantedTokenAllowance{}
- if protoimpl.UnsafeEnabled {
- mi := &file_get_account_details_proto_msgTypes[4]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_get_account_details_proto_msgTypes[4]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *GrantedTokenAllowance) String() string {
@@ -303,7 +293,7 @@ func (*GrantedTokenAllowance) ProtoMessage() {}
func (x *GrantedTokenAllowance) ProtoReflect() protoreflect.Message {
mi := &file_get_account_details_proto_msgTypes[4]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -416,11 +406,9 @@ type GetAccountDetailsResponse_AccountDetails struct {
func (x *GetAccountDetailsResponse_AccountDetails) Reset() {
*x = GetAccountDetailsResponse_AccountDetails{}
- if protoimpl.UnsafeEnabled {
- mi := &file_get_account_details_proto_msgTypes[5]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_get_account_details_proto_msgTypes[5]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *GetAccountDetailsResponse_AccountDetails) String() string {
@@ -431,7 +419,7 @@ func (*GetAccountDetailsResponse_AccountDetails) ProtoMessage() {}
func (x *GetAccountDetailsResponse_AccountDetails) ProtoReflect() protoreflect.Message {
mi := &file_get_account_details_proto_msgTypes[5]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -714,7 +702,7 @@ func file_get_account_details_proto_rawDescGZIP() []byte {
}
var file_get_account_details_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
-var file_get_account_details_proto_goTypes = []interface{}{
+var file_get_account_details_proto_goTypes = []any{
(*GetAccountDetailsQuery)(nil), // 0: proto.GetAccountDetailsQuery
(*GetAccountDetailsResponse)(nil), // 1: proto.GetAccountDetailsResponse
(*GrantedCryptoAllowance)(nil), // 2: proto.GrantedCryptoAllowance
@@ -767,80 +755,6 @@ func file_get_account_details_proto_init() {
file_query_header_proto_init()
file_response_header_proto_init()
file_crypto_add_live_hash_proto_init()
- if !protoimpl.UnsafeEnabled {
- file_get_account_details_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*GetAccountDetailsQuery); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_get_account_details_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*GetAccountDetailsResponse); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_get_account_details_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*GrantedCryptoAllowance); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_get_account_details_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*GrantedNftAllowance); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_get_account_details_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*GrantedTokenAllowance); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_get_account_details_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*GetAccountDetailsResponse_AccountDetails); 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{
diff --git a/proto/services/get_by_key.pb.go b/proto/services/get_by_key.pb.go
index 02b48860..2bbc55e7 100644
--- a/proto/services/get_by_key.pb.go
+++ b/proto/services/get_by_key.pb.go
@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
-// protoc-gen-go v1.32.0
+// protoc-gen-go v1.35.2
// protoc v4.25.3
// source: get_by_key.proto
@@ -40,11 +40,9 @@ type GetByKeyQuery struct {
func (x *GetByKeyQuery) Reset() {
*x = GetByKeyQuery{}
- if protoimpl.UnsafeEnabled {
- mi := &file_get_by_key_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_get_by_key_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *GetByKeyQuery) String() string {
@@ -55,7 +53,7 @@ func (*GetByKeyQuery) ProtoMessage() {}
func (x *GetByKeyQuery) ProtoReflect() protoreflect.Message {
mi := &file_get_by_key_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -102,11 +100,9 @@ type EntityID struct {
func (x *EntityID) Reset() {
*x = EntityID{}
- if protoimpl.UnsafeEnabled {
- mi := &file_get_by_key_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_get_by_key_proto_msgTypes[1]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *EntityID) String() string {
@@ -117,7 +113,7 @@ func (*EntityID) ProtoMessage() {}
func (x *EntityID) ProtoReflect() protoreflect.Message {
mi := &file_get_by_key_proto_msgTypes[1]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -221,11 +217,9 @@ type GetByKeyResponse struct {
func (x *GetByKeyResponse) Reset() {
*x = GetByKeyResponse{}
- if protoimpl.UnsafeEnabled {
- mi := &file_get_by_key_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_get_by_key_proto_msgTypes[2]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *GetByKeyResponse) String() string {
@@ -236,7 +230,7 @@ func (*GetByKeyResponse) ProtoMessage() {}
func (x *GetByKeyResponse) ProtoReflect() protoreflect.Message {
mi := &file_get_by_key_proto_msgTypes[2]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -320,7 +314,7 @@ func file_get_by_key_proto_rawDescGZIP() []byte {
}
var file_get_by_key_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
-var file_get_by_key_proto_goTypes = []interface{}{
+var file_get_by_key_proto_goTypes = []any{
(*GetByKeyQuery)(nil), // 0: proto.GetByKeyQuery
(*EntityID)(nil), // 1: proto.EntityID
(*GetByKeyResponse)(nil), // 2: proto.GetByKeyResponse
@@ -357,45 +351,7 @@ func file_get_by_key_proto_init() {
file_query_header_proto_init()
file_response_header_proto_init()
file_crypto_add_live_hash_proto_init()
- if !protoimpl.UnsafeEnabled {
- file_get_by_key_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*GetByKeyQuery); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_get_by_key_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*EntityID); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_get_by_key_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*GetByKeyResponse); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- file_get_by_key_proto_msgTypes[1].OneofWrappers = []interface{}{
+ file_get_by_key_proto_msgTypes[1].OneofWrappers = []any{
(*EntityID_AccountID)(nil),
(*EntityID_LiveHash)(nil),
(*EntityID_FileID)(nil),
diff --git a/proto/services/get_by_solidity_id.pb.go b/proto/services/get_by_solidity_id.pb.go
index 7c141e0c..9114c40c 100644
--- a/proto/services/get_by_solidity_id.pb.go
+++ b/proto/services/get_by_solidity_id.pb.go
@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
-// protoc-gen-go v1.32.0
+// protoc-gen-go v1.35.2
// protoc v4.25.3
// source: get_by_solidity_id.proto
@@ -40,11 +40,9 @@ type GetBySolidityIDQuery struct {
func (x *GetBySolidityIDQuery) Reset() {
*x = GetBySolidityIDQuery{}
- if protoimpl.UnsafeEnabled {
- mi := &file_get_by_solidity_id_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_get_by_solidity_id_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *GetBySolidityIDQuery) String() string {
@@ -55,7 +53,7 @@ func (*GetBySolidityIDQuery) ProtoMessage() {}
func (x *GetBySolidityIDQuery) ProtoReflect() protoreflect.Message {
mi := &file_get_by_solidity_id_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -109,11 +107,9 @@ type GetBySolidityIDResponse struct {
func (x *GetBySolidityIDResponse) Reset() {
*x = GetBySolidityIDResponse{}
- if protoimpl.UnsafeEnabled {
- mi := &file_get_by_solidity_id_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_get_by_solidity_id_proto_msgTypes[1]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *GetBySolidityIDResponse) String() string {
@@ -124,7 +120,7 @@ func (*GetBySolidityIDResponse) ProtoMessage() {}
func (x *GetBySolidityIDResponse) ProtoReflect() protoreflect.Message {
mi := &file_get_by_solidity_id_proto_msgTypes[1]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -214,7 +210,7 @@ func file_get_by_solidity_id_proto_rawDescGZIP() []byte {
}
var file_get_by_solidity_id_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
-var file_get_by_solidity_id_proto_goTypes = []interface{}{
+var file_get_by_solidity_id_proto_goTypes = []any{
(*GetBySolidityIDQuery)(nil), // 0: proto.GetBySolidityIDQuery
(*GetBySolidityIDResponse)(nil), // 1: proto.GetBySolidityIDResponse
(*QueryHeader)(nil), // 2: proto.QueryHeader
@@ -244,32 +240,6 @@ func file_get_by_solidity_id_proto_init() {
file_basic_types_proto_init()
file_query_header_proto_init()
file_response_header_proto_init()
- if !protoimpl.UnsafeEnabled {
- file_get_by_solidity_id_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*GetBySolidityIDQuery); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_get_by_solidity_id_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*GetBySolidityIDResponse); 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{
diff --git a/proto/services/ledger_id.pb.go b/proto/services/ledger_id.pb.go
index 1b716c02..3f407920 100644
--- a/proto/services/ledger_id.pb.go
+++ b/proto/services/ledger_id.pb.go
@@ -15,7 +15,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
-// protoc-gen-go v1.32.0
+// protoc-gen-go v1.35.2
// protoc v4.25.3
// source: ledger_id.proto
@@ -79,7 +79,7 @@ type LedgerId struct {
// *
// A signature from the prior ledger key.
// This signature is the _previous_ ledger ID signing _this_ ledger ID.
- // This value MAY be unset, if there is no prior ledger ID.
+ // This value MAY be unset, if there is no prior ledger ID.
// This value SHOULD be set if a prior ledger ID exists
// to generate the signature.
LedgerSignature []byte `protobuf:"bytes,3,opt,name=ledger_signature,json=ledgerSignature,proto3" json:"ledger_signature,omitempty"`
@@ -96,11 +96,9 @@ type LedgerId struct {
func (x *LedgerId) Reset() {
*x = LedgerId{}
- if protoimpl.UnsafeEnabled {
- mi := &file_ledger_id_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_ledger_id_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *LedgerId) String() string {
@@ -111,7 +109,7 @@ func (*LedgerId) ProtoMessage() {}
func (x *LedgerId) ProtoReflect() protoreflect.Message {
mi := &file_ledger_id_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -172,11 +170,9 @@ type RosterSignatures struct {
func (x *RosterSignatures) Reset() {
*x = RosterSignatures{}
- if protoimpl.UnsafeEnabled {
- mi := &file_ledger_id_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_ledger_id_proto_msgTypes[1]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *RosterSignatures) String() string {
@@ -187,7 +183,7 @@ func (*RosterSignatures) ProtoMessage() {}
func (x *RosterSignatures) ProtoReflect() protoreflect.Message {
mi := &file_ledger_id_proto_msgTypes[1]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -240,11 +236,9 @@ type NodeSignature struct {
func (x *NodeSignature) Reset() {
*x = NodeSignature{}
- if protoimpl.UnsafeEnabled {
- mi := &file_ledger_id_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_ledger_id_proto_msgTypes[2]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *NodeSignature) String() string {
@@ -255,7 +249,7 @@ func (*NodeSignature) ProtoMessage() {}
func (x *NodeSignature) ProtoReflect() protoreflect.Message {
mi := &file_ledger_id_proto_msgTypes[2]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -336,7 +330,7 @@ func file_ledger_id_proto_rawDescGZIP() []byte {
}
var file_ledger_id_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
-var file_ledger_id_proto_goTypes = []interface{}{
+var file_ledger_id_proto_goTypes = []any{
(*LedgerId)(nil), // 0: com.hedera.hapi.node.state.roster.LedgerId
(*RosterSignatures)(nil), // 1: com.hedera.hapi.node.state.roster.RosterSignatures
(*NodeSignature)(nil), // 2: com.hedera.hapi.node.state.roster.NodeSignature
@@ -356,44 +350,6 @@ func file_ledger_id_proto_init() {
if File_ledger_id_proto != nil {
return
}
- if !protoimpl.UnsafeEnabled {
- file_ledger_id_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*LedgerId); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_ledger_id_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*RosterSignatures); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_ledger_id_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*NodeSignature); 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{
diff --git a/proto/services/network_get_execution_time.pb.go b/proto/services/network_get_execution_time.pb.go
index 8f89e07b..ae3d30e1 100644
--- a/proto/services/network_get_execution_time.pb.go
+++ b/proto/services/network_get_execution_time.pb.go
@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
-// protoc-gen-go v1.32.0
+// protoc-gen-go v1.35.2
// protoc v4.25.3
// source: network_get_execution_time.proto
@@ -41,11 +41,9 @@ type NetworkGetExecutionTimeQuery struct {
func (x *NetworkGetExecutionTimeQuery) Reset() {
*x = NetworkGetExecutionTimeQuery{}
- if protoimpl.UnsafeEnabled {
- mi := &file_network_get_execution_time_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_network_get_execution_time_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *NetworkGetExecutionTimeQuery) String() string {
@@ -56,7 +54,7 @@ func (*NetworkGetExecutionTimeQuery) ProtoMessage() {}
func (x *NetworkGetExecutionTimeQuery) ProtoReflect() protoreflect.Message {
mi := &file_network_get_execution_time_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -105,11 +103,9 @@ type NetworkGetExecutionTimeResponse struct {
func (x *NetworkGetExecutionTimeResponse) Reset() {
*x = NetworkGetExecutionTimeResponse{}
- if protoimpl.UnsafeEnabled {
- mi := &file_network_get_execution_time_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_network_get_execution_time_proto_msgTypes[1]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *NetworkGetExecutionTimeResponse) String() string {
@@ -120,7 +116,7 @@ func (*NetworkGetExecutionTimeResponse) ProtoMessage() {}
func (x *NetworkGetExecutionTimeResponse) ProtoReflect() protoreflect.Message {
mi := &file_network_get_execution_time_proto_msgTypes[1]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -193,7 +189,7 @@ func file_network_get_execution_time_proto_rawDescGZIP() []byte {
}
var file_network_get_execution_time_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
-var file_network_get_execution_time_proto_goTypes = []interface{}{
+var file_network_get_execution_time_proto_goTypes = []any{
(*NetworkGetExecutionTimeQuery)(nil), // 0: proto.NetworkGetExecutionTimeQuery
(*NetworkGetExecutionTimeResponse)(nil), // 1: proto.NetworkGetExecutionTimeResponse
(*QueryHeader)(nil), // 2: proto.QueryHeader
@@ -219,32 +215,6 @@ func file_network_get_execution_time_proto_init() {
file_basic_types_proto_init()
file_query_header_proto_init()
file_response_header_proto_init()
- if !protoimpl.UnsafeEnabled {
- file_network_get_execution_time_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*NetworkGetExecutionTimeQuery); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_network_get_execution_time_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*NetworkGetExecutionTimeResponse); 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{
diff --git a/proto/services/network_get_version_info.pb.go b/proto/services/network_get_version_info.pb.go
index c0222956..d8c4243f 100644
--- a/proto/services/network_get_version_info.pb.go
+++ b/proto/services/network_get_version_info.pb.go
@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
-// protoc-gen-go v1.32.0
+// protoc-gen-go v1.35.2
// protoc v4.25.3
// source: network_get_version_info.proto
@@ -35,11 +35,9 @@ type NetworkGetVersionInfoQuery struct {
func (x *NetworkGetVersionInfoQuery) Reset() {
*x = NetworkGetVersionInfoQuery{}
- if protoimpl.UnsafeEnabled {
- mi := &file_network_get_version_info_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_network_get_version_info_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *NetworkGetVersionInfoQuery) String() string {
@@ -50,7 +48,7 @@ func (*NetworkGetVersionInfoQuery) ProtoMessage() {}
func (x *NetworkGetVersionInfoQuery) ProtoReflect() protoreflect.Message {
mi := &file_network_get_version_info_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -93,11 +91,9 @@ type NetworkGetVersionInfoResponse struct {
func (x *NetworkGetVersionInfoResponse) Reset() {
*x = NetworkGetVersionInfoResponse{}
- if protoimpl.UnsafeEnabled {
- mi := &file_network_get_version_info_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_network_get_version_info_proto_msgTypes[1]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *NetworkGetVersionInfoResponse) String() string {
@@ -108,7 +104,7 @@ func (*NetworkGetVersionInfoResponse) ProtoMessage() {}
func (x *NetworkGetVersionInfoResponse) ProtoReflect() protoreflect.Message {
mi := &file_network_get_version_info_proto_msgTypes[1]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -191,7 +187,7 @@ func file_network_get_version_info_proto_rawDescGZIP() []byte {
}
var file_network_get_version_info_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
-var file_network_get_version_info_proto_goTypes = []interface{}{
+var file_network_get_version_info_proto_goTypes = []any{
(*NetworkGetVersionInfoQuery)(nil), // 0: proto.NetworkGetVersionInfoQuery
(*NetworkGetVersionInfoResponse)(nil), // 1: proto.NetworkGetVersionInfoResponse
(*QueryHeader)(nil), // 2: proto.QueryHeader
@@ -218,32 +214,6 @@ func file_network_get_version_info_proto_init() {
file_basic_types_proto_init()
file_query_header_proto_init()
file_response_header_proto_init()
- if !protoimpl.UnsafeEnabled {
- file_network_get_version_info_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*NetworkGetVersionInfoQuery); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_network_get_version_info_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*NetworkGetVersionInfoResponse); 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{
diff --git a/proto/services/network_service.pb.go b/proto/services/network_service.pb.go
index 4fd0b0ab..cc839420 100644
--- a/proto/services/network_service.pb.go
+++ b/proto/services/network_service.pb.go
@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
-// protoc-gen-go v1.32.0
+// protoc-gen-go v1.35.2
// protoc v4.25.3
// source: network_service.proto
@@ -49,7 +49,7 @@ var file_network_service_proto_rawDesc = []byte{
0x76, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
-var file_network_service_proto_goTypes = []interface{}{
+var file_network_service_proto_goTypes = []any{
(*Query)(nil), // 0: proto.Query
(*Transaction)(nil), // 1: proto.Transaction
(*Response)(nil), // 2: proto.Response
diff --git a/proto/services/network_service_grpc.pb.go b/proto/services/network_service_grpc.pb.go
index b0b1823e..62dbc3a7 100644
--- a/proto/services/network_service_grpc.pb.go
+++ b/proto/services/network_service_grpc.pb.go
@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
// versions:
-// - protoc-gen-go-grpc v1.2.0
+// - protoc-gen-go-grpc v1.5.1
// - protoc v4.25.3
// source: network_service.proto
@@ -15,12 +15,22 @@ import (
// 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
+// Requires gRPC-Go v1.64.0 or later.
+const _ = grpc.SupportPackageIsVersion9
+
+const (
+ NetworkService_GetVersionInfo_FullMethodName = "/proto.NetworkService/getVersionInfo"
+ NetworkService_GetExecutionTime_FullMethodName = "/proto.NetworkService/getExecutionTime"
+ NetworkService_UncheckedSubmit_FullMethodName = "/proto.NetworkService/uncheckedSubmit"
+ NetworkService_GetAccountDetails_FullMethodName = "/proto.NetworkService/getAccountDetails"
+)
// NetworkServiceClient is the client API for NetworkService 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.
+//
+// *
+// The requests and responses for different network services.
type NetworkServiceClient interface {
// *
// Retrieves the active versions of Hedera Services and HAPI proto
@@ -52,8 +62,9 @@ func NewNetworkServiceClient(cc grpc.ClientConnInterface) NetworkServiceClient {
}
func (c *networkServiceClient) GetVersionInfo(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Response, error) {
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(Response)
- err := c.cc.Invoke(ctx, "/proto.NetworkService/getVersionInfo", in, out, opts...)
+ err := c.cc.Invoke(ctx, NetworkService_GetVersionInfo_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
@@ -61,8 +72,9 @@ func (c *networkServiceClient) GetVersionInfo(ctx context.Context, in *Query, op
}
func (c *networkServiceClient) GetExecutionTime(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Response, error) {
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(Response)
- err := c.cc.Invoke(ctx, "/proto.NetworkService/getExecutionTime", in, out, opts...)
+ err := c.cc.Invoke(ctx, NetworkService_GetExecutionTime_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
@@ -70,8 +82,9 @@ func (c *networkServiceClient) GetExecutionTime(ctx context.Context, in *Query,
}
func (c *networkServiceClient) UncheckedSubmit(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error) {
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(TransactionResponse)
- err := c.cc.Invoke(ctx, "/proto.NetworkService/uncheckedSubmit", in, out, opts...)
+ err := c.cc.Invoke(ctx, NetworkService_UncheckedSubmit_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
@@ -79,8 +92,9 @@ func (c *networkServiceClient) UncheckedSubmit(ctx context.Context, in *Transact
}
func (c *networkServiceClient) GetAccountDetails(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Response, error) {
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(Response)
- err := c.cc.Invoke(ctx, "/proto.NetworkService/getAccountDetails", in, out, opts...)
+ err := c.cc.Invoke(ctx, NetworkService_GetAccountDetails_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
@@ -89,7 +103,10 @@ func (c *networkServiceClient) GetAccountDetails(ctx context.Context, in *Query,
// NetworkServiceServer is the server API for NetworkService service.
// All implementations must embed UnimplementedNetworkServiceServer
-// for forward compatibility
+// for forward compatibility.
+//
+// *
+// The requests and responses for different network services.
type NetworkServiceServer interface {
// *
// Retrieves the active versions of Hedera Services and HAPI proto
@@ -113,9 +130,12 @@ type NetworkServiceServer interface {
mustEmbedUnimplementedNetworkServiceServer()
}
-// UnimplementedNetworkServiceServer must be embedded to have forward compatible implementations.
-type UnimplementedNetworkServiceServer struct {
-}
+// UnimplementedNetworkServiceServer must be embedded to have
+// forward compatible implementations.
+//
+// NOTE: this should be embedded by value instead of pointer to avoid a nil
+// pointer dereference when methods are called.
+type UnimplementedNetworkServiceServer struct{}
func (UnimplementedNetworkServiceServer) GetVersionInfo(context.Context, *Query) (*Response, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetVersionInfo not implemented")
@@ -130,6 +150,7 @@ func (UnimplementedNetworkServiceServer) GetAccountDetails(context.Context, *Que
return nil, status.Errorf(codes.Unimplemented, "method GetAccountDetails not implemented")
}
func (UnimplementedNetworkServiceServer) mustEmbedUnimplementedNetworkServiceServer() {}
+func (UnimplementedNetworkServiceServer) testEmbeddedByValue() {}
// UnsafeNetworkServiceServer may be embedded to opt out of forward compatibility for this service.
// Use of this interface is not recommended, as added methods to NetworkServiceServer will
@@ -139,6 +160,13 @@ type UnsafeNetworkServiceServer interface {
}
func RegisterNetworkServiceServer(s grpc.ServiceRegistrar, srv NetworkServiceServer) {
+ // If the following call pancis, it indicates UnimplementedNetworkServiceServer was
+ // embedded by pointer and is nil. This will cause panics if an
+ // unimplemented method is ever invoked, so we test this at initialization
+ // time to prevent it from happening at runtime later due to I/O.
+ if t, ok := srv.(interface{ testEmbeddedByValue() }); ok {
+ t.testEmbeddedByValue()
+ }
s.RegisterService(&NetworkService_ServiceDesc, srv)
}
@@ -152,7 +180,7 @@ func _NetworkService_GetVersionInfo_Handler(srv interface{}, ctx context.Context
}
info := &grpc.UnaryServerInfo{
Server: srv,
- FullMethod: "/proto.NetworkService/getVersionInfo",
+ FullMethod: NetworkService_GetVersionInfo_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(NetworkServiceServer).GetVersionInfo(ctx, req.(*Query))
@@ -170,7 +198,7 @@ func _NetworkService_GetExecutionTime_Handler(srv interface{}, ctx context.Conte
}
info := &grpc.UnaryServerInfo{
Server: srv,
- FullMethod: "/proto.NetworkService/getExecutionTime",
+ FullMethod: NetworkService_GetExecutionTime_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(NetworkServiceServer).GetExecutionTime(ctx, req.(*Query))
@@ -188,7 +216,7 @@ func _NetworkService_UncheckedSubmit_Handler(srv interface{}, ctx context.Contex
}
info := &grpc.UnaryServerInfo{
Server: srv,
- FullMethod: "/proto.NetworkService/uncheckedSubmit",
+ FullMethod: NetworkService_UncheckedSubmit_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(NetworkServiceServer).UncheckedSubmit(ctx, req.(*Transaction))
@@ -206,7 +234,7 @@ func _NetworkService_GetAccountDetails_Handler(srv interface{}, ctx context.Cont
}
info := &grpc.UnaryServerInfo{
Server: srv,
- FullMethod: "/proto.NetworkService/getAccountDetails",
+ FullMethod: NetworkService_GetAccountDetails_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(NetworkServiceServer).GetAccountDetails(ctx, req.(*Query))
diff --git a/proto/services/network_staking_rewards.pb.go b/proto/services/network_staking_rewards.pb.go
new file mode 100644
index 00000000..0b377045
--- /dev/null
+++ b/proto/services/network_staking_rewards.pb.go
@@ -0,0 +1,183 @@
+// Code generated by protoc-gen-go. DO NOT EDIT.
+// versions:
+// protoc-gen-go v1.35.2
+// protoc v4.25.3
+// source: network_staking_rewards.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)
+)
+
+// *
+// Representation of a Hedera Token Service staking reward entity in the network Merkle tree.
+// This consists of all the information needed to calculate the staking rewards for all nodes in the network. It is
+// calculated at the beginning of each staking period for all nodes and is needed to have same values
+// for reconnect.
+//
+// As with all network entities, staking info is per node and has a unique entity number represented as shard.realm.X.
+type NetworkStakingRewards struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ // *
+ // Whether staking rewards are activated on the network. This is set to true when the balance of 0.0.800
+ // reaches minimum required balance.
+ StakingRewardsActivated bool `protobuf:"varint,1,opt,name=staking_rewards_activated,json=stakingRewardsActivated,proto3" json:"staking_rewards_activated,omitempty"`
+ // *
+ // Total of (balance + stakedToMe) for all accounts staked to all nodes in the network with declineReward=false, at the
+ // beginning of the new staking period.
+ TotalStakedRewardStart int64 `protobuf:"varint,2,opt,name=total_staked_reward_start,json=totalStakedRewardStart,proto3" json:"total_staked_reward_start,omitempty"`
+ // *
+ // Total of (balance + stakedToMe) for all accounts staked to all nodes in the network, at the beginning of the new
+ // staking period.
+ TotalStakedStart int64 `protobuf:"varint,3,opt,name=total_staked_start,json=totalStakedStart,proto3" json:"total_staked_start,omitempty"`
+ // *
+ // The total staking rewards in tinybars that COULD be collected by all accounts staking to all nodes after the end
+ // of this staking period; assuming that no account "renounces" its rewards by, for example, setting declineReward=true.
+ PendingRewards int64 `protobuf:"varint,4,opt,name=pending_rewards,json=pendingRewards,proto3" json:"pending_rewards,omitempty"`
+}
+
+func (x *NetworkStakingRewards) Reset() {
+ *x = NetworkStakingRewards{}
+ mi := &file_network_staking_rewards_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+}
+
+func (x *NetworkStakingRewards) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*NetworkStakingRewards) ProtoMessage() {}
+
+func (x *NetworkStakingRewards) ProtoReflect() protoreflect.Message {
+ mi := &file_network_staking_rewards_proto_msgTypes[0]
+ if x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use NetworkStakingRewards.ProtoReflect.Descriptor instead.
+func (*NetworkStakingRewards) Descriptor() ([]byte, []int) {
+ return file_network_staking_rewards_proto_rawDescGZIP(), []int{0}
+}
+
+func (x *NetworkStakingRewards) GetStakingRewardsActivated() bool {
+ if x != nil {
+ return x.StakingRewardsActivated
+ }
+ return false
+}
+
+func (x *NetworkStakingRewards) GetTotalStakedRewardStart() int64 {
+ if x != nil {
+ return x.TotalStakedRewardStart
+ }
+ return 0
+}
+
+func (x *NetworkStakingRewards) GetTotalStakedStart() int64 {
+ if x != nil {
+ return x.TotalStakedStart
+ }
+ return 0
+}
+
+func (x *NetworkStakingRewards) GetPendingRewards() int64 {
+ if x != nil {
+ return x.PendingRewards
+ }
+ return 0
+}
+
+var File_network_staking_rewards_proto protoreflect.FileDescriptor
+
+var file_network_staking_rewards_proto_rawDesc = []byte{
+ 0x0a, 0x1d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x73, 0x74, 0x61, 0x6b, 0x69, 0x6e,
+ 0x67, 0x5f, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
+ 0x05, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe5, 0x01, 0x0a, 0x15, 0x4e, 0x65, 0x74, 0x77, 0x6f,
+ 0x72, 0x6b, 0x53, 0x74, 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x73,
+ 0x12, 0x3a, 0x0a, 0x19, 0x73, 0x74, 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x5f, 0x72, 0x65, 0x77, 0x61,
+ 0x72, 0x64, 0x73, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20,
+ 0x01, 0x28, 0x08, 0x52, 0x17, 0x73, 0x74, 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x77, 0x61,
+ 0x72, 0x64, 0x73, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x64, 0x12, 0x39, 0x0a, 0x19,
+ 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x77,
+ 0x61, 0x72, 0x64, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52,
+ 0x16, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x64, 0x52, 0x65, 0x77, 0x61,
+ 0x72, 0x64, 0x53, 0x74, 0x61, 0x72, 0x74, 0x12, 0x2c, 0x0a, 0x12, 0x74, 0x6f, 0x74, 0x61, 0x6c,
+ 0x5f, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x64, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x03, 0x20,
+ 0x01, 0x28, 0x03, 0x52, 0x10, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x64,
+ 0x53, 0x74, 0x61, 0x72, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67,
+ 0x5f, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e,
+ 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, 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_network_staking_rewards_proto_rawDescOnce sync.Once
+ file_network_staking_rewards_proto_rawDescData = file_network_staking_rewards_proto_rawDesc
+)
+
+func file_network_staking_rewards_proto_rawDescGZIP() []byte {
+ file_network_staking_rewards_proto_rawDescOnce.Do(func() {
+ file_network_staking_rewards_proto_rawDescData = protoimpl.X.CompressGZIP(file_network_staking_rewards_proto_rawDescData)
+ })
+ return file_network_staking_rewards_proto_rawDescData
+}
+
+var file_network_staking_rewards_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
+var file_network_staking_rewards_proto_goTypes = []any{
+ (*NetworkStakingRewards)(nil), // 0: proto.NetworkStakingRewards
+}
+var file_network_staking_rewards_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_network_staking_rewards_proto_init() }
+func file_network_staking_rewards_proto_init() {
+ if File_network_staking_rewards_proto != nil {
+ return
+ }
+ type x struct{}
+ out := protoimpl.TypeBuilder{
+ File: protoimpl.DescBuilder{
+ GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
+ RawDescriptor: file_network_staking_rewards_proto_rawDesc,
+ NumEnums: 0,
+ NumMessages: 1,
+ NumExtensions: 0,
+ NumServices: 0,
+ },
+ GoTypes: file_network_staking_rewards_proto_goTypes,
+ DependencyIndexes: file_network_staking_rewards_proto_depIdxs,
+ MessageInfos: file_network_staking_rewards_proto_msgTypes,
+ }.Build()
+ File_network_staking_rewards_proto = out.File
+ file_network_staking_rewards_proto_rawDesc = nil
+ file_network_staking_rewards_proto_goTypes = nil
+ file_network_staking_rewards_proto_depIdxs = nil
+}
diff --git a/proto/services/nft.pb.go b/proto/services/nft.pb.go
new file mode 100644
index 00000000..64ad7893
--- /dev/null
+++ b/proto/services/nft.pb.go
@@ -0,0 +1,229 @@
+// Code generated by protoc-gen-go. DO NOT EDIT.
+// versions:
+// protoc-gen-go v1.35.2
+// protoc v4.25.3
+// source: nft.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)
+)
+
+// *
+// Representation of a Hedera Token Service NFT in the network Merkle tree.
+type Nft struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ // *
+ // The id of this NFT.
+ NftId *NftID `protobuf:"bytes,1,opt,name=nft_id,json=nftId,proto3" json:"nft_id,omitempty"`
+ // *
+ // The account or contract id that owns this NFT.
+ //
+ // If this number is zero in state, the NFT is owned by its token type's current treasury.
+ OwnerId *AccountID `protobuf:"bytes,2,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"`
+ // *
+ // The account or contract id approved to spend this NFT.
+ //
+ // If this number is zero, there is no approved spender.
+ SpenderId *AccountID `protobuf:"bytes,3,opt,name=spender_id,json=spenderId,proto3" json:"spender_id,omitempty"`
+ // *
+ // The consensus time of the TokenMint that created this NFT.
+ MintTime *Timestamp `protobuf:"bytes,4,opt,name=mint_time,json=mintTime,proto3" json:"mint_time,omitempty"`
+ // *
+ // The metadata of this NFT, up to 100 bytes; usually the UTF-8 encoding of a URI.
+ Metadata []byte `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty"`
+ // *
+ // If the owner of this NFT is not its token treasury, the id of the previous NFT
+ // in the owner's "doubly-linked list" of owned NFTs (if any).
+ OwnerPreviousNftId *NftID `protobuf:"bytes,6,opt,name=owner_previous_nft_id,json=ownerPreviousNftId,proto3" json:"owner_previous_nft_id,omitempty"`
+ // *
+ // If the owner of this NFT is not its token treasury, the id of the next NFT in
+ // the owner's "doubly-linked list" of owned NFTs (if any).
+ OwnerNextNftId *NftID `protobuf:"bytes,7,opt,name=owner_next_nft_id,json=ownerNextNftId,proto3" json:"owner_next_nft_id,omitempty"`
+}
+
+func (x *Nft) Reset() {
+ *x = Nft{}
+ mi := &file_nft_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+}
+
+func (x *Nft) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*Nft) ProtoMessage() {}
+
+func (x *Nft) ProtoReflect() protoreflect.Message {
+ mi := &file_nft_proto_msgTypes[0]
+ if x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use Nft.ProtoReflect.Descriptor instead.
+func (*Nft) Descriptor() ([]byte, []int) {
+ return file_nft_proto_rawDescGZIP(), []int{0}
+}
+
+func (x *Nft) GetNftId() *NftID {
+ if x != nil {
+ return x.NftId
+ }
+ return nil
+}
+
+func (x *Nft) GetOwnerId() *AccountID {
+ if x != nil {
+ return x.OwnerId
+ }
+ return nil
+}
+
+func (x *Nft) GetSpenderId() *AccountID {
+ if x != nil {
+ return x.SpenderId
+ }
+ return nil
+}
+
+func (x *Nft) GetMintTime() *Timestamp {
+ if x != nil {
+ return x.MintTime
+ }
+ return nil
+}
+
+func (x *Nft) GetMetadata() []byte {
+ if x != nil {
+ return x.Metadata
+ }
+ return nil
+}
+
+func (x *Nft) GetOwnerPreviousNftId() *NftID {
+ if x != nil {
+ return x.OwnerPreviousNftId
+ }
+ return nil
+}
+
+func (x *Nft) GetOwnerNextNftId() *NftID {
+ if x != nil {
+ return x.OwnerNextNftId
+ }
+ return nil
+}
+
+var File_nft_proto protoreflect.FileDescriptor
+
+var file_nft_proto_rawDesc = []byte{
+ 0x0a, 0x09, 0x6e, 0x66, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x05, 0x70, 0x72, 0x6f,
+ 0x74, 0x6f, 0x1a, 0x0f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72,
+ 0x6f, 0x74, 0x6f, 0x1a, 0x11, 0x62, 0x61, 0x73, 0x69, 0x63, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73,
+ 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xcd, 0x02, 0x0a, 0x03, 0x4e, 0x66, 0x74, 0x12, 0x23,
+ 0x0a, 0x06, 0x6e, 0x66, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c,
+ 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x4e, 0x66, 0x74, 0x49, 0x44, 0x52, 0x05, 0x6e, 0x66,
+ 0x74, 0x49, 0x64, 0x12, 0x2b, 0x0a, 0x08, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18,
+ 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x41, 0x63,
+ 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x44, 0x52, 0x07, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x64,
+ 0x12, 0x2f, 0x0a, 0x0a, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x03,
+ 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x41, 0x63, 0x63,
+ 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x44, 0x52, 0x09, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x49,
+ 0x64, 0x12, 0x2d, 0x0a, 0x09, 0x6d, 0x69, 0x6e, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04,
+ 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x54, 0x69, 0x6d,
+ 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x08, 0x6d, 0x69, 0x6e, 0x74, 0x54, 0x69, 0x6d, 0x65,
+ 0x12, 0x1a, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x05, 0x20, 0x01,
+ 0x28, 0x0c, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x3f, 0x0a, 0x15,
+ 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x5f, 0x6e,
+ 0x66, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x70, 0x72,
+ 0x6f, 0x74, 0x6f, 0x2e, 0x4e, 0x66, 0x74, 0x49, 0x44, 0x52, 0x12, 0x6f, 0x77, 0x6e, 0x65, 0x72,
+ 0x50, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x4e, 0x66, 0x74, 0x49, 0x64, 0x12, 0x37, 0x0a,
+ 0x11, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x6e, 0x66, 0x74, 0x5f,
+ 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
+ 0x2e, 0x4e, 0x66, 0x74, 0x49, 0x44, 0x52, 0x0e, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x4e, 0x65, 0x78,
+ 0x74, 0x4e, 0x66, 0x74, 0x49, 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_nft_proto_rawDescOnce sync.Once
+ file_nft_proto_rawDescData = file_nft_proto_rawDesc
+)
+
+func file_nft_proto_rawDescGZIP() []byte {
+ file_nft_proto_rawDescOnce.Do(func() {
+ file_nft_proto_rawDescData = protoimpl.X.CompressGZIP(file_nft_proto_rawDescData)
+ })
+ return file_nft_proto_rawDescData
+}
+
+var file_nft_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
+var file_nft_proto_goTypes = []any{
+ (*Nft)(nil), // 0: proto.Nft
+ (*NftID)(nil), // 1: proto.NftID
+ (*AccountID)(nil), // 2: proto.AccountID
+ (*Timestamp)(nil), // 3: proto.Timestamp
+}
+var file_nft_proto_depIdxs = []int32{
+ 1, // 0: proto.Nft.nft_id:type_name -> proto.NftID
+ 2, // 1: proto.Nft.owner_id:type_name -> proto.AccountID
+ 2, // 2: proto.Nft.spender_id:type_name -> proto.AccountID
+ 3, // 3: proto.Nft.mint_time:type_name -> proto.Timestamp
+ 1, // 4: proto.Nft.owner_previous_nft_id:type_name -> proto.NftID
+ 1, // 5: proto.Nft.owner_next_nft_id:type_name -> proto.NftID
+ 6, // [6:6] is the sub-list for method output_type
+ 6, // [6:6] is the sub-list for method input_type
+ 6, // [6:6] is the sub-list for extension type_name
+ 6, // [6:6] is the sub-list for extension extendee
+ 0, // [0:6] is the sub-list for field type_name
+}
+
+func init() { file_nft_proto_init() }
+func file_nft_proto_init() {
+ if File_nft_proto != nil {
+ return
+ }
+ file_timestamp_proto_init()
+ file_basic_types_proto_init()
+ type x struct{}
+ out := protoimpl.TypeBuilder{
+ File: protoimpl.DescBuilder{
+ GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
+ RawDescriptor: file_nft_proto_rawDesc,
+ NumEnums: 0,
+ NumMessages: 1,
+ NumExtensions: 0,
+ NumServices: 0,
+ },
+ GoTypes: file_nft_proto_goTypes,
+ DependencyIndexes: file_nft_proto_depIdxs,
+ MessageInfos: file_nft_proto_msgTypes,
+ }.Build()
+ File_nft_proto = out.File
+ file_nft_proto_rawDesc = nil
+ file_nft_proto_goTypes = nil
+ file_nft_proto_depIdxs = nil
+}
diff --git a/proto/services/node.pb.go b/proto/services/node.pb.go
index a0a5958c..33cb7ee3 100644
--- a/proto/services/node.pb.go
+++ b/proto/services/node.pb.go
@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
-// protoc-gen-go v1.32.0
+// protoc-gen-go v1.35.2
// protoc v4.25.3
// source: node.proto
@@ -130,11 +130,9 @@ type Node struct {
func (x *Node) Reset() {
*x = Node{}
- if protoimpl.UnsafeEnabled {
- mi := &file_node_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_node_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *Node) String() string {
@@ -145,7 +143,7 @@ func (*Node) ProtoMessage() {}
func (x *Node) ProtoReflect() protoreflect.Message {
mi := &file_node_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -284,7 +282,7 @@ func file_node_proto_rawDescGZIP() []byte {
}
var file_node_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
-var file_node_proto_goTypes = []interface{}{
+var file_node_proto_goTypes = []any{
(*Node)(nil), // 0: com.hedera.hapi.node.state.addressbook.Node
(*AccountID)(nil), // 1: proto.AccountID
(*ServiceEndpoint)(nil), // 2: proto.ServiceEndpoint
@@ -308,20 +306,6 @@ func file_node_proto_init() {
return
}
file_basic_types_proto_init()
- if !protoimpl.UnsafeEnabled {
- file_node_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Node); 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{
diff --git a/proto/services/node_create.pb.go b/proto/services/node_create.pb.go
index 3761c96f..c9729cc5 100644
--- a/proto/services/node_create.pb.go
+++ b/proto/services/node_create.pb.go
@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
-// protoc-gen-go v1.32.0
+// protoc-gen-go v1.35.2
// protoc v4.25.3
// source: node_create.proto
@@ -127,11 +127,9 @@ type NodeCreateTransactionBody struct {
func (x *NodeCreateTransactionBody) Reset() {
*x = NodeCreateTransactionBody{}
- if protoimpl.UnsafeEnabled {
- mi := &file_node_create_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_node_create_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *NodeCreateTransactionBody) String() string {
@@ -142,7 +140,7 @@ func (*NodeCreateTransactionBody) ProtoMessage() {}
func (x *NodeCreateTransactionBody) ProtoReflect() protoreflect.Message {
mi := &file_node_create_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -256,7 +254,7 @@ func file_node_create_proto_rawDescGZIP() []byte {
}
var file_node_create_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
-var file_node_create_proto_goTypes = []interface{}{
+var file_node_create_proto_goTypes = []any{
(*NodeCreateTransactionBody)(nil), // 0: com.hedera.hapi.node.addressbook.NodeCreateTransactionBody
(*AccountID)(nil), // 1: proto.AccountID
(*ServiceEndpoint)(nil), // 2: proto.ServiceEndpoint
@@ -280,20 +278,6 @@ func file_node_create_proto_init() {
return
}
file_basic_types_proto_init()
- if !protoimpl.UnsafeEnabled {
- file_node_create_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*NodeCreateTransactionBody); 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{
diff --git a/proto/services/node_delete.pb.go b/proto/services/node_delete.pb.go
index d7ed2ca2..f7b47858 100644
--- a/proto/services/node_delete.pb.go
+++ b/proto/services/node_delete.pb.go
@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
-// protoc-gen-go v1.32.0
+// protoc-gen-go v1.35.2
// protoc v4.25.3
// source: node_delete.proto
@@ -23,9 +23,9 @@ const (
// *
// A transaction body to delete a node from the network address book.
//
-// This transaction body SHALL be considered a "privileged transaction".
-//
-// - A `NodeDeleteTransactionBody` MUST be signed by the governing council.
+// - A `NodeDeleteTransactionBody` MUST be signed by one of those keys:
+// adminKey, treasure account (2) key, systemAdmin(50) key, or
+// addressBookAdmin(55) key.
// - Upon success, the address book entry SHALL enter a "pending delete"
// state.
// - All address book entries pending deletion SHALL be removed from the
@@ -34,9 +34,8 @@ const (
// - A deleted address book node SHALL be removed entirely from network state.
// - A deleted address book node identifier SHALL NOT be reused.
//
-// ### Record Stream Effects
-// Upon completion the "deleted" `node_id` SHALL be in the transaction
-// receipt.
+// ### Block Stream Effects
+// None.
type NodeDeleteTransactionBody struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -53,11 +52,9 @@ type NodeDeleteTransactionBody struct {
func (x *NodeDeleteTransactionBody) Reset() {
*x = NodeDeleteTransactionBody{}
- if protoimpl.UnsafeEnabled {
- mi := &file_node_delete_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
+ mi := &file_node_delete_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *NodeDeleteTransactionBody) String() string {
@@ -68,7 +65,7 @@ func (*NodeDeleteTransactionBody) ProtoMessage() {}
func (x *NodeDeleteTransactionBody) ProtoReflect() protoreflect.Message {
mi := &file_node_delete_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -118,7 +115,7 @@ func file_node_delete_proto_rawDescGZIP() []byte {
}
var file_node_delete_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
-var file_node_delete_proto_goTypes = []interface{}{
+var file_node_delete_proto_goTypes = []any{
(*NodeDeleteTransactionBody)(nil), // 0: com.hedera.hapi.node.addressbook.NodeDeleteTransactionBody
}
var file_node_delete_proto_depIdxs = []int32{
@@ -134,20 +131,6 @@ func file_node_delete_proto_init() {
if File_node_delete_proto != nil {
return
}
- if !protoimpl.UnsafeEnabled {
- file_node_delete_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*NodeDeleteTransactionBody); 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{
diff --git a/proto/services/node_stake_update.pb.go b/proto/services/node_stake_update.pb.go
index 2d9174a3..10650d6f 100644
--- a/proto/services/node_stake_update.pb.go
+++ b/proto/services/node_stake_update.pb.go
@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
-// protoc-gen-go v1.32.0
+// protoc-gen-go v1.35.2
// protoc v4.25.3
// source: node_stake_update.proto
@@ -88,11 +88,9 @@ type NodeStakeUpdateTransactionBody struct {
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)
- }
+ mi := &file_node_stake_update_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *NodeStakeUpdateTransactionBody) String() string {
@@ -103,7 +101,7 @@ func (*NodeStakeUpdateTransactionBody) ProtoMessage() {}
func (x *NodeStakeUpdateTransactionBody) ProtoReflect() protoreflect.Message {
mi := &file_node_stake_update_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -256,11 +254,9 @@ type NodeStake struct {
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)
- }
+ mi := &file_node_stake_update_proto_msgTypes[1]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
func (x *NodeStake) String() string {
@@ -271,7 +267,7 @@ func (*NodeStake) ProtoMessage() {}
func (x *NodeStake) ProtoReflect() protoreflect.Message {
mi := &file_node_stake_update_proto_msgTypes[1]
- if protoimpl.UnsafeEnabled && x != nil {
+ if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -429,7 +425,7 @@ func file_node_stake_update_proto_rawDescGZIP() []byte {
}
var file_node_stake_update_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
-var file_node_stake_update_proto_goTypes = []interface{}{
+var file_node_stake_update_proto_goTypes = []any{
(*NodeStakeUpdateTransactionBody)(nil), // 0: proto.NodeStakeUpdateTransactionBody
(*NodeStake)(nil), // 1: proto.NodeStake
(*Timestamp)(nil), // 2: proto.Timestamp
@@ -454,32 +450,6 @@ func file_node_stake_update_proto_init() {
}
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{
diff --git a/proto/services/node_update.pb.go b/proto/services/node_update.pb.go
index dc983452..07003eb8 100644
--- a/proto/services/node_update.pb.go
+++ b/proto/services/node_update.pb.go
@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
-// protoc-gen-go v1.32.0
+// protoc-gen-go v1.35.2
// protoc v4.25.3
// source: node_update.proto
@@ -37,9 +37,8 @@ const (
// configuration during the next `freeze` transaction with the field
// `freeze_type` set to `PREPARE_UPGRADE`.
//
-// ### Record Stream Effects
-// Upon completion the `node_id` for the updated entry SHALL be in the
-// transaction receipt.
+// ### Block Stream Effects
+// None.
type NodeUpdateTransactionBody struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -84,9 +83,7 @@ type NodeUpdateTransactionBody struct {
// details.
//
Example// Hedera Mainnet _requires_ that address be specified, and does not - // permit DNS name (FQDN) to be specified.//
- // Mainnet also requires that the first entry be an "internal" IP - // address and the second entry be an "external" IP address. + // permit DNS name (FQDN) to be specified. //// Solo, however, _requires_ DNS name (FQDN) but also permits @@ -149,11 +146,9 @@ type NodeUpdateTransactionBody struct { func (x *NodeUpdateTransactionBody) Reset() { *x = NodeUpdateTransactionBody{} - if protoimpl.UnsafeEnabled { - mi := &file_node_update_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_node_update_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *NodeUpdateTransactionBody) String() string { @@ -164,7 +159,7 @@ func (*NodeUpdateTransactionBody) ProtoMessage() {} func (x *NodeUpdateTransactionBody) ProtoReflect() protoreflect.Message { mi := &file_node_update_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -294,7 +289,7 @@ func file_node_update_proto_rawDescGZIP() []byte { } var file_node_update_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_node_update_proto_goTypes = []interface{}{ +var file_node_update_proto_goTypes = []any{ (*NodeUpdateTransactionBody)(nil), // 0: com.hedera.hapi.node.addressbook.NodeUpdateTransactionBody (*AccountID)(nil), // 1: proto.AccountID (*wrapperspb.StringValue)(nil), // 2: google.protobuf.StringValue @@ -323,20 +318,6 @@ func file_node_update_proto_init() { return } file_basic_types_proto_init() - if !protoimpl.UnsafeEnabled { - file_node_update_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NodeUpdateTransactionBody); 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{ diff --git a/proto/services/primitives.pb.go b/proto/services/primitives.pb.go index c0964eed..56bc9b9b 100644 --- a/proto/services/primitives.pb.go +++ b/proto/services/primitives.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.35.2 // protoc v4.25.3 // source: primitives.proto @@ -32,11 +32,9 @@ type ProtoLong struct { func (x *ProtoLong) Reset() { *x = ProtoLong{} - if protoimpl.UnsafeEnabled { - mi := &file_primitives_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_primitives_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ProtoLong) String() string { @@ -47,7 +45,7 @@ func (*ProtoLong) ProtoMessage() {} func (x *ProtoLong) ProtoReflect() protoreflect.Message { mi := &file_primitives_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -81,11 +79,9 @@ type ProtoInteger struct { func (x *ProtoInteger) Reset() { *x = ProtoInteger{} - if protoimpl.UnsafeEnabled { - mi := &file_primitives_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_primitives_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ProtoInteger) String() string { @@ -96,7 +92,7 @@ func (*ProtoInteger) ProtoMessage() {} func (x *ProtoInteger) ProtoReflect() protoreflect.Message { mi := &file_primitives_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -130,11 +126,9 @@ type ProtoBoolean struct { func (x *ProtoBoolean) Reset() { *x = ProtoBoolean{} - if protoimpl.UnsafeEnabled { - mi := &file_primitives_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_primitives_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ProtoBoolean) String() string { @@ -145,7 +139,7 @@ func (*ProtoBoolean) ProtoMessage() {} func (x *ProtoBoolean) ProtoReflect() protoreflect.Message { mi := &file_primitives_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -179,11 +173,9 @@ type ProtoString struct { func (x *ProtoString) Reset() { *x = ProtoString{} - if protoimpl.UnsafeEnabled { - mi := &file_primitives_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_primitives_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ProtoString) String() string { @@ -194,7 +186,7 @@ func (*ProtoString) ProtoMessage() {} func (x *ProtoString) ProtoReflect() protoreflect.Message { mi := &file_primitives_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -228,11 +220,9 @@ type ProtoBytes struct { func (x *ProtoBytes) Reset() { *x = ProtoBytes{} - if protoimpl.UnsafeEnabled { - mi := &file_primitives_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_primitives_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ProtoBytes) String() string { @@ -243,7 +233,7 @@ func (*ProtoBytes) ProtoMessage() {} func (x *ProtoBytes) ProtoReflect() protoreflect.Message { mi := &file_primitives_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -300,7 +290,7 @@ func file_primitives_proto_rawDescGZIP() []byte { } var file_primitives_proto_msgTypes = make([]protoimpl.MessageInfo, 5) -var file_primitives_proto_goTypes = []interface{}{ +var file_primitives_proto_goTypes = []any{ (*ProtoLong)(nil), // 0: proto.ProtoLong (*ProtoInteger)(nil), // 1: proto.ProtoInteger (*ProtoBoolean)(nil), // 2: proto.ProtoBoolean @@ -320,68 +310,6 @@ func file_primitives_proto_init() { if File_primitives_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_primitives_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProtoLong); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_primitives_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProtoInteger); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_primitives_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProtoBoolean); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_primitives_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProtoString); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_primitives_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProtoBytes); 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{ diff --git a/proto/services/query.pb.go b/proto/services/query.pb.go index c18021e9..7eaa840f 100644 --- a/proto/services/query.pb.go +++ b/proto/services/query.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.35.2 // protoc v4.25.3 // source: query.proto @@ -60,11 +60,9 @@ type Query struct { func (x *Query) Reset() { *x = Query{} - if protoimpl.UnsafeEnabled { - mi := &file_query_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_query_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Query) String() string { @@ -75,7 +73,7 @@ func (*Query) ProtoMessage() {} func (x *Query) ProtoReflect() protoreflect.Message { mi := &file_query_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -672,7 +670,7 @@ func file_query_proto_rawDescGZIP() []byte { } var file_query_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_query_proto_goTypes = []interface{}{ +var file_query_proto_goTypes = []any{ (*Query)(nil), // 0: proto.Query (*GetByKeyQuery)(nil), // 1: proto.GetByKeyQuery (*GetBySolidityIDQuery)(nil), // 2: proto.GetBySolidityIDQuery @@ -763,21 +761,7 @@ func file_query_proto_init() { file_token_get_nft_info_proto_init() file_token_get_nft_infos_proto_init() file_get_account_details_proto_init() - if !protoimpl.UnsafeEnabled { - file_query_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Query); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_query_proto_msgTypes[0].OneofWrappers = []interface{}{ + file_query_proto_msgTypes[0].OneofWrappers = []any{ (*Query_GetByKey)(nil), (*Query_GetBySolidityID)(nil), (*Query_ContractCallLocal)(nil), diff --git a/proto/services/query_header.pb.go b/proto/services/query_header.pb.go index 5b3824c1..f7e6bda2 100644 --- a/proto/services/query_header.pb.go +++ b/proto/services/query_header.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.35.2 // protoc v4.25.3 // source: query_header.proto @@ -106,11 +106,9 @@ type QueryHeader struct { func (x *QueryHeader) Reset() { *x = QueryHeader{} - if protoimpl.UnsafeEnabled { - mi := &file_query_header_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_query_header_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *QueryHeader) String() string { @@ -121,7 +119,7 @@ func (*QueryHeader) ProtoMessage() {} func (x *QueryHeader) ProtoReflect() protoreflect.Message { mi := &file_query_header_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -189,7 +187,7 @@ func file_query_header_proto_rawDescGZIP() []byte { var file_query_header_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_query_header_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_query_header_proto_goTypes = []interface{}{ +var file_query_header_proto_goTypes = []any{ (ResponseType)(0), // 0: proto.ResponseType (*QueryHeader)(nil), // 1: proto.QueryHeader (*Transaction)(nil), // 2: proto.Transaction @@ -210,20 +208,6 @@ func file_query_header_proto_init() { return } file_transaction_proto_init() - if !protoimpl.UnsafeEnabled { - file_query_header_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryHeader); 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{ diff --git a/proto/services/recordcache.pb.go b/proto/services/recordcache.pb.go index 73c96c26..ef7c6f03 100644 --- a/proto/services/recordcache.pb.go +++ b/proto/services/recordcache.pb.go @@ -1,6 +1,18 @@ +//* +// # Record Cache +// The Record Cache holds transaction records for a short time, and is the +// source for responses to `transactionGetRecord` and `transactionGetReceipt` +// queries. +// +// ### Keywords +// The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", +// "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this +// document are to be interpreted as described in [RFC2119](https://www.ietf.org/rfc/rfc2119) +// and clarified in [RFC8174](https://www.ietf.org/rfc/rfc8174). + // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.35.2 // protoc v4.25.3 // source: recordcache.proto @@ -21,35 +33,41 @@ const ( ) // * -// As transactions are handled and records and receipts are created, they are stored in state for a configured time -// limit (perhaps, for example, 3 minutes). During this time window, any client can query the node and get the record -// or receipt for the transaction. The TransactionRecordEntry is the object stored in state with this information. +// As transactions are handled and records and receipts are created, they are +// stored in state for a configured time period (for example, 3 minutes). +// During this time, any client can query the node and get the record or receipt +// for the transaction. The `TransactionRecordEntry` is the object stored in +// state with this information. type TransactionRecordEntry struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // * - // The ID of the node that submitted the transaction to consensus. The ID is the ID of the node as known by the - // address book. Valid node IDs are in the range 0..2^63-1, inclusive. + // A node identifier.
+ // This identifier is the node, as known to the address book, that + // submitted the transaction for consensus. + //+ // This SHALL be a whole number. NodeId int64 `protobuf:"varint,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` // * - // The AccountID of the payer of the transaction. This may be the same as the account ID within the Transaction ID - // of the record, or it may be the account ID of the node that submitted the transaction to consensus if the account - // ID in the Transaction ID is not able to pay. + // An Account identifier for the payer for the transaction. + //
+ // This MAY be the same as the account ID within the Transaction ID of the + // record, or it MAY be the account ID of the node that submitted the + // transaction to consensus if the account ID in the Transaction ID was + // not able to pay. PayerAccountId *AccountID `protobuf:"bytes,2,opt,name=payer_account_id,json=payerAccountId,proto3" json:"payer_account_id,omitempty"` // * - // The transaction record for the transaction. + // A transaction record for the transaction. TransactionRecord *TransactionRecord `protobuf:"bytes,3,opt,name=transaction_record,json=transactionRecord,proto3" json:"transaction_record,omitempty"` } func (x *TransactionRecordEntry) Reset() { *x = TransactionRecordEntry{} - if protoimpl.UnsafeEnabled { - mi := &file_recordcache_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_recordcache_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TransactionRecordEntry) String() string { @@ -60,7 +78,7 @@ func (*TransactionRecordEntry) ProtoMessage() {} func (x *TransactionRecordEntry) ProtoReflect() protoreflect.Message { mi := &file_recordcache_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -97,33 +115,43 @@ func (x *TransactionRecordEntry) GetTransactionRecord() *TransactionRecord { } // * -// As a single transaction is handled a receipt is created. It is stored in state for a configured time -// limit (perhaps, for example, 3 minutes). During this time window, any client can query the node and get the -// receipt for the transaction. The TransactionReceiptEntry is the object stored in state with this information. +// An entry in the record cache with the receipt for a transaction. +// This is the entry stored in state that enables returning the receipt +// information when queried by clients. +// +// When a transaction is handled a receipt SHALL be created.
+// This receipt MUST be stored in state for a configured time limit +// (e.g. 3 minutes).
+// While a receipt is stored, a client MAY query the node and retrieve +// the receipt. type TransactionReceiptEntry struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // * - // The ID of the node that submitted the transaction to consensus. The ID is the ID of the node as known by the - // address book. Valid node IDs are in the range 0..2^63-1, inclusive. + // A node identifier.
+ // This identifies the node that submitted the transaction to consensus. + // The value is the identifier as known to the current address book. + //+ // Valid node identifiers SHALL be between 0 and 263-1, + // inclusive. NodeId uint64 `protobuf:"varint,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` // * - // The id of the submitted transaction. + // A transaction identifier.
+ // This identifies the submitted transaction for this receipt. TransactionId *TransactionID `protobuf:"bytes,2,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` // * - // The resulting status of handling the transaction. + // A status result.
+ // This is the final status after handling the transaction. Status ResponseCodeEnum `protobuf:"varint,3,opt,name=status,proto3,enum=proto.ResponseCodeEnum" json:"status,omitempty"` } func (x *TransactionReceiptEntry) Reset() { *x = TransactionReceiptEntry{} - if protoimpl.UnsafeEnabled { - mi := &file_recordcache_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_recordcache_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TransactionReceiptEntry) String() string { @@ -134,7 +162,7 @@ func (*TransactionReceiptEntry) ProtoMessage() {} func (x *TransactionReceiptEntry) ProtoReflect() protoreflect.Message { mi := &file_recordcache_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -171,10 +199,14 @@ func (x *TransactionReceiptEntry) GetStatus() ResponseCodeEnum { } // * -// As transactions are handled and receipts are created, they are stored in state for a configured time -// limit (perhaps, for example, 3 minutes). During this time window, any client can query the node and get the -// receipt for the transaction. The TransactionReceiptEntries is the object stored in state with this information. -// This object contains a list of TransactionReceiptEntry objects. +// A cache of transaction receipts.
+// As transactions are handled and receipts are created, they are stored in +// state for a configured time limit (perhaps, for example, 3 minutes). +// During this time window, any client can query the node and get the receipt +// for the transaction. The `TransactionReceiptEntries` is the object stored in +// state with this information. +// +// This message SHALL contain a list of `TransactionReceiptEntry` objects. type TransactionReceiptEntries struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -185,11 +217,9 @@ type TransactionReceiptEntries struct { func (x *TransactionReceiptEntries) Reset() { *x = TransactionReceiptEntries{} - if protoimpl.UnsafeEnabled { - mi := &file_recordcache_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_recordcache_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TransactionReceiptEntries) String() string { @@ -200,7 +230,7 @@ func (*TransactionReceiptEntries) ProtoMessage() {} func (x *TransactionReceiptEntries) ProtoReflect() protoreflect.Message { mi := &file_recordcache_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -276,7 +306,7 @@ func file_recordcache_proto_rawDescGZIP() []byte { } var file_recordcache_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_recordcache_proto_goTypes = []interface{}{ +var file_recordcache_proto_goTypes = []any{ (*TransactionRecordEntry)(nil), // 0: proto.TransactionRecordEntry (*TransactionReceiptEntry)(nil), // 1: proto.TransactionReceiptEntry (*TransactionReceiptEntries)(nil), // 2: proto.TransactionReceiptEntries @@ -306,44 +336,6 @@ func file_recordcache_proto_init() { file_basic_types_proto_init() file_transaction_record_proto_init() file_response_code_proto_init() - if !protoimpl.UnsafeEnabled { - file_recordcache_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TransactionRecordEntry); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_recordcache_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TransactionReceiptEntry); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_recordcache_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TransactionReceiptEntries); 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{ diff --git a/proto/services/response.pb.go b/proto/services/response.pb.go index 1f2507ba..eb72323b 100644 --- a/proto/services/response.pb.go +++ b/proto/services/response.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.35.2 // protoc v4.25.3 // source: response.proto @@ -60,11 +60,9 @@ type Response struct { func (x *Response) Reset() { *x = Response{} - if protoimpl.UnsafeEnabled { - mi := &file_response_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_response_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Response) String() string { @@ -75,7 +73,7 @@ func (*Response) ProtoMessage() {} func (x *Response) ProtoReflect() protoreflect.Message { mi := &file_response_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -678,7 +676,7 @@ func file_response_proto_rawDescGZIP() []byte { } var file_response_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_response_proto_goTypes = []interface{}{ +var file_response_proto_goTypes = []any{ (*Response)(nil), // 0: proto.Response (*GetByKeyResponse)(nil), // 1: proto.GetByKeyResponse (*GetBySolidityIDResponse)(nil), // 2: proto.GetBySolidityIDResponse @@ -769,21 +767,7 @@ func file_response_proto_init() { file_token_get_nft_infos_proto_init() file_schedule_get_info_proto_init() file_get_account_details_proto_init() - if !protoimpl.UnsafeEnabled { - file_response_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Response); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_response_proto_msgTypes[0].OneofWrappers = []interface{}{ + file_response_proto_msgTypes[0].OneofWrappers = []any{ (*Response_GetByKey)(nil), (*Response_GetBySolidityID)(nil), (*Response_ContractCallLocal)(nil), diff --git a/proto/services/response_code.pb.go b/proto/services/response_code.pb.go index c75b38cb..06ffeaeb 100644 --- a/proto/services/response_code.pb.go +++ b/proto/services/response_code.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.35.2 // protoc v4.25.3 // source: response_code.proto @@ -1025,6 +1025,18 @@ const ( // The client SHOULD query mirror node to determine the status of the pending // airdrop and whether the sender can fulfill the offer. ResponseCodeEnum_INVALID_TOKEN_IN_PENDING_AIRDROP ResponseCodeEnum = 369 + // * + // A scheduled transaction configured to wait for expiry to execute was given + // an expiry time at which there is already too many transactions scheduled to + // expire; its creation must be retried with a different expiry. + ResponseCodeEnum_SCHEDULE_EXPIRY_IS_BUSY ResponseCodeEnum = 370 + // * + // The provided gRPC certificate hash is invalid. + ResponseCodeEnum_INVALID_GRPC_CERTIFICATE_HASH ResponseCodeEnum = 371 + // * + // A scheduled transaction configured to wait for expiry to execute was not + // given an explicit expiration time. + ResponseCodeEnum_MISSING_EXPIRY_TIME ResponseCodeEnum = 372 ) // Enum value maps for ResponseCodeEnum. @@ -1358,6 +1370,9 @@ var ( 367: "INVALID_PENDING_AIRDROP_ID", 368: "TOKEN_AIRDROP_WITH_FALLBACK_ROYALTY", 369: "INVALID_TOKEN_IN_PENDING_AIRDROP", + 370: "SCHEDULE_EXPIRY_IS_BUSY", + 371: "INVALID_GRPC_CERTIFICATE_HASH", + 372: "MISSING_EXPIRY_TIME", } ResponseCodeEnum_value = map[string]int32{ "OK": 0, @@ -1688,6 +1703,9 @@ var ( "INVALID_PENDING_AIRDROP_ID": 367, "TOKEN_AIRDROP_WITH_FALLBACK_ROYALTY": 368, "INVALID_TOKEN_IN_PENDING_AIRDROP": 369, + "SCHEDULE_EXPIRY_IS_BUSY": 370, + "INVALID_GRPC_CERTIFICATE_HASH": 371, + "MISSING_EXPIRY_TIME": 372, } ) @@ -1722,7 +1740,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, 0x8b, 0x55, 0x0a, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x05, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0xe7, 0x55, 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, @@ -2403,10 +2421,16 @@ var file_response_code_proto_rawDesc = []byte{ 0x46, 0x41, 0x4c, 0x4c, 0x42, 0x41, 0x43, 0x4b, 0x5f, 0x52, 0x4f, 0x59, 0x41, 0x4c, 0x54, 0x59, 0x10, 0xf0, 0x02, 0x12, 0x25, 0x0a, 0x20, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x54, 0x4f, 0x4b, 0x45, 0x4e, 0x5f, 0x49, 0x4e, 0x5f, 0x50, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x5f, - 0x41, 0x49, 0x52, 0x44, 0x52, 0x4f, 0x50, 0x10, 0xf1, 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, + 0x41, 0x49, 0x52, 0x44, 0x52, 0x4f, 0x50, 0x10, 0xf1, 0x02, 0x12, 0x1c, 0x0a, 0x17, 0x53, 0x43, + 0x48, 0x45, 0x44, 0x55, 0x4c, 0x45, 0x5f, 0x45, 0x58, 0x50, 0x49, 0x52, 0x59, 0x5f, 0x49, 0x53, + 0x5f, 0x42, 0x55, 0x53, 0x59, 0x10, 0xf2, 0x02, 0x12, 0x22, 0x0a, 0x1d, 0x49, 0x4e, 0x56, 0x41, + 0x4c, 0x49, 0x44, 0x5f, 0x47, 0x52, 0x50, 0x43, 0x5f, 0x43, 0x45, 0x52, 0x54, 0x49, 0x46, 0x49, + 0x43, 0x41, 0x54, 0x45, 0x5f, 0x48, 0x41, 0x53, 0x48, 0x10, 0xf3, 0x02, 0x12, 0x18, 0x0a, 0x13, + 0x4d, 0x49, 0x53, 0x53, 0x49, 0x4e, 0x47, 0x5f, 0x45, 0x58, 0x50, 0x49, 0x52, 0x59, 0x5f, 0x54, + 0x49, 0x4d, 0x45, 0x10, 0xf4, 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 ( @@ -2422,7 +2446,7 @@ func file_response_code_proto_rawDescGZIP() []byte { } var file_response_code_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_response_code_proto_goTypes = []interface{}{ +var file_response_code_proto_goTypes = []any{ (ResponseCodeEnum)(0), // 0: proto.ResponseCodeEnum } var file_response_code_proto_depIdxs = []int32{ diff --git a/proto/services/response_header.pb.go b/proto/services/response_header.pb.go index bfbe9f28..6443993a 100644 --- a/proto/services/response_header.pb.go +++ b/proto/services/response_header.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.35.2 // protoc v4.25.3 // source: response_header.proto @@ -47,11 +47,9 @@ type ResponseHeader struct { func (x *ResponseHeader) Reset() { *x = ResponseHeader{} - if protoimpl.UnsafeEnabled { - mi := &file_response_header_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_response_header_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ResponseHeader) String() string { @@ -62,7 +60,7 @@ func (*ResponseHeader) ProtoMessage() {} func (x *ResponseHeader) ProtoReflect() protoreflect.Message { mi := &file_response_header_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -145,7 +143,7 @@ func file_response_header_proto_rawDescGZIP() []byte { } var file_response_header_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_response_header_proto_goTypes = []interface{}{ +var file_response_header_proto_goTypes = []any{ (*ResponseHeader)(nil), // 0: proto.ResponseHeader (ResponseCodeEnum)(0), // 1: proto.ResponseCodeEnum (ResponseType)(0), // 2: proto.ResponseType @@ -167,20 +165,6 @@ func file_response_header_proto_init() { } file_query_header_proto_init() file_response_code_proto_init() - if !protoimpl.UnsafeEnabled { - file_response_header_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ResponseHeader); 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{ diff --git a/proto/services/roster.pb.go b/proto/services/roster.pb.go index 6c2c76cf..7f6b8ce6 100644 --- a/proto/services/roster.pb.go +++ b/proto/services/roster.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.35.2 // protoc v4.25.3 // source: roster.proto @@ -39,11 +39,9 @@ type Roster struct { func (x *Roster) Reset() { *x = Roster{} - if protoimpl.UnsafeEnabled { - mi := &file_roster_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_roster_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Roster) String() string { @@ -54,7 +52,7 @@ func (*Roster) ProtoMessage() {} func (x *Roster) ProtoReflect() protoreflect.Message { mi := &file_roster_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -81,7 +79,7 @@ func (x *Roster) GetRosterEntries() []*RosterEntry { // // Each roster entry SHALL encapsulate the elements required // to manage node participation in the Threshold Signature Scheme (TSS).
-// All fields except tss_encryption_key are REQUIRED. +// All fields are REQUIRED. type RosterEntry struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -109,19 +107,6 @@ type RosterEntry struct { // This field is REQUIRED and MUST NOT be empty. GossipCaCertificate []byte `protobuf:"bytes,3,opt,name=gossip_ca_certificate,json=gossipCaCertificate,proto3" json:"gossip_ca_certificate,omitempty"` // * - // An elliptic curve public encryption key.
- // This is currently an ALT_BN128 curve, but the elliptic curve - // type may change in the future. For example, - // if the Ethereum ecosystem creates precompiles for BLS12_381, - // we may switch to that curve. - //- // This value SHALL be specified according to EIP-196 and EIP-197 standards, - // See EIP-196 and - // EIP-197
- // This field is _initially_ OPTIONAL (i.e. it can be unset _when created_) - // but once set, it is REQUIRED thereafter. - TssEncryptionKey []byte `protobuf:"bytes,4,opt,name=tss_encryption_key,json=tssEncryptionKey,proto3" json:"tss_encryption_key,omitempty"` - // * // A list of service endpoints for gossip. //// These endpoints SHALL represent the published endpoints to which other @@ -137,11 +122,9 @@ type RosterEntry struct { func (x *RosterEntry) Reset() { *x = RosterEntry{} - if protoimpl.UnsafeEnabled { - mi := &file_roster_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_roster_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RosterEntry) String() string { @@ -152,7 +135,7 @@ func (*RosterEntry) ProtoMessage() {} func (x *RosterEntry) ProtoReflect() protoreflect.Message { mi := &file_roster_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -188,13 +171,6 @@ func (x *RosterEntry) GetGossipCaCertificate() []byte { return nil } -func (x *RosterEntry) GetTssEncryptionKey() []byte { - if x != nil { - return x.TssEncryptionKey - } - return nil -} - func (x *RosterEntry) GetGossipEndpoint() []*ServiceEndpoint { if x != nil { return x.GossipEndpoint @@ -215,24 +191,22 @@ var file_roster_proto_rawDesc = []byte{ 0x65, 0x72, 0x61, 0x2e, 0x68, 0x61, 0x70, 0x69, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x72, 0x6f, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x52, 0x6f, 0x73, 0x74, 0x65, 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x72, 0x6f, 0x73, 0x74, 0x65, 0x72, 0x45, 0x6e, - 0x74, 0x72, 0x69, 0x65, 0x73, 0x22, 0xe1, 0x01, 0x0a, 0x0b, 0x52, 0x6f, 0x73, 0x74, 0x65, 0x72, + 0x74, 0x72, 0x69, 0x65, 0x73, 0x22, 0xb9, 0x01, 0x0a, 0x0b, 0x52, 0x6f, 0x73, 0x74, 0x65, 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x17, 0x0a, 0x07, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x32, 0x0a, 0x15, 0x67, 0x6f, 0x73, 0x73, 0x69, 0x70, 0x5f, 0x63, 0x61, 0x5f, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x13, 0x67, 0x6f, 0x73, 0x73, 0x69, 0x70, 0x43, 0x61, 0x43, - 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x74, 0x73, - 0x73, 0x5f, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6b, 0x65, 0x79, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x10, 0x74, 0x73, 0x73, 0x45, 0x6e, 0x63, 0x72, 0x79, - 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x4b, 0x65, 0x79, 0x12, 0x3f, 0x0a, 0x0f, 0x67, 0x6f, 0x73, 0x73, - 0x69, 0x70, 0x5f, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x0e, 0x67, 0x6f, 0x73, 0x73, 0x69, - 0x70, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 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, + 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x12, 0x3f, 0x0a, 0x0f, 0x67, 0x6f, + 0x73, 0x73, 0x69, 0x70, 0x5f, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x05, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x53, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x0e, 0x67, 0x6f, 0x73, + 0x73, 0x69, 0x70, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x4a, 0x04, 0x08, 0x04, 0x10, + 0x05, 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 ( @@ -248,7 +222,7 @@ func file_roster_proto_rawDescGZIP() []byte { } var file_roster_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_roster_proto_goTypes = []interface{}{ +var file_roster_proto_goTypes = []any{ (*Roster)(nil), // 0: com.hedera.hapi.node.state.roster.Roster (*RosterEntry)(nil), // 1: com.hedera.hapi.node.state.roster.RosterEntry (*ServiceEndpoint)(nil), // 2: proto.ServiceEndpoint @@ -269,32 +243,6 @@ func file_roster_proto_init() { return } file_basic_types_proto_init() - if !protoimpl.UnsafeEnabled { - file_roster_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Roster); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_roster_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RosterEntry); 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{ diff --git a/proto/services/roster_state.pb.go b/proto/services/roster_state.pb.go index dce39ea9..48455bf0 100644 --- a/proto/services/roster_state.pb.go +++ b/proto/services/roster_state.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.35.2 // protoc v4.25.3 // source: roster_state.proto @@ -50,11 +50,9 @@ type RosterState struct { func (x *RosterState) Reset() { *x = RosterState{} - if protoimpl.UnsafeEnabled { - mi := &file_roster_state_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_roster_state_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RosterState) String() string { @@ -65,7 +63,7 @@ func (*RosterState) ProtoMessage() {} func (x *RosterState) ProtoReflect() protoreflect.Message { mi := &file_roster_state_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -118,11 +116,9 @@ type RoundRosterPair struct { func (x *RoundRosterPair) Reset() { *x = RoundRosterPair{} - if protoimpl.UnsafeEnabled { - mi := &file_roster_state_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_roster_state_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RoundRosterPair) String() string { @@ -133,7 +129,7 @@ func (*RoundRosterPair) ProtoMessage() {} func (x *RoundRosterPair) ProtoReflect() protoreflect.Message { mi := &file_roster_state_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -205,7 +201,7 @@ func file_roster_state_proto_rawDescGZIP() []byte { } var file_roster_state_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_roster_state_proto_goTypes = []interface{}{ +var file_roster_state_proto_goTypes = []any{ (*RosterState)(nil), // 0: com.hedera.hapi.node.state.roster.RosterState (*RoundRosterPair)(nil), // 1: com.hedera.hapi.node.state.roster.RoundRosterPair } @@ -224,32 +220,6 @@ func file_roster_state_proto_init() { return } file_basic_types_proto_init() - if !protoimpl.UnsafeEnabled { - file_roster_state_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RosterState); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_roster_state_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RoundRosterPair); 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{ diff --git a/proto/services/running_hashes.pb.go b/proto/services/running_hashes.pb.go index 2fa6e79f..dd4661b8 100644 --- a/proto/services/running_hashes.pb.go +++ b/proto/services/running_hashes.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.35.2 // protoc v4.25.3 // source: running_hashes.proto @@ -44,11 +44,9 @@ type RunningHashes struct { func (x *RunningHashes) Reset() { *x = RunningHashes{} - if protoimpl.UnsafeEnabled { - mi := &file_running_hashes_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_running_hashes_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RunningHashes) String() string { @@ -59,7 +57,7 @@ func (*RunningHashes) ProtoMessage() {} func (x *RunningHashes) ProtoReflect() protoreflect.Message { mi := &file_running_hashes_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -138,7 +136,7 @@ func file_running_hashes_proto_rawDescGZIP() []byte { } var file_running_hashes_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_running_hashes_proto_goTypes = []interface{}{ +var file_running_hashes_proto_goTypes = []any{ (*RunningHashes)(nil), // 0: proto.RunningHashes } var file_running_hashes_proto_depIdxs = []int32{ @@ -154,20 +152,6 @@ func file_running_hashes_proto_init() { if File_running_hashes_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_running_hashes_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RunningHashes); 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{ diff --git a/proto/services/schedulable_transaction_body.pb.go b/proto/services/schedulable_transaction_body.pb.go index 94e7b717..7b8e4cdc 100644 --- a/proto/services/schedulable_transaction_body.pb.go +++ b/proto/services/schedulable_transaction_body.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.35.2 // protoc v4.25.3 // source: schedulable_transaction_body.proto @@ -93,11 +93,9 @@ type SchedulableTransactionBody struct { func (x *SchedulableTransactionBody) Reset() { *x = SchedulableTransactionBody{} - if protoimpl.UnsafeEnabled { - mi := &file_schedulable_transaction_body_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_schedulable_transaction_body_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SchedulableTransactionBody) String() string { @@ -108,7 +106,7 @@ func (*SchedulableTransactionBody) ProtoMessage() {} func (x *SchedulableTransactionBody) ProtoReflect() protoreflect.Message { mi := &file_schedulable_transaction_body_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1186,7 +1184,7 @@ func file_schedulable_transaction_body_proto_rawDescGZIP() []byte { } var file_schedulable_transaction_body_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_schedulable_transaction_body_proto_goTypes = []interface{}{ +var file_schedulable_transaction_body_proto_goTypes = []any{ (*SchedulableTransactionBody)(nil), // 0: proto.SchedulableTransactionBody (*ContractCallTransactionBody)(nil), // 1: proto.ContractCallTransactionBody (*ContractCreateTransactionBody)(nil), // 2: proto.ContractCreateTransactionBody @@ -1340,21 +1338,7 @@ func file_schedulable_transaction_body_proto_init() { file_node_create_proto_init() file_node_update_proto_init() file_node_delete_proto_init() - if !protoimpl.UnsafeEnabled { - file_schedulable_transaction_body_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SchedulableTransactionBody); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_schedulable_transaction_body_proto_msgTypes[0].OneofWrappers = []interface{}{ + file_schedulable_transaction_body_proto_msgTypes[0].OneofWrappers = []any{ (*SchedulableTransactionBody_ContractCall)(nil), (*SchedulableTransactionBody_ContractCreateInstance)(nil), (*SchedulableTransactionBody_ContractUpdateInstance)(nil), diff --git a/proto/services/schedule.pb.go b/proto/services/schedule.pb.go index 1b05c700..015bb9b7 100644 --- a/proto/services/schedule.pb.go +++ b/proto/services/schedule.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.35.2 // protoc v4.25.3 // source: schedule.proto @@ -100,11 +100,9 @@ type Schedule struct { func (x *Schedule) Reset() { *x = Schedule{} - if protoimpl.UnsafeEnabled { - mi := &file_schedule_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_schedule_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Schedule) String() string { @@ -115,7 +113,7 @@ func (*Schedule) ProtoMessage() {} func (x *Schedule) ProtoReflect() protoreflect.Message { mi := &file_schedule_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -251,11 +249,9 @@ type ScheduleList struct { func (x *ScheduleList) Reset() { *x = ScheduleList{} - if protoimpl.UnsafeEnabled { - mi := &file_schedule_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_schedule_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ScheduleList) String() string { @@ -266,7 +262,7 @@ func (*ScheduleList) ProtoMessage() {} func (x *ScheduleList) ProtoReflect() protoreflect.Message { mi := &file_schedule_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -288,6 +284,178 @@ func (x *ScheduleList) GetSchedules() []*Schedule { return nil } +// * +// A message for storing a list of schedule identifiers in state.
+// This is used to store lists of `ScheduleID` values. +// One example is all schedules that expire at a particular time. +type ScheduleIdList struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // * + // A list of schedule identifiers, in no particular order. + //+ // While the order is not _specified_, it MUST be deterministic. + ScheduleIds []*ScheduleID `protobuf:"bytes,1,rep,name=schedule_ids,json=scheduleIds,proto3" json:"schedule_ids,omitempty"` +} + +func (x *ScheduleIdList) Reset() { + *x = ScheduleIdList{} + mi := &file_schedule_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *ScheduleIdList) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ScheduleIdList) ProtoMessage() {} + +func (x *ScheduleIdList) ProtoReflect() protoreflect.Message { + mi := &file_schedule_proto_msgTypes[2] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ScheduleIdList.ProtoReflect.Descriptor instead. +func (*ScheduleIdList) Descriptor() ([]byte, []int) { + return file_schedule_proto_rawDescGZIP(), []int{2} +} + +func (x *ScheduleIdList) GetScheduleIds() []*ScheduleID { + if x != nil { + return x.ScheduleIds + } + return nil +} + +// * +// The value of a map summarizing the counts of scheduled and processed transactions +// within a particular consensus second. +type ScheduledCounts struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // * + // The number of transactions scheduled to expire at a consensus second. + NumberScheduled uint32 `protobuf:"varint,1,opt,name=number_scheduled,json=numberScheduled,proto3" json:"number_scheduled,omitempty"` + // * + // The number of scheduled transactions that have been processed at a consensus second. + NumberProcessed uint32 `protobuf:"varint,2,opt,name=number_processed,json=numberProcessed,proto3" json:"number_processed,omitempty"` +} + +func (x *ScheduledCounts) Reset() { + *x = ScheduledCounts{} + mi := &file_schedule_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *ScheduledCounts) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ScheduledCounts) ProtoMessage() {} + +func (x *ScheduledCounts) ProtoReflect() protoreflect.Message { + mi := &file_schedule_proto_msgTypes[3] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ScheduledCounts.ProtoReflect.Descriptor instead. +func (*ScheduledCounts) Descriptor() ([]byte, []int) { + return file_schedule_proto_rawDescGZIP(), []int{3} +} + +func (x *ScheduledCounts) GetNumberScheduled() uint32 { + if x != nil { + return x.NumberScheduled + } + return 0 +} + +func (x *ScheduledCounts) GetNumberProcessed() uint32 { + if x != nil { + return x.NumberProcessed + } + return 0 +} + +// * +// A key mapping to a particular ScheduleID that will execute at a given order number +// within a given consensus second. +type ScheduledOrder struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // * + // The consensus second in which the transaction is expired. + ExpirySecond uint64 `protobuf:"varint,1,opt,name=expiry_second,json=expirySecond,proto3" json:"expiry_second,omitempty"` + // The ordered position within the consensus second that the transaction will be executed. + OrderNumber uint32 `protobuf:"varint,2,opt,name=order_number,json=orderNumber,proto3" json:"order_number,omitempty"` +} + +func (x *ScheduledOrder) Reset() { + *x = ScheduledOrder{} + mi := &file_schedule_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *ScheduledOrder) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ScheduledOrder) ProtoMessage() {} + +func (x *ScheduledOrder) ProtoReflect() protoreflect.Message { + mi := &file_schedule_proto_msgTypes[4] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ScheduledOrder.ProtoReflect.Descriptor instead. +func (*ScheduledOrder) Descriptor() ([]byte, []int) { + return file_schedule_proto_rawDescGZIP(), []int{4} +} + +func (x *ScheduledOrder) GetExpirySecond() uint64 { + if x != nil { + return x.ExpirySecond + } + return 0 +} + +func (x *ScheduledOrder) GetOrderNumber() uint32 { + if x != nil { + return x.OrderNumber + } + return 0 +} + var File_schedule_proto protoreflect.FileDescriptor var file_schedule_proto_rawDesc = []byte{ @@ -353,10 +521,27 @@ var file_schedule_proto_rawDesc = []byte{ 0x22, 0x3d, 0x0a, 0x0c, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2d, 0x0a, 0x09, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x53, 0x63, 0x68, 0x65, - 0x64, 0x75, 0x6c, 0x65, 0x52, 0x09, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x73, 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, + 0x64, 0x75, 0x6c, 0x65, 0x52, 0x09, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x22, + 0x46, 0x0a, 0x0e, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x4c, 0x69, 0x73, + 0x74, 0x12, 0x34, 0x0a, 0x0c, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, + 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, + 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x44, 0x52, 0x0b, 0x73, 0x63, 0x68, 0x65, + 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x73, 0x22, 0x67, 0x0a, 0x0f, 0x53, 0x63, 0x68, 0x65, 0x64, + 0x75, 0x6c, 0x65, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x12, 0x29, 0x0a, 0x10, 0x6e, 0x75, + 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x53, 0x63, 0x68, 0x65, + 0x64, 0x75, 0x6c, 0x65, 0x64, 0x12, 0x29, 0x0a, 0x10, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x5f, + 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x65, 0x64, + 0x22, 0x58, 0x0a, 0x0e, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x64, 0x4f, 0x72, 0x64, + 0x65, 0x72, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x78, 0x70, 0x69, 0x72, 0x79, 0x5f, 0x73, 0x65, 0x63, + 0x6f, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x65, 0x78, 0x70, 0x69, 0x72, + 0x79, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x6f, 0x72, 0x64, 0x65, 0x72, + 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x6f, + 0x72, 0x64, 0x65, 0x72, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 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 ( @@ -371,33 +556,37 @@ func file_schedule_proto_rawDescGZIP() []byte { return file_schedule_proto_rawDescData } -var file_schedule_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_schedule_proto_goTypes = []interface{}{ +var file_schedule_proto_msgTypes = make([]protoimpl.MessageInfo, 5) +var file_schedule_proto_goTypes = []any{ (*Schedule)(nil), // 0: proto.Schedule (*ScheduleList)(nil), // 1: proto.ScheduleList - (*ScheduleID)(nil), // 2: proto.ScheduleID - (*AccountID)(nil), // 3: proto.AccountID - (*Key)(nil), // 4: proto.Key - (*Timestamp)(nil), // 5: proto.Timestamp - (*SchedulableTransactionBody)(nil), // 6: proto.SchedulableTransactionBody - (*TransactionBody)(nil), // 7: proto.TransactionBody + (*ScheduleIdList)(nil), // 2: proto.ScheduleIdList + (*ScheduledCounts)(nil), // 3: proto.ScheduledCounts + (*ScheduledOrder)(nil), // 4: proto.ScheduledOrder + (*ScheduleID)(nil), // 5: proto.ScheduleID + (*AccountID)(nil), // 6: proto.AccountID + (*Key)(nil), // 7: proto.Key + (*Timestamp)(nil), // 8: proto.Timestamp + (*SchedulableTransactionBody)(nil), // 9: proto.SchedulableTransactionBody + (*TransactionBody)(nil), // 10: proto.TransactionBody } var file_schedule_proto_depIdxs = []int32{ - 2, // 0: proto.Schedule.schedule_id:type_name -> proto.ScheduleID - 3, // 1: proto.Schedule.scheduler_account_id:type_name -> proto.AccountID - 3, // 2: proto.Schedule.payer_account_id:type_name -> proto.AccountID - 4, // 3: proto.Schedule.admin_key:type_name -> proto.Key - 5, // 4: proto.Schedule.schedule_valid_start:type_name -> proto.Timestamp - 5, // 5: proto.Schedule.resolution_time:type_name -> proto.Timestamp - 6, // 6: proto.Schedule.scheduled_transaction:type_name -> proto.SchedulableTransactionBody - 7, // 7: proto.Schedule.original_create_transaction:type_name -> proto.TransactionBody - 4, // 8: proto.Schedule.signatories:type_name -> proto.Key + 5, // 0: proto.Schedule.schedule_id:type_name -> proto.ScheduleID + 6, // 1: proto.Schedule.scheduler_account_id:type_name -> proto.AccountID + 6, // 2: proto.Schedule.payer_account_id:type_name -> proto.AccountID + 7, // 3: proto.Schedule.admin_key:type_name -> proto.Key + 8, // 4: proto.Schedule.schedule_valid_start:type_name -> proto.Timestamp + 8, // 5: proto.Schedule.resolution_time:type_name -> proto.Timestamp + 9, // 6: proto.Schedule.scheduled_transaction:type_name -> proto.SchedulableTransactionBody + 10, // 7: proto.Schedule.original_create_transaction:type_name -> proto.TransactionBody + 7, // 8: proto.Schedule.signatories:type_name -> proto.Key 0, // 9: proto.ScheduleList.schedules:type_name -> proto.Schedule - 10, // [10:10] is the sub-list for method output_type - 10, // [10:10] is the sub-list for method input_type - 10, // [10:10] is the sub-list for extension type_name - 10, // [10:10] is the sub-list for extension extendee - 0, // [0:10] is the sub-list for field type_name + 5, // 10: proto.ScheduleIdList.schedule_ids:type_name -> proto.ScheduleID + 11, // [11:11] is the sub-list for method output_type + 11, // [11:11] is the sub-list for method input_type + 11, // [11:11] is the sub-list for extension type_name + 11, // [11:11] is the sub-list for extension extendee + 0, // [0:11] is the sub-list for field type_name } func init() { file_schedule_proto_init() } @@ -409,39 +598,13 @@ func file_schedule_proto_init() { file_timestamp_proto_init() file_schedulable_transaction_body_proto_init() file_transaction_body_proto_init() - if !protoimpl.UnsafeEnabled { - file_schedule_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Schedule); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_schedule_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ScheduleList); 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_schedule_proto_rawDesc, NumEnums: 0, - NumMessages: 2, + NumMessages: 5, NumExtensions: 0, NumServices: 0, }, diff --git a/proto/services/schedule_create.pb.go b/proto/services/schedule_create.pb.go index 0fa6d9fb..8bb55fd0 100644 --- a/proto/services/schedule_create.pb.go +++ b/proto/services/schedule_create.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.35.2 // protoc v4.25.3 // source: schedule_create.proto @@ -120,11 +120,9 @@ type ScheduleCreateTransactionBody struct { func (x *ScheduleCreateTransactionBody) Reset() { *x = ScheduleCreateTransactionBody{} - if protoimpl.UnsafeEnabled { - mi := &file_schedule_create_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_schedule_create_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ScheduleCreateTransactionBody) String() string { @@ -135,7 +133,7 @@ func (*ScheduleCreateTransactionBody) ProtoMessage() {} func (x *ScheduleCreateTransactionBody) ProtoReflect() protoreflect.Message { mi := &file_schedule_create_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -241,7 +239,7 @@ func file_schedule_create_proto_rawDescGZIP() []byte { } var file_schedule_create_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_schedule_create_proto_goTypes = []interface{}{ +var file_schedule_create_proto_goTypes = []any{ (*ScheduleCreateTransactionBody)(nil), // 0: proto.ScheduleCreateTransactionBody (*SchedulableTransactionBody)(nil), // 1: proto.SchedulableTransactionBody (*Key)(nil), // 2: proto.Key @@ -268,20 +266,6 @@ func file_schedule_create_proto_init() { file_basic_types_proto_init() file_timestamp_proto_init() file_schedulable_transaction_body_proto_init() - if !protoimpl.UnsafeEnabled { - file_schedule_create_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ScheduleCreateTransactionBody); 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{ diff --git a/proto/services/schedule_delete.pb.go b/proto/services/schedule_delete.pb.go index 4e6573ae..e38e4a3a 100644 --- a/proto/services/schedule_delete.pb.go +++ b/proto/services/schedule_delete.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.35.2 // protoc v4.25.3 // source: schedule_delete.proto @@ -41,11 +41,9 @@ type ScheduleDeleteTransactionBody struct { func (x *ScheduleDeleteTransactionBody) Reset() { *x = ScheduleDeleteTransactionBody{} - if protoimpl.UnsafeEnabled { - mi := &file_schedule_delete_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_schedule_delete_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ScheduleDeleteTransactionBody) String() string { @@ -56,7 +54,7 @@ func (*ScheduleDeleteTransactionBody) ProtoMessage() {} func (x *ScheduleDeleteTransactionBody) ProtoReflect() protoreflect.Message { mi := &file_schedule_delete_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -108,7 +106,7 @@ func file_schedule_delete_proto_rawDescGZIP() []byte { } var file_schedule_delete_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_schedule_delete_proto_goTypes = []interface{}{ +var file_schedule_delete_proto_goTypes = []any{ (*ScheduleDeleteTransactionBody)(nil), // 0: proto.ScheduleDeleteTransactionBody (*ScheduleID)(nil), // 1: proto.ScheduleID } @@ -127,20 +125,6 @@ func file_schedule_delete_proto_init() { return } file_basic_types_proto_init() - if !protoimpl.UnsafeEnabled { - file_schedule_delete_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ScheduleDeleteTransactionBody); 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{ diff --git a/proto/services/schedule_get_info.pb.go b/proto/services/schedule_get_info.pb.go index d33cd4d9..cf3d8c86 100644 --- a/proto/services/schedule_get_info.pb.go +++ b/proto/services/schedule_get_info.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.35.2 // protoc v4.25.3 // source: schedule_get_info.proto @@ -40,11 +40,9 @@ type ScheduleGetInfoQuery struct { func (x *ScheduleGetInfoQuery) Reset() { *x = ScheduleGetInfoQuery{} - if protoimpl.UnsafeEnabled { - mi := &file_schedule_get_info_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_schedule_get_info_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ScheduleGetInfoQuery) String() string { @@ -55,7 +53,7 @@ func (*ScheduleGetInfoQuery) ProtoMessage() {} func (x *ScheduleGetInfoQuery) ProtoReflect() protoreflect.Message { mi := &file_schedule_get_info_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -144,11 +142,9 @@ type ScheduleInfo struct { func (x *ScheduleInfo) Reset() { *x = ScheduleInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_schedule_get_info_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_schedule_get_info_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ScheduleInfo) String() string { @@ -159,7 +155,7 @@ func (*ScheduleInfo) ProtoMessage() {} func (x *ScheduleInfo) ProtoReflect() protoreflect.Message { mi := &file_schedule_get_info_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -310,11 +306,9 @@ type ScheduleGetInfoResponse struct { func (x *ScheduleGetInfoResponse) Reset() { *x = ScheduleGetInfoResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_schedule_get_info_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_schedule_get_info_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ScheduleGetInfoResponse) String() string { @@ -325,7 +319,7 @@ func (*ScheduleGetInfoResponse) ProtoMessage() {} func (x *ScheduleGetInfoResponse) ProtoReflect() protoreflect.Message { mi := &file_schedule_get_info_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -445,7 +439,7 @@ func file_schedule_get_info_proto_rawDescGZIP() []byte { } var file_schedule_get_info_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_schedule_get_info_proto_goTypes = []interface{}{ +var file_schedule_get_info_proto_goTypes = []any{ (*ScheduleGetInfoQuery)(nil), // 0: proto.ScheduleGetInfoQuery (*ScheduleInfo)(nil), // 1: proto.ScheduleInfo (*ScheduleGetInfoResponse)(nil), // 2: proto.ScheduleGetInfoResponse @@ -491,45 +485,7 @@ func file_schedule_get_info_proto_init() { file_query_header_proto_init() file_response_header_proto_init() file_schedulable_transaction_body_proto_init() - if !protoimpl.UnsafeEnabled { - file_schedule_get_info_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ScheduleGetInfoQuery); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_schedule_get_info_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ScheduleInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_schedule_get_info_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ScheduleGetInfoResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_schedule_get_info_proto_msgTypes[1].OneofWrappers = []interface{}{ + file_schedule_get_info_proto_msgTypes[1].OneofWrappers = []any{ (*ScheduleInfo_DeletionTime)(nil), (*ScheduleInfo_ExecutionTime)(nil), } diff --git a/proto/services/schedule_service.pb.go b/proto/services/schedule_service.pb.go index 36ded2ad..8a867df0 100644 --- a/proto/services/schedule_service.pb.go +++ b/proto/services/schedule_service.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.35.2 // protoc v4.25.3 // source: schedule_service.proto @@ -51,7 +51,7 @@ var file_schedule_service_proto_rawDesc = []byte{ 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } -var file_schedule_service_proto_goTypes = []interface{}{ +var file_schedule_service_proto_goTypes = []any{ (*Transaction)(nil), // 0: proto.Transaction (*Query)(nil), // 1: proto.Query (*TransactionResponse)(nil), // 2: proto.TransactionResponse diff --git a/proto/services/schedule_service_grpc.pb.go b/proto/services/schedule_service_grpc.pb.go index b36c25b2..f27f1463 100644 --- a/proto/services/schedule_service_grpc.pb.go +++ b/proto/services/schedule_service_grpc.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.2.0 +// - protoc-gen-go-grpc v1.5.1 // - protoc v4.25.3 // source: schedule_service.proto @@ -15,12 +15,74 @@ import ( // 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 +// Requires gRPC-Go v1.64.0 or later. +const _ = grpc.SupportPackageIsVersion9 + +const ( + ScheduleService_CreateSchedule_FullMethodName = "/proto.ScheduleService/createSchedule" + ScheduleService_SignSchedule_FullMethodName = "/proto.ScheduleService/signSchedule" + ScheduleService_DeleteSchedule_FullMethodName = "/proto.ScheduleService/deleteSchedule" + ScheduleService_GetScheduleInfo_FullMethodName = "/proto.ScheduleService/getScheduleInfo" +) // ScheduleServiceClient is the client API for ScheduleService 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. +// +// * +// Transactions and queries for the Schedule Service +// +// The Schedule Service allows transactions to be submitted without all the required signatures and +// allows anyone to provide the required signatures independently after a transaction has already +// been created. The transactions can be executed immediately when all required signatures are received +// or at a future date if Long Term Scheduled Transactions are enabled. +// +// Execution: +// +// Scheduled Transactions are executed in two different modes. +// +// 1. If Long Term Scheduled Transactions are enabled and wait_for_expiry was set to true on the +// ScheduleCreate, then the transaction will be executed at the expiration_time specified on the +// ScheduleCreate. +// +// 2. Otherwise Scheduled Transactions are executed once all required signatures are collected and witnessed. +// Every time new signature is provided, a check is performed on the "readiness" of the execution. +// The Scheduled Transaction will be executed immediately after the transaction that triggered it. +// +// NOTICE: +// A Scheduled Transaction being ready to execute, or even not ready to execute, at the time a ScheduleCreate or +// ScheduleSign comes in does not guarantee it will stay that way. Any number of things can happen over time that +// impact the transaction. +// +// For example, account keys can change, accounts can be deleted, and account balances can change. +// +// A particularly noteworthy case is if Long Term Scheduled Transactions are enabled and signature requirements for a Scheduled +// Transaction change such that existing signatures become sufficient to allow the transaction to go through. In this case the transaction +// will execute at expiration_time unless a ScheduleSign comes in to push it through. +// +// Transaction Record: +// +// If a Scheduled Transaction is executed immediately following the transaction that provided all required signatures, +// the timestamp of the Scheduled Transaction will be equal to consensusTimestamp + 1 nano, where +// consensusTimestamp is the timestamp of the transaction that triggered the execution. +// +// The Transaction ID of the Scheduled Transaction will have the scheduled property set to true and +// inherit the transactionValidStart and accountID from the ScheduleCreate transaction. +// +// The scheduleRef property of the transaction record will be populated with the ScheduleID of the +// Scheduled Transaction. +// +// Post execution: +// +// After execution, a Scheduled Transaction will remain in state and can be queried using GetScheduleInfo until expiration. +// +// Expiry: +// +// The expiration time of a schedule is controlled by it's expiration_time. If Long Term Scheduled Transactions are disabled, +// the expiration_time is always 30 minutes in the future. +// +// Once a given Scheduled Transaction expires, it will be removed from the ledger and any upcoming +// operation referring the ScheduleID will resolve to INVALID_SCHEDULE_ID. type ScheduleServiceClient interface { // * // Creates a new Schedule by submitting the transaction @@ -45,8 +107,9 @@ func NewScheduleServiceClient(cc grpc.ClientConnInterface) ScheduleServiceClient } func (c *scheduleServiceClient) CreateSchedule(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionResponse) - err := c.cc.Invoke(ctx, "/proto.ScheduleService/createSchedule", in, out, opts...) + err := c.cc.Invoke(ctx, ScheduleService_CreateSchedule_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -54,8 +117,9 @@ func (c *scheduleServiceClient) CreateSchedule(ctx context.Context, in *Transact } func (c *scheduleServiceClient) SignSchedule(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionResponse) - err := c.cc.Invoke(ctx, "/proto.ScheduleService/signSchedule", in, out, opts...) + err := c.cc.Invoke(ctx, ScheduleService_SignSchedule_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -63,8 +127,9 @@ func (c *scheduleServiceClient) SignSchedule(ctx context.Context, in *Transactio } func (c *scheduleServiceClient) DeleteSchedule(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionResponse) - err := c.cc.Invoke(ctx, "/proto.ScheduleService/deleteSchedule", in, out, opts...) + err := c.cc.Invoke(ctx, ScheduleService_DeleteSchedule_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -72,8 +137,9 @@ func (c *scheduleServiceClient) DeleteSchedule(ctx context.Context, in *Transact } func (c *scheduleServiceClient) GetScheduleInfo(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Response, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(Response) - err := c.cc.Invoke(ctx, "/proto.ScheduleService/getScheduleInfo", in, out, opts...) + err := c.cc.Invoke(ctx, ScheduleService_GetScheduleInfo_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -82,7 +148,62 @@ func (c *scheduleServiceClient) GetScheduleInfo(ctx context.Context, in *Query, // ScheduleServiceServer is the server API for ScheduleService service. // All implementations must embed UnimplementedScheduleServiceServer -// for forward compatibility +// for forward compatibility. +// +// * +// Transactions and queries for the Schedule Service +// +// The Schedule Service allows transactions to be submitted without all the required signatures and +// allows anyone to provide the required signatures independently after a transaction has already +// been created. The transactions can be executed immediately when all required signatures are received +// or at a future date if Long Term Scheduled Transactions are enabled. +// +// Execution: +// +// Scheduled Transactions are executed in two different modes. +// +// 1. If Long Term Scheduled Transactions are enabled and wait_for_expiry was set to true on the +// ScheduleCreate, then the transaction will be executed at the expiration_time specified on the +// ScheduleCreate. +// +// 2. Otherwise Scheduled Transactions are executed once all required signatures are collected and witnessed. +// Every time new signature is provided, a check is performed on the "readiness" of the execution. +// The Scheduled Transaction will be executed immediately after the transaction that triggered it. +// +// NOTICE: +// A Scheduled Transaction being ready to execute, or even not ready to execute, at the time a ScheduleCreate or +// ScheduleSign comes in does not guarantee it will stay that way. Any number of things can happen over time that +// impact the transaction. +// +// For example, account keys can change, accounts can be deleted, and account balances can change. +// +// A particularly noteworthy case is if Long Term Scheduled Transactions are enabled and signature requirements for a Scheduled +// Transaction change such that existing signatures become sufficient to allow the transaction to go through. In this case the transaction +// will execute at expiration_time unless a ScheduleSign comes in to push it through. +// +// Transaction Record: +// +// If a Scheduled Transaction is executed immediately following the transaction that provided all required signatures, +// the timestamp of the Scheduled Transaction will be equal to consensusTimestamp + 1 nano, where +// consensusTimestamp is the timestamp of the transaction that triggered the execution. +// +// The Transaction ID of the Scheduled Transaction will have the scheduled property set to true and +// inherit the transactionValidStart and accountID from the ScheduleCreate transaction. +// +// The scheduleRef property of the transaction record will be populated with the ScheduleID of the +// Scheduled Transaction. +// +// Post execution: +// +// After execution, a Scheduled Transaction will remain in state and can be queried using GetScheduleInfo until expiration. +// +// Expiry: +// +// The expiration time of a schedule is controlled by it's expiration_time. If Long Term Scheduled Transactions are disabled, +// the expiration_time is always 30 minutes in the future. +// +// Once a given Scheduled Transaction expires, it will be removed from the ledger and any upcoming +// operation referring the ScheduleID will resolve to INVALID_SCHEDULE_ID. type ScheduleServiceServer interface { // * // Creates a new Schedule by submitting the transaction @@ -99,9 +220,12 @@ type ScheduleServiceServer interface { mustEmbedUnimplementedScheduleServiceServer() } -// UnimplementedScheduleServiceServer must be embedded to have forward compatible implementations. -type UnimplementedScheduleServiceServer struct { -} +// UnimplementedScheduleServiceServer must be embedded to have +// forward compatible implementations. +// +// NOTE: this should be embedded by value instead of pointer to avoid a nil +// pointer dereference when methods are called. +type UnimplementedScheduleServiceServer struct{} func (UnimplementedScheduleServiceServer) CreateSchedule(context.Context, *Transaction) (*TransactionResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method CreateSchedule not implemented") @@ -116,6 +240,7 @@ func (UnimplementedScheduleServiceServer) GetScheduleInfo(context.Context, *Quer return nil, status.Errorf(codes.Unimplemented, "method GetScheduleInfo not implemented") } func (UnimplementedScheduleServiceServer) mustEmbedUnimplementedScheduleServiceServer() {} +func (UnimplementedScheduleServiceServer) testEmbeddedByValue() {} // UnsafeScheduleServiceServer may be embedded to opt out of forward compatibility for this service. // Use of this interface is not recommended, as added methods to ScheduleServiceServer will @@ -125,6 +250,13 @@ type UnsafeScheduleServiceServer interface { } func RegisterScheduleServiceServer(s grpc.ServiceRegistrar, srv ScheduleServiceServer) { + // If the following call pancis, it indicates UnimplementedScheduleServiceServer was + // embedded by pointer and is nil. This will cause panics if an + // unimplemented method is ever invoked, so we test this at initialization + // time to prevent it from happening at runtime later due to I/O. + if t, ok := srv.(interface{ testEmbeddedByValue() }); ok { + t.testEmbeddedByValue() + } s.RegisterService(&ScheduleService_ServiceDesc, srv) } @@ -138,7 +270,7 @@ func _ScheduleService_CreateSchedule_Handler(srv interface{}, ctx context.Contex } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/proto.ScheduleService/createSchedule", + FullMethod: ScheduleService_CreateSchedule_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ScheduleServiceServer).CreateSchedule(ctx, req.(*Transaction)) @@ -156,7 +288,7 @@ func _ScheduleService_SignSchedule_Handler(srv interface{}, ctx context.Context, } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/proto.ScheduleService/signSchedule", + FullMethod: ScheduleService_SignSchedule_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ScheduleServiceServer).SignSchedule(ctx, req.(*Transaction)) @@ -174,7 +306,7 @@ func _ScheduleService_DeleteSchedule_Handler(srv interface{}, ctx context.Contex } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/proto.ScheduleService/deleteSchedule", + FullMethod: ScheduleService_DeleteSchedule_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ScheduleServiceServer).DeleteSchedule(ctx, req.(*Transaction)) @@ -192,7 +324,7 @@ func _ScheduleService_GetScheduleInfo_Handler(srv interface{}, ctx context.Conte } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/proto.ScheduleService/getScheduleInfo", + FullMethod: ScheduleService_GetScheduleInfo_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ScheduleServiceServer).GetScheduleInfo(ctx, req.(*Query)) diff --git a/proto/services/schedule_sign.pb.go b/proto/services/schedule_sign.pb.go index 749da9c1..39a06572 100644 --- a/proto/services/schedule_sign.pb.go +++ b/proto/services/schedule_sign.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.35.2 // protoc v4.25.3 // source: schedule_sign.proto @@ -50,11 +50,9 @@ type ScheduleSignTransactionBody struct { func (x *ScheduleSignTransactionBody) Reset() { *x = ScheduleSignTransactionBody{} - if protoimpl.UnsafeEnabled { - mi := &file_schedule_sign_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_schedule_sign_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ScheduleSignTransactionBody) String() string { @@ -65,7 +63,7 @@ func (*ScheduleSignTransactionBody) ProtoMessage() {} func (x *ScheduleSignTransactionBody) ProtoReflect() protoreflect.Message { mi := &file_schedule_sign_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -117,7 +115,7 @@ func file_schedule_sign_proto_rawDescGZIP() []byte { } var file_schedule_sign_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_schedule_sign_proto_goTypes = []interface{}{ +var file_schedule_sign_proto_goTypes = []any{ (*ScheduleSignTransactionBody)(nil), // 0: proto.ScheduleSignTransactionBody (*ScheduleID)(nil), // 1: proto.ScheduleID } @@ -136,20 +134,6 @@ func file_schedule_sign_proto_init() { return } file_basic_types_proto_init() - if !protoimpl.UnsafeEnabled { - file_schedule_sign_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ScheduleSignTransactionBody); 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{ diff --git a/proto/services/smart_contract_service.pb.go b/proto/services/smart_contract_service.pb.go index a89da0f7..e44209c8 100644 --- a/proto/services/smart_contract_service.pb.go +++ b/proto/services/smart_contract_service.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.35.2 // protoc v4.25.3 // source: smart_contract_service.proto @@ -82,7 +82,7 @@ var file_smart_contract_service_proto_rawDesc = []byte{ 0x2e, 0x6a, 0x61, 0x76, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } -var file_smart_contract_service_proto_goTypes = []interface{}{ +var file_smart_contract_service_proto_goTypes = []any{ (*Transaction)(nil), // 0: proto.Transaction (*Query)(nil), // 1: proto.Query (*TransactionResponse)(nil), // 2: proto.TransactionResponse diff --git a/proto/services/smart_contract_service_grpc.pb.go b/proto/services/smart_contract_service_grpc.pb.go index 65fc6cf3..656fd3fb 100644 --- a/proto/services/smart_contract_service_grpc.pb.go +++ b/proto/services/smart_contract_service_grpc.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.2.0 +// - protoc-gen-go-grpc v1.5.1 // - protoc v4.25.3 // source: smart_contract_service.proto @@ -15,12 +15,30 @@ import ( // 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 +// Requires gRPC-Go v1.64.0 or later. +const _ = grpc.SupportPackageIsVersion9 + +const ( + SmartContractService_CreateContract_FullMethodName = "/proto.SmartContractService/createContract" + SmartContractService_UpdateContract_FullMethodName = "/proto.SmartContractService/updateContract" + SmartContractService_ContractCallMethod_FullMethodName = "/proto.SmartContractService/contractCallMethod" + SmartContractService_GetContractInfo_FullMethodName = "/proto.SmartContractService/getContractInfo" + SmartContractService_ContractCallLocalMethod_FullMethodName = "/proto.SmartContractService/contractCallLocalMethod" + SmartContractService_ContractGetBytecode_FullMethodName = "/proto.SmartContractService/ContractGetBytecode" + SmartContractService_GetBySolidityID_FullMethodName = "/proto.SmartContractService/getBySolidityID" + SmartContractService_GetTxRecordByContractID_FullMethodName = "/proto.SmartContractService/getTxRecordByContractID" + SmartContractService_DeleteContract_FullMethodName = "/proto.SmartContractService/deleteContract" + SmartContractService_SystemDelete_FullMethodName = "/proto.SmartContractService/systemDelete" + SmartContractService_SystemUndelete_FullMethodName = "/proto.SmartContractService/systemUndelete" + SmartContractService_CallEthereum_FullMethodName = "/proto.SmartContractService/callEthereum" +) // SmartContractServiceClient is the client API for SmartContractService 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. +// +// * +// Transactions and queries for the file service. type SmartContractServiceClient interface { // * // Creates a contract @@ -71,8 +89,9 @@ func NewSmartContractServiceClient(cc grpc.ClientConnInterface) SmartContractSer } func (c *smartContractServiceClient) CreateContract(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionResponse) - err := c.cc.Invoke(ctx, "/proto.SmartContractService/createContract", in, out, opts...) + err := c.cc.Invoke(ctx, SmartContractService_CreateContract_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -80,8 +99,9 @@ func (c *smartContractServiceClient) CreateContract(ctx context.Context, in *Tra } func (c *smartContractServiceClient) UpdateContract(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionResponse) - err := c.cc.Invoke(ctx, "/proto.SmartContractService/updateContract", in, out, opts...) + err := c.cc.Invoke(ctx, SmartContractService_UpdateContract_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -89,8 +109,9 @@ func (c *smartContractServiceClient) UpdateContract(ctx context.Context, in *Tra } func (c *smartContractServiceClient) ContractCallMethod(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionResponse) - err := c.cc.Invoke(ctx, "/proto.SmartContractService/contractCallMethod", in, out, opts...) + err := c.cc.Invoke(ctx, SmartContractService_ContractCallMethod_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -98,8 +119,9 @@ func (c *smartContractServiceClient) ContractCallMethod(ctx context.Context, in } func (c *smartContractServiceClient) GetContractInfo(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Response, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(Response) - err := c.cc.Invoke(ctx, "/proto.SmartContractService/getContractInfo", in, out, opts...) + err := c.cc.Invoke(ctx, SmartContractService_GetContractInfo_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -107,8 +129,9 @@ func (c *smartContractServiceClient) GetContractInfo(ctx context.Context, in *Qu } func (c *smartContractServiceClient) ContractCallLocalMethod(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Response, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(Response) - err := c.cc.Invoke(ctx, "/proto.SmartContractService/contractCallLocalMethod", in, out, opts...) + err := c.cc.Invoke(ctx, SmartContractService_ContractCallLocalMethod_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -116,8 +139,9 @@ func (c *smartContractServiceClient) ContractCallLocalMethod(ctx context.Context } func (c *smartContractServiceClient) ContractGetBytecode(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Response, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(Response) - err := c.cc.Invoke(ctx, "/proto.SmartContractService/ContractGetBytecode", in, out, opts...) + err := c.cc.Invoke(ctx, SmartContractService_ContractGetBytecode_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -125,8 +149,9 @@ func (c *smartContractServiceClient) ContractGetBytecode(ctx context.Context, in } func (c *smartContractServiceClient) GetBySolidityID(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Response, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(Response) - err := c.cc.Invoke(ctx, "/proto.SmartContractService/getBySolidityID", in, out, opts...) + err := c.cc.Invoke(ctx, SmartContractService_GetBySolidityID_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -135,8 +160,9 @@ func (c *smartContractServiceClient) GetBySolidityID(ctx context.Context, in *Qu // Deprecated: Do not use. func (c *smartContractServiceClient) GetTxRecordByContractID(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Response, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(Response) - err := c.cc.Invoke(ctx, "/proto.SmartContractService/getTxRecordByContractID", in, out, opts...) + err := c.cc.Invoke(ctx, SmartContractService_GetTxRecordByContractID_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -144,8 +170,9 @@ func (c *smartContractServiceClient) GetTxRecordByContractID(ctx context.Context } func (c *smartContractServiceClient) DeleteContract(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionResponse) - err := c.cc.Invoke(ctx, "/proto.SmartContractService/deleteContract", in, out, opts...) + err := c.cc.Invoke(ctx, SmartContractService_DeleteContract_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -153,8 +180,9 @@ func (c *smartContractServiceClient) DeleteContract(ctx context.Context, in *Tra } func (c *smartContractServiceClient) SystemDelete(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionResponse) - err := c.cc.Invoke(ctx, "/proto.SmartContractService/systemDelete", in, out, opts...) + err := c.cc.Invoke(ctx, SmartContractService_SystemDelete_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -162,8 +190,9 @@ func (c *smartContractServiceClient) SystemDelete(ctx context.Context, in *Trans } func (c *smartContractServiceClient) SystemUndelete(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionResponse) - err := c.cc.Invoke(ctx, "/proto.SmartContractService/systemUndelete", in, out, opts...) + err := c.cc.Invoke(ctx, SmartContractService_SystemUndelete_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -171,8 +200,9 @@ func (c *smartContractServiceClient) SystemUndelete(ctx context.Context, in *Tra } func (c *smartContractServiceClient) CallEthereum(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionResponse) - err := c.cc.Invoke(ctx, "/proto.SmartContractService/callEthereum", in, out, opts...) + err := c.cc.Invoke(ctx, SmartContractService_CallEthereum_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -181,7 +211,10 @@ func (c *smartContractServiceClient) CallEthereum(ctx context.Context, in *Trans // SmartContractServiceServer is the server API for SmartContractService service. // All implementations must embed UnimplementedSmartContractServiceServer -// for forward compatibility +// for forward compatibility. +// +// * +// Transactions and queries for the file service. type SmartContractServiceServer interface { // * // Creates a contract @@ -224,9 +257,12 @@ type SmartContractServiceServer interface { mustEmbedUnimplementedSmartContractServiceServer() } -// UnimplementedSmartContractServiceServer must be embedded to have forward compatible implementations. -type UnimplementedSmartContractServiceServer struct { -} +// UnimplementedSmartContractServiceServer must be embedded to have +// forward compatible implementations. +// +// NOTE: this should be embedded by value instead of pointer to avoid a nil +// pointer dereference when methods are called. +type UnimplementedSmartContractServiceServer struct{} func (UnimplementedSmartContractServiceServer) CreateContract(context.Context, *Transaction) (*TransactionResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method CreateContract not implemented") @@ -265,6 +301,7 @@ func (UnimplementedSmartContractServiceServer) CallEthereum(context.Context, *Tr return nil, status.Errorf(codes.Unimplemented, "method CallEthereum not implemented") } func (UnimplementedSmartContractServiceServer) mustEmbedUnimplementedSmartContractServiceServer() {} +func (UnimplementedSmartContractServiceServer) testEmbeddedByValue() {} // UnsafeSmartContractServiceServer may be embedded to opt out of forward compatibility for this service. // Use of this interface is not recommended, as added methods to SmartContractServiceServer will @@ -274,6 +311,13 @@ type UnsafeSmartContractServiceServer interface { } func RegisterSmartContractServiceServer(s grpc.ServiceRegistrar, srv SmartContractServiceServer) { + // If the following call pancis, it indicates UnimplementedSmartContractServiceServer was + // embedded by pointer and is nil. This will cause panics if an + // unimplemented method is ever invoked, so we test this at initialization + // time to prevent it from happening at runtime later due to I/O. + if t, ok := srv.(interface{ testEmbeddedByValue() }); ok { + t.testEmbeddedByValue() + } s.RegisterService(&SmartContractService_ServiceDesc, srv) } @@ -287,7 +331,7 @@ func _SmartContractService_CreateContract_Handler(srv interface{}, ctx context.C } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/proto.SmartContractService/createContract", + FullMethod: SmartContractService_CreateContract_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmartContractServiceServer).CreateContract(ctx, req.(*Transaction)) @@ -305,7 +349,7 @@ func _SmartContractService_UpdateContract_Handler(srv interface{}, ctx context.C } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/proto.SmartContractService/updateContract", + FullMethod: SmartContractService_UpdateContract_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmartContractServiceServer).UpdateContract(ctx, req.(*Transaction)) @@ -323,7 +367,7 @@ func _SmartContractService_ContractCallMethod_Handler(srv interface{}, ctx conte } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/proto.SmartContractService/contractCallMethod", + FullMethod: SmartContractService_ContractCallMethod_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmartContractServiceServer).ContractCallMethod(ctx, req.(*Transaction)) @@ -341,7 +385,7 @@ func _SmartContractService_GetContractInfo_Handler(srv interface{}, ctx context. } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/proto.SmartContractService/getContractInfo", + FullMethod: SmartContractService_GetContractInfo_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmartContractServiceServer).GetContractInfo(ctx, req.(*Query)) @@ -359,7 +403,7 @@ func _SmartContractService_ContractCallLocalMethod_Handler(srv interface{}, ctx } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/proto.SmartContractService/contractCallLocalMethod", + FullMethod: SmartContractService_ContractCallLocalMethod_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmartContractServiceServer).ContractCallLocalMethod(ctx, req.(*Query)) @@ -377,7 +421,7 @@ func _SmartContractService_ContractGetBytecode_Handler(srv interface{}, ctx cont } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/proto.SmartContractService/ContractGetBytecode", + FullMethod: SmartContractService_ContractGetBytecode_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmartContractServiceServer).ContractGetBytecode(ctx, req.(*Query)) @@ -395,7 +439,7 @@ func _SmartContractService_GetBySolidityID_Handler(srv interface{}, ctx context. } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/proto.SmartContractService/getBySolidityID", + FullMethod: SmartContractService_GetBySolidityID_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmartContractServiceServer).GetBySolidityID(ctx, req.(*Query)) @@ -413,7 +457,7 @@ func _SmartContractService_GetTxRecordByContractID_Handler(srv interface{}, ctx } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/proto.SmartContractService/getTxRecordByContractID", + FullMethod: SmartContractService_GetTxRecordByContractID_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmartContractServiceServer).GetTxRecordByContractID(ctx, req.(*Query)) @@ -431,7 +475,7 @@ func _SmartContractService_DeleteContract_Handler(srv interface{}, ctx context.C } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/proto.SmartContractService/deleteContract", + FullMethod: SmartContractService_DeleteContract_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmartContractServiceServer).DeleteContract(ctx, req.(*Transaction)) @@ -449,7 +493,7 @@ func _SmartContractService_SystemDelete_Handler(srv interface{}, ctx context.Con } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/proto.SmartContractService/systemDelete", + FullMethod: SmartContractService_SystemDelete_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmartContractServiceServer).SystemDelete(ctx, req.(*Transaction)) @@ -467,7 +511,7 @@ func _SmartContractService_SystemUndelete_Handler(srv interface{}, ctx context.C } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/proto.SmartContractService/systemUndelete", + FullMethod: SmartContractService_SystemUndelete_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmartContractServiceServer).SystemUndelete(ctx, req.(*Transaction)) @@ -485,7 +529,7 @@ func _SmartContractService_CallEthereum_Handler(srv interface{}, ctx context.Con } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/proto.SmartContractService/callEthereum", + FullMethod: SmartContractService_CallEthereum_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmartContractServiceServer).CallEthereum(ctx, req.(*Transaction)) diff --git a/proto/services/staking_node_info.pb.go b/proto/services/staking_node_info.pb.go new file mode 100644 index 00000000..067a2ee9 --- /dev/null +++ b/proto/services/staking_node_info.pb.go @@ -0,0 +1,291 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.35.2 +// protoc v4.25.3 +// source: staking_node_info.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) +) + +// * +// Representation of a Hedera Token Service staking info entity in the network Merkle tree. +// +// As with all network entities, staking info is per node and has a unique entity number represented as shard.realm.X. +type StakingNodeInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // * + // The unique entity number of the node. The shard and realm numbers are implied, based on the network + // this entity came from. + NodeNumber int64 `protobuf:"varint,1,opt,name=node_number,json=nodeNumber,proto3" json:"node_number,omitempty"` + // * + // The minimum stake on this node that is required for this node to have a non-zero weight to + // participate in the network consensus. + MinStake int64 `protobuf:"varint,2,opt,name=min_stake,json=minStake,proto3" json:"min_stake,omitempty"` + // * + // The maximum stake on this node that is considered to calculate its weight to participate in the network consensus. + MaxStake int64 `protobuf:"varint,3,opt,name=max_stake,json=maxStake,proto3" json:"max_stake,omitempty"` + // * + // The sum of balances of all accounts staked to this node who have opted to receive rewards. + StakeToReward int64 `protobuf:"varint,4,opt,name=stake_to_reward,json=stakeToReward,proto3" json:"stake_to_reward,omitempty"` + // * + // The sum of balances of all accounts staked to this node who have opted to decline rewards. + StakeToNotReward int64 `protobuf:"varint,5,opt,name=stake_to_not_reward,json=stakeToNotReward,proto3" json:"stake_to_not_reward,omitempty"` + // * + // The snapshot of stake_to_reward value at the beginning of the current staking period. + // This is needed for calculating rewards for current staking period without considering changes to + // stake_to_reward in the current staking period. It is reset at the beginning of every period. + StakeRewardStart int64 `protobuf:"varint,6,opt,name=stake_reward_start,json=stakeRewardStart,proto3" json:"stake_reward_start,omitempty"` + // * + // Tracks how much stake from stakeRewardStart will have unclaimed rewards due to accounts changing their staking + // metadata in a way that disqualifies them for the current period; It is reset at the beginning of every period + UnclaimedStakeRewardStart int64 `protobuf:"varint,7,opt,name=unclaimed_stake_reward_start,json=unclaimedStakeRewardStart,proto3" json:"unclaimed_stake_reward_start,omitempty"` + // * + // The total amount of effective hbar staked to this node. This is sum of stake_to_reward and stake_to_not_reward. + // If the sum is greater than max_stake, then the effective stake is max_stake. + // If the sum is less than min_stake, then the effective stake is 0. + Stake int64 `protobuf:"varint,8,opt,name=stake,proto3" json:"stake,omitempty"` + // * + // An running sum of reward rates per hbar for the last 365+1 staking periods. The first element is the + // is the reward up to and including the last full period that finished before the present. Second element is + // the reward up to and including the period before that + RewardSumHistory []int64 `protobuf:"varint,9,rep,packed,name=reward_sum_history,json=rewardSumHistory,proto3" json:"reward_sum_history,omitempty"` + // * + // The consensus weight of this node in the network. This is computed based on the stake of this node + // at midnight UTC of the current day. If the stake of this node is less than minStake, then the weight is 0. + // Sum of all weights of nodes in the network should be less than 500. + // If the stake of this node A is greater than minStake, then the weight of this node A is calculated as: + // (node A stake * 500/ total stake of all nodes) + Weight int32 `protobuf:"varint,10,opt,name=weight,proto3" json:"weight,omitempty"` + // * + // The total staking rewards in tinybars that COULD be collected by all accounts staking to the current node after the end + // of this staking period; assuming that no account "renounces" its rewards by, for example, setting declineReward=true. + // When the current node is deleted, this amount will be subtracted from the total pending rewards of all accounts staking + // to all nodes in the network in NetworkStakingRewards. + PendingRewards int64 `protobuf:"varint,11,opt,name=pending_rewards,json=pendingRewards,proto3" json:"pending_rewards,omitempty"` + // * + // True if this node has been deleted from network. + Deleted bool `protobuf:"varint,12,opt,name=deleted,proto3" json:"deleted,omitempty"` +} + +func (x *StakingNodeInfo) Reset() { + *x = StakingNodeInfo{} + mi := &file_staking_node_info_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *StakingNodeInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StakingNodeInfo) ProtoMessage() {} + +func (x *StakingNodeInfo) ProtoReflect() protoreflect.Message { + mi := &file_staking_node_info_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StakingNodeInfo.ProtoReflect.Descriptor instead. +func (*StakingNodeInfo) Descriptor() ([]byte, []int) { + return file_staking_node_info_proto_rawDescGZIP(), []int{0} +} + +func (x *StakingNodeInfo) GetNodeNumber() int64 { + if x != nil { + return x.NodeNumber + } + return 0 +} + +func (x *StakingNodeInfo) GetMinStake() int64 { + if x != nil { + return x.MinStake + } + return 0 +} + +func (x *StakingNodeInfo) GetMaxStake() int64 { + if x != nil { + return x.MaxStake + } + return 0 +} + +func (x *StakingNodeInfo) GetStakeToReward() int64 { + if x != nil { + return x.StakeToReward + } + return 0 +} + +func (x *StakingNodeInfo) GetStakeToNotReward() int64 { + if x != nil { + return x.StakeToNotReward + } + return 0 +} + +func (x *StakingNodeInfo) GetStakeRewardStart() int64 { + if x != nil { + return x.StakeRewardStart + } + return 0 +} + +func (x *StakingNodeInfo) GetUnclaimedStakeRewardStart() int64 { + if x != nil { + return x.UnclaimedStakeRewardStart + } + return 0 +} + +func (x *StakingNodeInfo) GetStake() int64 { + if x != nil { + return x.Stake + } + return 0 +} + +func (x *StakingNodeInfo) GetRewardSumHistory() []int64 { + if x != nil { + return x.RewardSumHistory + } + return nil +} + +func (x *StakingNodeInfo) GetWeight() int32 { + if x != nil { + return x.Weight + } + return 0 +} + +func (x *StakingNodeInfo) GetPendingRewards() int64 { + if x != nil { + return x.PendingRewards + } + return 0 +} + +func (x *StakingNodeInfo) GetDeleted() bool { + if x != nil { + return x.Deleted + } + return false +} + +var File_staking_node_info_proto protoreflect.FileDescriptor + +var file_staking_node_info_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x73, 0x74, 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x69, + 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x05, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x0c, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, + 0x62, 0x61, 0x73, 0x69, 0x63, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0xd1, 0x03, 0x0a, 0x0f, 0x53, 0x74, 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x4e, 0x6f, 0x64, + 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1f, 0x0a, 0x0b, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x6e, 0x75, + 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x6e, 0x6f, 0x64, 0x65, + 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 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, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x78, 0x5f, 0x73, 0x74, 0x61, 0x6b, 0x65, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x53, 0x74, 0x61, 0x6b, 0x65, + 0x12, 0x26, 0x0a, 0x0f, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x5f, 0x74, 0x6f, 0x5f, 0x72, 0x65, 0x77, + 0x61, 0x72, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x73, 0x74, 0x61, 0x6b, 0x65, + 0x54, 0x6f, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x12, 0x2d, 0x0a, 0x13, 0x73, 0x74, 0x61, 0x6b, + 0x65, 0x5f, 0x74, 0x6f, 0x5f, 0x6e, 0x6f, 0x74, 0x5f, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x54, 0x6f, 0x4e, 0x6f, + 0x74, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x12, 0x2c, 0x0a, 0x12, 0x73, 0x74, 0x61, 0x6b, 0x65, + 0x5f, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x10, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, + 0x53, 0x74, 0x61, 0x72, 0x74, 0x12, 0x3f, 0x0a, 0x1c, 0x75, 0x6e, 0x63, 0x6c, 0x61, 0x69, 0x6d, + 0x65, 0x64, 0x5f, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x5f, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, + 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x19, 0x75, 0x6e, 0x63, + 0x6c, 0x61, 0x69, 0x6d, 0x65, 0x64, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x77, 0x61, 0x72, + 0x64, 0x53, 0x74, 0x61, 0x72, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x18, + 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x12, 0x2c, 0x0a, 0x12, + 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x73, 0x75, 0x6d, 0x5f, 0x68, 0x69, 0x73, 0x74, 0x6f, + 0x72, 0x79, 0x18, 0x09, 0x20, 0x03, 0x28, 0x03, 0x52, 0x10, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, + 0x53, 0x75, 0x6d, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x77, 0x65, + 0x69, 0x67, 0x68, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x77, 0x65, 0x69, 0x67, + 0x68, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x72, 0x65, + 0x77, 0x61, 0x72, 0x64, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x70, 0x65, 0x6e, + 0x64, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x64, + 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x64, 0x65, + 0x6c, 0x65, 0x74, 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_staking_node_info_proto_rawDescOnce sync.Once + file_staking_node_info_proto_rawDescData = file_staking_node_info_proto_rawDesc +) + +func file_staking_node_info_proto_rawDescGZIP() []byte { + file_staking_node_info_proto_rawDescOnce.Do(func() { + file_staking_node_info_proto_rawDescData = protoimpl.X.CompressGZIP(file_staking_node_info_proto_rawDescData) + }) + return file_staking_node_info_proto_rawDescData +} + +var file_staking_node_info_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_staking_node_info_proto_goTypes = []any{ + (*StakingNodeInfo)(nil), // 0: proto.StakingNodeInfo +} +var file_staking_node_info_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_staking_node_info_proto_init() } +func file_staking_node_info_proto_init() { + if File_staking_node_info_proto != nil { + return + } + file_common_proto_init() + file_basic_types_proto_init() + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_staking_node_info_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_staking_node_info_proto_goTypes, + DependencyIndexes: file_staking_node_info_proto_depIdxs, + MessageInfos: file_staking_node_info_proto_msgTypes, + }.Build() + File_staking_node_info_proto = out.File + file_staking_node_info_proto_rawDesc = nil + file_staking_node_info_proto_goTypes = nil + file_staking_node_info_proto_depIdxs = nil +} diff --git a/proto/services/storage_slot.pb.go b/proto/services/storage_slot.pb.go index 5b92a6a3..727175c0 100644 --- a/proto/services/storage_slot.pb.go +++ b/proto/services/storage_slot.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.35.2 // protoc v4.25.3 // source: storage_slot.proto @@ -39,11 +39,9 @@ type SlotKey struct { func (x *SlotKey) Reset() { *x = SlotKey{} - if protoimpl.UnsafeEnabled { - mi := &file_storage_slot_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_storage_slot_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SlotKey) String() string { @@ -54,7 +52,7 @@ func (*SlotKey) ProtoMessage() {} func (x *SlotKey) ProtoReflect() protoreflect.Message { mi := &file_storage_slot_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -107,11 +105,9 @@ type SlotValue struct { func (x *SlotValue) Reset() { *x = SlotValue{} - if protoimpl.UnsafeEnabled { - mi := &file_storage_slot_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_storage_slot_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SlotValue) String() string { @@ -122,7 +118,7 @@ func (*SlotValue) ProtoMessage() {} func (x *SlotValue) ProtoReflect() protoreflect.Message { mi := &file_storage_slot_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -193,7 +189,7 @@ func file_storage_slot_proto_rawDescGZIP() []byte { } var file_storage_slot_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_storage_slot_proto_goTypes = []interface{}{ +var file_storage_slot_proto_goTypes = []any{ (*SlotKey)(nil), // 0: proto.SlotKey (*SlotValue)(nil), // 1: proto.SlotValue (*ContractID)(nil), // 2: proto.ContractID @@ -213,32 +209,6 @@ func file_storage_slot_proto_init() { return } file_basic_types_proto_init() - if !protoimpl.UnsafeEnabled { - file_storage_slot_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SlotKey); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_storage_slot_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SlotValue); 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{ diff --git a/proto/services/system_delete.pb.go b/proto/services/system_delete.pb.go index 6e4acb36..38b8a908 100644 --- a/proto/services/system_delete.pb.go +++ b/proto/services/system_delete.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.35.2 // protoc v4.25.3 // source: system_delete.proto @@ -44,11 +44,9 @@ type SystemDeleteTransactionBody struct { func (x *SystemDeleteTransactionBody) Reset() { *x = SystemDeleteTransactionBody{} - if protoimpl.UnsafeEnabled { - mi := &file_system_delete_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_system_delete_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SystemDeleteTransactionBody) String() string { @@ -59,7 +57,7 @@ func (*SystemDeleteTransactionBody) ProtoMessage() {} func (x *SystemDeleteTransactionBody) ProtoReflect() protoreflect.Message { mi := &file_system_delete_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -160,7 +158,7 @@ func file_system_delete_proto_rawDescGZIP() []byte { } var file_system_delete_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_system_delete_proto_goTypes = []interface{}{ +var file_system_delete_proto_goTypes = []any{ (*SystemDeleteTransactionBody)(nil), // 0: proto.SystemDeleteTransactionBody (*FileID)(nil), // 1: proto.FileID (*ContractID)(nil), // 2: proto.ContractID @@ -184,21 +182,7 @@ func file_system_delete_proto_init() { } file_basic_types_proto_init() file_timestamp_proto_init() - if !protoimpl.UnsafeEnabled { - file_system_delete_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SystemDeleteTransactionBody); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_system_delete_proto_msgTypes[0].OneofWrappers = []interface{}{ + file_system_delete_proto_msgTypes[0].OneofWrappers = []any{ (*SystemDeleteTransactionBody_FileID)(nil), (*SystemDeleteTransactionBody_ContractID)(nil), } diff --git a/proto/services/system_undelete.pb.go b/proto/services/system_undelete.pb.go index 786c2f9c..7d431870 100644 --- a/proto/services/system_undelete.pb.go +++ b/proto/services/system_undelete.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.35.2 // protoc v4.25.3 // source: system_undelete.proto @@ -37,11 +37,9 @@ type SystemUndeleteTransactionBody struct { func (x *SystemUndeleteTransactionBody) Reset() { *x = SystemUndeleteTransactionBody{} - if protoimpl.UnsafeEnabled { - mi := &file_system_undelete_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_system_undelete_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SystemUndeleteTransactionBody) String() string { @@ -52,7 +50,7 @@ func (*SystemUndeleteTransactionBody) ProtoMessage() {} func (x *SystemUndeleteTransactionBody) ProtoReflect() protoreflect.Message { mi := &file_system_undelete_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -141,7 +139,7 @@ func file_system_undelete_proto_rawDescGZIP() []byte { } var file_system_undelete_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_system_undelete_proto_goTypes = []interface{}{ +var file_system_undelete_proto_goTypes = []any{ (*SystemUndeleteTransactionBody)(nil), // 0: proto.SystemUndeleteTransactionBody (*FileID)(nil), // 1: proto.FileID (*ContractID)(nil), // 2: proto.ContractID @@ -162,21 +160,7 @@ func file_system_undelete_proto_init() { return } file_basic_types_proto_init() - if !protoimpl.UnsafeEnabled { - file_system_undelete_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SystemUndeleteTransactionBody); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_system_undelete_proto_msgTypes[0].OneofWrappers = []interface{}{ + file_system_undelete_proto_msgTypes[0].OneofWrappers = []any{ (*SystemUndeleteTransactionBody_FileID)(nil), (*SystemUndeleteTransactionBody_ContractID)(nil), } diff --git a/proto/services/throttle_definitions.pb.go b/proto/services/throttle_definitions.pb.go index 2ae5e8bb..627de63a 100644 --- a/proto/services/throttle_definitions.pb.go +++ b/proto/services/throttle_definitions.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.35.2 // protoc v4.25.3 // source: throttle_definitions.proto @@ -40,11 +40,9 @@ type ThrottleGroup struct { func (x *ThrottleGroup) Reset() { *x = ThrottleGroup{} - if protoimpl.UnsafeEnabled { - mi := &file_throttle_definitions_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_throttle_definitions_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ThrottleGroup) String() string { @@ -55,7 +53,7 @@ func (*ThrottleGroup) ProtoMessage() {} func (x *ThrottleGroup) ProtoReflect() protoreflect.Message { mi := &file_throttle_definitions_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -106,11 +104,9 @@ type ThrottleBucket struct { func (x *ThrottleBucket) Reset() { *x = ThrottleBucket{} - if protoimpl.UnsafeEnabled { - mi := &file_throttle_definitions_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_throttle_definitions_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ThrottleBucket) String() string { @@ -121,7 +117,7 @@ func (*ThrottleBucket) ProtoMessage() {} func (x *ThrottleBucket) ProtoReflect() protoreflect.Message { mi := &file_throttle_definitions_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -174,11 +170,9 @@ type ThrottleDefinitions struct { func (x *ThrottleDefinitions) Reset() { *x = ThrottleDefinitions{} - if protoimpl.UnsafeEnabled { - mi := &file_throttle_definitions_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_throttle_definitions_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ThrottleDefinitions) String() string { @@ -189,7 +183,7 @@ func (*ThrottleDefinitions) ProtoMessage() {} func (x *ThrottleDefinitions) ProtoReflect() protoreflect.Message { mi := &file_throttle_definitions_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -257,7 +251,7 @@ func file_throttle_definitions_proto_rawDescGZIP() []byte { } var file_throttle_definitions_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_throttle_definitions_proto_goTypes = []interface{}{ +var file_throttle_definitions_proto_goTypes = []any{ (*ThrottleGroup)(nil), // 0: proto.ThrottleGroup (*ThrottleBucket)(nil), // 1: proto.ThrottleBucket (*ThrottleDefinitions)(nil), // 2: proto.ThrottleDefinitions @@ -280,44 +274,6 @@ func file_throttle_definitions_proto_init() { return } file_basic_types_proto_init() - if !protoimpl.UnsafeEnabled { - file_throttle_definitions_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ThrottleGroup); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_throttle_definitions_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ThrottleBucket); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_throttle_definitions_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ThrottleDefinitions); 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{ diff --git a/proto/services/throttle_usage_snapshots.pb.go b/proto/services/throttle_usage_snapshots.pb.go index d6ae8b69..fb20effa 100644 --- a/proto/services/throttle_usage_snapshots.pb.go +++ b/proto/services/throttle_usage_snapshots.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.35.2 // protoc v4.25.3 // source: throttle_usage_snapshots.proto @@ -35,11 +35,9 @@ type ThrottleUsageSnapshots struct { func (x *ThrottleUsageSnapshots) Reset() { *x = ThrottleUsageSnapshots{} - if protoimpl.UnsafeEnabled { - mi := &file_throttle_usage_snapshots_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_throttle_usage_snapshots_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ThrottleUsageSnapshots) String() string { @@ -50,7 +48,7 @@ func (*ThrottleUsageSnapshots) ProtoMessage() {} func (x *ThrottleUsageSnapshots) ProtoReflect() protoreflect.Message { mi := &file_throttle_usage_snapshots_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -94,11 +92,9 @@ type ThrottleUsageSnapshot struct { func (x *ThrottleUsageSnapshot) Reset() { *x = ThrottleUsageSnapshot{} - if protoimpl.UnsafeEnabled { - mi := &file_throttle_usage_snapshots_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_throttle_usage_snapshots_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ThrottleUsageSnapshot) String() string { @@ -109,7 +105,7 @@ func (*ThrottleUsageSnapshot) ProtoMessage() {} func (x *ThrottleUsageSnapshot) ProtoReflect() protoreflect.Message { mi := &file_throttle_usage_snapshots_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -180,7 +176,7 @@ func file_throttle_usage_snapshots_proto_rawDescGZIP() []byte { } var file_throttle_usage_snapshots_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_throttle_usage_snapshots_proto_goTypes = []interface{}{ +var file_throttle_usage_snapshots_proto_goTypes = []any{ (*ThrottleUsageSnapshots)(nil), // 0: proto.ThrottleUsageSnapshots (*ThrottleUsageSnapshot)(nil), // 1: proto.ThrottleUsageSnapshot (*Timestamp)(nil), // 2: proto.Timestamp @@ -202,32 +198,6 @@ func file_throttle_usage_snapshots_proto_init() { return } file_timestamp_proto_init() - if !protoimpl.UnsafeEnabled { - file_throttle_usage_snapshots_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ThrottleUsageSnapshots); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_throttle_usage_snapshots_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ThrottleUsageSnapshot); 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{ diff --git a/proto/services/timestamp.pb.go b/proto/services/timestamp.pb.go index c32c6c2e..6d673d73 100644 --- a/proto/services/timestamp.pb.go +++ b/proto/services/timestamp.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.35.2 // protoc v4.25.3 // source: timestamp.proto @@ -38,11 +38,9 @@ type Timestamp struct { func (x *Timestamp) Reset() { *x = Timestamp{} - if protoimpl.UnsafeEnabled { - mi := &file_timestamp_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_timestamp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Timestamp) String() string { @@ -53,7 +51,7 @@ func (*Timestamp) ProtoMessage() {} func (x *Timestamp) ProtoReflect() protoreflect.Message { mi := &file_timestamp_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -96,11 +94,9 @@ type TimestampSeconds struct { func (x *TimestampSeconds) Reset() { *x = TimestampSeconds{} - if protoimpl.UnsafeEnabled { - mi := &file_timestamp_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_timestamp_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TimestampSeconds) String() string { @@ -111,7 +107,7 @@ func (*TimestampSeconds) ProtoMessage() {} func (x *TimestampSeconds) ProtoReflect() protoreflect.Message { mi := &file_timestamp_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -163,7 +159,7 @@ func file_timestamp_proto_rawDescGZIP() []byte { } var file_timestamp_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_timestamp_proto_goTypes = []interface{}{ +var file_timestamp_proto_goTypes = []any{ (*Timestamp)(nil), // 0: proto.Timestamp (*TimestampSeconds)(nil), // 1: proto.TimestampSeconds } @@ -180,32 +176,6 @@ func file_timestamp_proto_init() { if File_timestamp_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_timestamp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Timestamp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_timestamp_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TimestampSeconds); 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{ diff --git a/proto/services/token.pb.go b/proto/services/token.pb.go new file mode 100644 index 00000000..f9a03fff --- /dev/null +++ b/proto/services/token.pb.go @@ -0,0 +1,517 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.35.2 +// protoc v4.25.3 +// source: token.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) +) + +type Token struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // * + // The unique entity id of this token. + TokenId *TokenID `protobuf:"bytes,1,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"` + // * + // The human-readable name of this token. Need not be unique. Maximum length allowed is 100 bytes. + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + // * + // The human-readable symbol for the token. It is not necessarily unique. Maximum length allowed is 100 bytes. + Symbol string `protobuf:"bytes,3,opt,name=symbol,proto3" json:"symbol,omitempty"` + // * + // The number of decimal places of this token. If decimals are 8 or 11, then the number of whole + // tokens can be at most a few billions or millions, respectively. For example, it could match + // Bitcoin (21 million whole tokens with 8 decimals) or hbars (50 billion whole tokens with 8 decimals). + // It could even match Bitcoin with milli-satoshis (21 million whole tokens with 11 decimals). + Decimals int32 `protobuf:"varint,4,opt,name=decimals,proto3" json:"decimals,omitempty"` + // * + // The total supply of this token. + TotalSupply int64 `protobuf:"varint,5,opt,name=total_supply,json=totalSupply,proto3" json:"total_supply,omitempty"` + // * + // The treasury account id of this token. This account receives the initial supply of + // tokens as well as the tokens from the Token Mint operation once executed. The balance + // of the treasury account is decreased when the Token Burn operation is executed. + TreasuryAccountId *AccountID `protobuf:"bytes,6,opt,name=treasury_account_id,json=treasuryAccountId,proto3" json:"treasury_account_id,omitempty"` + // * + // (Optional) The admin key of this token. If this key is set, the token is mutable. + // A mutable token can be modified. + // If this key is not set on token creation, it cannot be modified. + AdminKey *Key `protobuf:"bytes,7,opt,name=admin_key,json=adminKey,proto3" json:"admin_key,omitempty"` + // * + // (Optional) The kyc key of this token. + // If this key is not set on token creation, it can only be set if the token has admin key set. + KycKey *Key `protobuf:"bytes,8,opt,name=kyc_key,json=kycKey,proto3" json:"kyc_key,omitempty"` + // * + // (Optional) The freeze key of this token. This key is needed for freezing the token. + // If this key is not set on token creation, it can only be set if the token has admin key set. + FreezeKey *Key `protobuf:"bytes,9,opt,name=freeze_key,json=freezeKey,proto3" json:"freeze_key,omitempty"` + // * + // (Optional) The wipe key of this token. This key is needed for wiping the token. + // If this key is not set on token creation, it can only be set if the token has admin key set. + WipeKey *Key `protobuf:"bytes,10,opt,name=wipe_key,json=wipeKey,proto3" json:"wipe_key,omitempty"` + // * + // (Optional) The supply key of this token. This key is needed for minting or burning token. + // If this key is not set on token creation, it can only be set if the token has admin key set. + SupplyKey *Key `protobuf:"bytes,11,opt,name=supply_key,json=supplyKey,proto3" json:"supply_key,omitempty"` + // * + // (Optional) The fee schedule key of this token. This key should be set, in order to make any + // changes to the custom fee schedule. + // If this key is not set on token creation, it can only be set if the token has admin key set. + FeeScheduleKey *Key `protobuf:"bytes,12,opt,name=fee_schedule_key,json=feeScheduleKey,proto3" json:"fee_schedule_key,omitempty"` + // * + // (Optional) The pause key of this token. This key is needed for pausing the token. + // If this key is not set on token creation, it can only be set if the token has admin key set. + PauseKey *Key `protobuf:"bytes,13,opt,name=pause_key,json=pauseKey,proto3" json:"pause_key,omitempty"` + // * + // The last used serial number of this token. + LastUsedSerialNumber int64 `protobuf:"varint,14,opt,name=last_used_serial_number,json=lastUsedSerialNumber,proto3" json:"last_used_serial_number,omitempty"` + // * + // The flag indicating if this token is deleted. + Deleted bool `protobuf:"varint,15,opt,name=deleted,proto3" json:"deleted,omitempty"` + // * + // The type of this token. A token can be either FUNGIBLE_COMMON or NON_FUNGIBLE_UNIQUE. + // If it has been omitted during token creation, FUNGIBLE_COMMON type is used. + TokenType TokenType `protobuf:"varint,16,opt,name=token_type,json=tokenType,proto3,enum=proto.TokenType" json:"token_type,omitempty"` + // * + // The supply type of this token.A token can have either INFINITE or FINITE supply type. + // If it has been omitted during token creation, INFINITE type is used. + SupplyType TokenSupplyType `protobuf:"varint,17,opt,name=supply_type,json=supplyType,proto3,enum=proto.TokenSupplyType" json:"supply_type,omitempty"` + // * + // The id of the account (if any) that the network will attempt to charge for the + // token's auto-renewal upon expiration. + AutoRenewAccountId *AccountID `protobuf:"bytes,18,opt,name=auto_renew_account_id,json=autoRenewAccountId,proto3" json:"auto_renew_account_id,omitempty"` + // * + // The number of seconds the network should automatically extend the token's expiration by, if the + // token has a valid auto-renew account, and is not deleted upon expiration. + // If this is not provided in a allowed range on token creation, the transaction will fail with INVALID_AUTO_RENEWAL_PERIOD. + // The default values for the minimum period and maximum period are 30 days and 90 days, respectively. + AutoRenewSeconds int64 `protobuf:"varint,19,opt,name=auto_renew_seconds,json=autoRenewSeconds,proto3" json:"auto_renew_seconds,omitempty"` + // * + // The expiration time of the token, in seconds since the epoch. + ExpirationSecond int64 `protobuf:"varint,20,opt,name=expiration_second,json=expirationSecond,proto3" json:"expiration_second,omitempty"` + // * + // An optional description of the token with UTF-8 encoding up to 100 bytes. + Memo string `protobuf:"bytes,21,opt,name=memo,proto3" json:"memo,omitempty"` + // * + // The maximum supply of this token. + MaxSupply int64 `protobuf:"varint,22,opt,name=max_supply,json=maxSupply,proto3" json:"max_supply,omitempty"` + // * + // The flag indicating if this token is paused. + Paused bool `protobuf:"varint,23,opt,name=paused,proto3" json:"paused,omitempty"` + // * + // The flag indicating if this token has accounts associated to it that are frozen by default. + AccountsFrozenByDefault bool `protobuf:"varint,24,opt,name=accounts_frozen_by_default,json=accountsFrozenByDefault,proto3" json:"accounts_frozen_by_default,omitempty"` + // * + // The flag indicating if this token has accounts associated with it that are KYC granted by default. + AccountsKycGrantedByDefault bool `protobuf:"varint,25,opt,name=accounts_kyc_granted_by_default,json=accountsKycGrantedByDefault,proto3" json:"accounts_kyc_granted_by_default,omitempty"` + // * + // (Optional) The custom fees of this token. + CustomFees []*CustomFee `protobuf:"bytes,26,rep,name=custom_fees,json=customFees,proto3" json:"custom_fees,omitempty"` + // * + // Metadata of the created token definition + Metadata []byte `protobuf:"bytes,27,opt,name=metadata,proto3" json:"metadata,omitempty"` + // * + // The key which can change the metadata of a token + // (token definition and individual NFTs). + MetadataKey *Key `protobuf:"bytes,28,opt,name=metadata_key,json=metadataKey,proto3" json:"metadata_key,omitempty"` +} + +func (x *Token) Reset() { + *x = Token{} + mi := &file_token_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Token) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Token) ProtoMessage() {} + +func (x *Token) ProtoReflect() protoreflect.Message { + mi := &file_token_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Token.ProtoReflect.Descriptor instead. +func (*Token) Descriptor() ([]byte, []int) { + return file_token_proto_rawDescGZIP(), []int{0} +} + +func (x *Token) GetTokenId() *TokenID { + if x != nil { + return x.TokenId + } + return nil +} + +func (x *Token) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *Token) GetSymbol() string { + if x != nil { + return x.Symbol + } + return "" +} + +func (x *Token) GetDecimals() int32 { + if x != nil { + return x.Decimals + } + return 0 +} + +func (x *Token) GetTotalSupply() int64 { + if x != nil { + return x.TotalSupply + } + return 0 +} + +func (x *Token) GetTreasuryAccountId() *AccountID { + if x != nil { + return x.TreasuryAccountId + } + return nil +} + +func (x *Token) GetAdminKey() *Key { + if x != nil { + return x.AdminKey + } + return nil +} + +func (x *Token) GetKycKey() *Key { + if x != nil { + return x.KycKey + } + return nil +} + +func (x *Token) GetFreezeKey() *Key { + if x != nil { + return x.FreezeKey + } + return nil +} + +func (x *Token) GetWipeKey() *Key { + if x != nil { + return x.WipeKey + } + return nil +} + +func (x *Token) GetSupplyKey() *Key { + if x != nil { + return x.SupplyKey + } + return nil +} + +func (x *Token) GetFeeScheduleKey() *Key { + if x != nil { + return x.FeeScheduleKey + } + return nil +} + +func (x *Token) GetPauseKey() *Key { + if x != nil { + return x.PauseKey + } + return nil +} + +func (x *Token) GetLastUsedSerialNumber() int64 { + if x != nil { + return x.LastUsedSerialNumber + } + return 0 +} + +func (x *Token) GetDeleted() bool { + if x != nil { + return x.Deleted + } + return false +} + +func (x *Token) GetTokenType() TokenType { + if x != nil { + return x.TokenType + } + return TokenType_FUNGIBLE_COMMON +} + +func (x *Token) GetSupplyType() TokenSupplyType { + if x != nil { + return x.SupplyType + } + return TokenSupplyType_INFINITE +} + +func (x *Token) GetAutoRenewAccountId() *AccountID { + if x != nil { + return x.AutoRenewAccountId + } + return nil +} + +func (x *Token) GetAutoRenewSeconds() int64 { + if x != nil { + return x.AutoRenewSeconds + } + return 0 +} + +func (x *Token) GetExpirationSecond() int64 { + if x != nil { + return x.ExpirationSecond + } + return 0 +} + +func (x *Token) GetMemo() string { + if x != nil { + return x.Memo + } + return "" +} + +func (x *Token) GetMaxSupply() int64 { + if x != nil { + return x.MaxSupply + } + return 0 +} + +func (x *Token) GetPaused() bool { + if x != nil { + return x.Paused + } + return false +} + +func (x *Token) GetAccountsFrozenByDefault() bool { + if x != nil { + return x.AccountsFrozenByDefault + } + return false +} + +func (x *Token) GetAccountsKycGrantedByDefault() bool { + if x != nil { + return x.AccountsKycGrantedByDefault + } + return false +} + +func (x *Token) GetCustomFees() []*CustomFee { + if x != nil { + return x.CustomFees + } + return nil +} + +func (x *Token) GetMetadata() []byte { + if x != nil { + return x.Metadata + } + return nil +} + +func (x *Token) GetMetadataKey() *Key { + if x != nil { + return x.MetadataKey + } + return nil +} + +var File_token_proto protoreflect.FileDescriptor + +var file_token_proto_rawDesc = []byte{ + 0x0a, 0x0b, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 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, 0x11, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, + 0x66, 0x65, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb0, 0x09, 0x0a, 0x05, 0x54, + 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x29, 0x0a, 0x08, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x54, + 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x44, 0x52, 0x07, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, 0x12, + 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x12, 0x1a, 0x0a, 0x08, 0x64, + 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x64, + 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x74, 0x6f, 0x74, 0x61, 0x6c, + 0x5f, 0x73, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x74, + 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x12, 0x40, 0x0a, 0x13, 0x74, 0x72, + 0x65, 0x61, 0x73, 0x75, 0x72, 0x79, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, + 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, + 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x44, 0x52, 0x11, 0x74, 0x72, 0x65, 0x61, 0x73, + 0x75, 0x72, 0x79, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x27, 0x0a, 0x09, + 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x0a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x4b, 0x65, 0x79, 0x52, 0x08, 0x61, 0x64, 0x6d, + 0x69, 0x6e, 0x4b, 0x65, 0x79, 0x12, 0x23, 0x0a, 0x07, 0x6b, 0x79, 0x63, 0x5f, 0x6b, 0x65, 0x79, + 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x4b, + 0x65, 0x79, 0x52, 0x06, 0x6b, 0x79, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x29, 0x0a, 0x0a, 0x66, 0x72, + 0x65, 0x65, 0x7a, 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x4b, 0x65, 0x79, 0x52, 0x09, 0x66, 0x72, 0x65, 0x65, + 0x7a, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x25, 0x0a, 0x08, 0x77, 0x69, 0x70, 0x65, 0x5f, 0x6b, 0x65, + 0x79, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, + 0x4b, 0x65, 0x79, 0x52, 0x07, 0x77, 0x69, 0x70, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x29, 0x0a, 0x0a, + 0x73, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x0a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x4b, 0x65, 0x79, 0x52, 0x09, 0x73, 0x75, + 0x70, 0x70, 0x6c, 0x79, 0x4b, 0x65, 0x79, 0x12, 0x34, 0x0a, 0x10, 0x66, 0x65, 0x65, 0x5f, 0x73, + 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x0c, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x0a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x4b, 0x65, 0x79, 0x52, 0x0e, 0x66, + 0x65, 0x65, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x27, 0x0a, + 0x09, 0x70, 0x61, 0x75, 0x73, 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x0a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x4b, 0x65, 0x79, 0x52, 0x08, 0x70, 0x61, + 0x75, 0x73, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x35, 0x0a, 0x17, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x75, + 0x73, 0x65, 0x64, 0x5f, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, + 0x72, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x03, 0x52, 0x14, 0x6c, 0x61, 0x73, 0x74, 0x55, 0x73, 0x65, + 0x64, 0x53, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x18, 0x0a, + 0x07, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, + 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x12, 0x2f, 0x0a, 0x0a, 0x74, 0x6f, 0x6b, 0x65, 0x6e, + 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x10, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x74, + 0x6f, 0x6b, 0x65, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x37, 0x0a, 0x0b, 0x73, 0x75, 0x70, 0x70, + 0x6c, 0x79, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x53, 0x75, 0x70, 0x70, 0x6c, + 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x73, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x54, 0x79, 0x70, + 0x65, 0x12, 0x43, 0x0a, 0x15, 0x61, 0x75, 0x74, 0x6f, 0x5f, 0x72, 0x65, 0x6e, 0x65, 0x77, 0x5f, + 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x12, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x10, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x49, 0x44, 0x52, 0x12, 0x61, 0x75, 0x74, 0x6f, 0x52, 0x65, 0x6e, 0x65, 0x77, 0x41, 0x63, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x75, 0x74, 0x6f, 0x5f, 0x72, + 0x65, 0x6e, 0x65, 0x77, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x13, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x10, 0x61, 0x75, 0x74, 0x6f, 0x52, 0x65, 0x6e, 0x65, 0x77, 0x53, 0x65, 0x63, + 0x6f, 0x6e, 0x64, 0x73, 0x12, 0x2b, 0x0a, 0x11, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x18, 0x14, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x10, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x63, 0x6f, 0x6e, + 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x65, 0x6d, 0x6f, 0x18, 0x15, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x04, 0x6d, 0x65, 0x6d, 0x6f, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x61, 0x78, 0x5f, 0x73, 0x75, 0x70, + 0x70, 0x6c, 0x79, 0x18, 0x16, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x6d, 0x61, 0x78, 0x53, 0x75, + 0x70, 0x70, 0x6c, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x75, 0x73, 0x65, 0x64, 0x18, 0x17, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x70, 0x61, 0x75, 0x73, 0x65, 0x64, 0x12, 0x3b, 0x0a, 0x1a, + 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x5f, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x5f, + 0x62, 0x79, 0x5f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x18, 0x18, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x17, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x46, 0x72, 0x6f, 0x7a, 0x65, 0x6e, + 0x42, 0x79, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x12, 0x44, 0x0a, 0x1f, 0x61, 0x63, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x5f, 0x6b, 0x79, 0x63, 0x5f, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x65, + 0x64, 0x5f, 0x62, 0x79, 0x5f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x18, 0x19, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x1b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x4b, 0x79, 0x63, 0x47, + 0x72, 0x61, 0x6e, 0x74, 0x65, 0x64, 0x42, 0x79, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x12, + 0x31, 0x0a, 0x0b, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x66, 0x65, 0x65, 0x73, 0x18, 0x1a, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x43, 0x75, 0x73, + 0x74, 0x6f, 0x6d, 0x46, 0x65, 0x65, 0x52, 0x0a, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x46, 0x65, + 0x65, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x1b, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x2d, + 0x0a, 0x0c, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x1c, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x4b, 0x65, 0x79, + 0x52, 0x0b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x4b, 0x65, 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 ( + file_token_proto_rawDescOnce sync.Once + file_token_proto_rawDescData = file_token_proto_rawDesc +) + +func file_token_proto_rawDescGZIP() []byte { + file_token_proto_rawDescOnce.Do(func() { + file_token_proto_rawDescData = protoimpl.X.CompressGZIP(file_token_proto_rawDescData) + }) + return file_token_proto_rawDescData +} + +var file_token_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_token_proto_goTypes = []any{ + (*Token)(nil), // 0: proto.Token + (*TokenID)(nil), // 1: proto.TokenID + (*AccountID)(nil), // 2: proto.AccountID + (*Key)(nil), // 3: proto.Key + (TokenType)(0), // 4: proto.TokenType + (TokenSupplyType)(0), // 5: proto.TokenSupplyType + (*CustomFee)(nil), // 6: proto.CustomFee +} +var file_token_proto_depIdxs = []int32{ + 1, // 0: proto.Token.token_id:type_name -> proto.TokenID + 2, // 1: proto.Token.treasury_account_id:type_name -> proto.AccountID + 3, // 2: proto.Token.admin_key:type_name -> proto.Key + 3, // 3: proto.Token.kyc_key:type_name -> proto.Key + 3, // 4: proto.Token.freeze_key:type_name -> proto.Key + 3, // 5: proto.Token.wipe_key:type_name -> proto.Key + 3, // 6: proto.Token.supply_key:type_name -> proto.Key + 3, // 7: proto.Token.fee_schedule_key:type_name -> proto.Key + 3, // 8: proto.Token.pause_key:type_name -> proto.Key + 4, // 9: proto.Token.token_type:type_name -> proto.TokenType + 5, // 10: proto.Token.supply_type:type_name -> proto.TokenSupplyType + 2, // 11: proto.Token.auto_renew_account_id:type_name -> proto.AccountID + 6, // 12: proto.Token.custom_fees:type_name -> proto.CustomFee + 3, // 13: proto.Token.metadata_key:type_name -> proto.Key + 14, // [14:14] is the sub-list for method output_type + 14, // [14:14] is the sub-list for method input_type + 14, // [14:14] is the sub-list for extension type_name + 14, // [14:14] is the sub-list for extension extendee + 0, // [0:14] is the sub-list for field type_name +} + +func init() { file_token_proto_init() } +func file_token_proto_init() { + if File_token_proto != nil { + return + } + file_basic_types_proto_init() + file_custom_fees_proto_init() + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_token_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_token_proto_goTypes, + DependencyIndexes: file_token_proto_depIdxs, + MessageInfos: file_token_proto_msgTypes, + }.Build() + File_token_proto = out.File + file_token_proto_rawDesc = nil + file_token_proto_goTypes = nil + file_token_proto_depIdxs = nil +} diff --git a/proto/services/token_airdrop.pb.go b/proto/services/token_airdrop.pb.go index 681e1014..ed140f5d 100644 --- a/proto/services/token_airdrop.pb.go +++ b/proto/services/token_airdrop.pb.go @@ -12,7 +12,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.35.2 // protoc v4.25.3 // source: token_airdrop.proto @@ -99,11 +99,9 @@ type TokenAirdropTransactionBody struct { func (x *TokenAirdropTransactionBody) Reset() { *x = TokenAirdropTransactionBody{} - if protoimpl.UnsafeEnabled { - mi := &file_token_airdrop_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_token_airdrop_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TokenAirdropTransactionBody) String() string { @@ -114,7 +112,7 @@ func (*TokenAirdropTransactionBody) ProtoMessage() {} func (x *TokenAirdropTransactionBody) ProtoReflect() protoreflect.Message { mi := &file_token_airdrop_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -167,7 +165,7 @@ func file_token_airdrop_proto_rawDescGZIP() []byte { } var file_token_airdrop_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_token_airdrop_proto_goTypes = []interface{}{ +var file_token_airdrop_proto_goTypes = []any{ (*TokenAirdropTransactionBody)(nil), // 0: proto.TokenAirdropTransactionBody (*TokenTransferList)(nil), // 1: proto.TokenTransferList } @@ -186,20 +184,6 @@ func file_token_airdrop_proto_init() { return } file_basic_types_proto_init() - if !protoimpl.UnsafeEnabled { - file_token_airdrop_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TokenAirdropTransactionBody); 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{ diff --git a/proto/services/token_associate.pb.go b/proto/services/token_associate.pb.go index 4a81a6cd..354a182f 100644 --- a/proto/services/token_associate.pb.go +++ b/proto/services/token_associate.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.35.2 // protoc v4.25.3 // source: token_associate.proto @@ -50,11 +50,9 @@ type TokenAssociateTransactionBody struct { func (x *TokenAssociateTransactionBody) Reset() { *x = TokenAssociateTransactionBody{} - if protoimpl.UnsafeEnabled { - mi := &file_token_associate_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_token_associate_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TokenAssociateTransactionBody) String() string { @@ -65,7 +63,7 @@ func (*TokenAssociateTransactionBody) ProtoMessage() {} func (x *TokenAssociateTransactionBody) ProtoReflect() protoreflect.Message { mi := &file_token_associate_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -126,7 +124,7 @@ func file_token_associate_proto_rawDescGZIP() []byte { } var file_token_associate_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_token_associate_proto_goTypes = []interface{}{ +var file_token_associate_proto_goTypes = []any{ (*TokenAssociateTransactionBody)(nil), // 0: proto.TokenAssociateTransactionBody (*AccountID)(nil), // 1: proto.AccountID (*TokenID)(nil), // 2: proto.TokenID @@ -147,20 +145,6 @@ func file_token_associate_proto_init() { return } file_basic_types_proto_init() - if !protoimpl.UnsafeEnabled { - file_token_associate_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TokenAssociateTransactionBody); 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{ diff --git a/proto/services/token_burn.pb.go b/proto/services/token_burn.pb.go index 6aee90a9..eca6d80d 100644 --- a/proto/services/token_burn.pb.go +++ b/proto/services/token_burn.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.35.2 // protoc v4.25.3 // source: token_burn.proto @@ -59,11 +59,9 @@ type TokenBurnTransactionBody struct { func (x *TokenBurnTransactionBody) Reset() { *x = TokenBurnTransactionBody{} - if protoimpl.UnsafeEnabled { - mi := &file_token_burn_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_token_burn_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TokenBurnTransactionBody) String() string { @@ -74,7 +72,7 @@ func (*TokenBurnTransactionBody) ProtoMessage() {} func (x *TokenBurnTransactionBody) ProtoReflect() protoreflect.Message { mi := &file_token_burn_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -142,7 +140,7 @@ func file_token_burn_proto_rawDescGZIP() []byte { } var file_token_burn_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_token_burn_proto_goTypes = []interface{}{ +var file_token_burn_proto_goTypes = []any{ (*TokenBurnTransactionBody)(nil), // 0: proto.TokenBurnTransactionBody (*TokenID)(nil), // 1: proto.TokenID } @@ -161,20 +159,6 @@ func file_token_burn_proto_init() { return } file_basic_types_proto_init() - if !protoimpl.UnsafeEnabled { - file_token_burn_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TokenBurnTransactionBody); 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{ diff --git a/proto/services/token_cancel_airdrop.pb.go b/proto/services/token_cancel_airdrop.pb.go index 3ed1fc8d..9275b772 100644 --- a/proto/services/token_cancel_airdrop.pb.go +++ b/proto/services/token_cancel_airdrop.pb.go @@ -9,7 +9,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.35.2 // protoc v4.25.3 // source: token_cancel_airdrop.proto @@ -58,11 +58,9 @@ type TokenCancelAirdropTransactionBody struct { func (x *TokenCancelAirdropTransactionBody) Reset() { *x = TokenCancelAirdropTransactionBody{} - if protoimpl.UnsafeEnabled { - mi := &file_token_cancel_airdrop_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_token_cancel_airdrop_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TokenCancelAirdropTransactionBody) String() string { @@ -73,7 +71,7 @@ func (*TokenCancelAirdropTransactionBody) ProtoMessage() {} func (x *TokenCancelAirdropTransactionBody) ProtoReflect() protoreflect.Message { mi := &file_token_cancel_airdrop_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -126,7 +124,7 @@ func file_token_cancel_airdrop_proto_rawDescGZIP() []byte { } var file_token_cancel_airdrop_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_token_cancel_airdrop_proto_goTypes = []interface{}{ +var file_token_cancel_airdrop_proto_goTypes = []any{ (*TokenCancelAirdropTransactionBody)(nil), // 0: proto.TokenCancelAirdropTransactionBody (*PendingAirdropId)(nil), // 1: proto.PendingAirdropId } @@ -145,20 +143,6 @@ func file_token_cancel_airdrop_proto_init() { return } file_basic_types_proto_init() - if !protoimpl.UnsafeEnabled { - file_token_cancel_airdrop_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TokenCancelAirdropTransactionBody); 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{ diff --git a/proto/services/token_claim_airdrop.pb.go b/proto/services/token_claim_airdrop.pb.go index 72f4c364..cd566d01 100644 --- a/proto/services/token_claim_airdrop.pb.go +++ b/proto/services/token_claim_airdrop.pb.go @@ -9,7 +9,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.35.2 // protoc v4.25.3 // source: token_claim_airdrop.proto @@ -62,11 +62,9 @@ type TokenClaimAirdropTransactionBody struct { func (x *TokenClaimAirdropTransactionBody) Reset() { *x = TokenClaimAirdropTransactionBody{} - if protoimpl.UnsafeEnabled { - mi := &file_token_claim_airdrop_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_token_claim_airdrop_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TokenClaimAirdropTransactionBody) String() string { @@ -77,7 +75,7 @@ func (*TokenClaimAirdropTransactionBody) ProtoMessage() {} func (x *TokenClaimAirdropTransactionBody) ProtoReflect() protoreflect.Message { mi := &file_token_claim_airdrop_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -130,7 +128,7 @@ func file_token_claim_airdrop_proto_rawDescGZIP() []byte { } var file_token_claim_airdrop_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_token_claim_airdrop_proto_goTypes = []interface{}{ +var file_token_claim_airdrop_proto_goTypes = []any{ (*TokenClaimAirdropTransactionBody)(nil), // 0: proto.TokenClaimAirdropTransactionBody (*PendingAirdropId)(nil), // 1: proto.PendingAirdropId } @@ -149,20 +147,6 @@ func file_token_claim_airdrop_proto_init() { return } file_basic_types_proto_init() - if !protoimpl.UnsafeEnabled { - file_token_claim_airdrop_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TokenClaimAirdropTransactionBody); 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{ diff --git a/proto/services/token_create.pb.go b/proto/services/token_create.pb.go index 54531290..57902317 100644 --- a/proto/services/token_create.pb.go +++ b/proto/services/token_create.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.35.2 // protoc v4.25.3 // source: token_create.proto @@ -160,11 +160,9 @@ type TokenCreateTransactionBody struct { func (x *TokenCreateTransactionBody) Reset() { *x = TokenCreateTransactionBody{} - if protoimpl.UnsafeEnabled { - mi := &file_token_create_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_token_create_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TokenCreateTransactionBody) String() string { @@ -175,7 +173,7 @@ func (*TokenCreateTransactionBody) ProtoMessage() {} func (x *TokenCreateTransactionBody) ProtoReflect() protoreflect.Message { mi := &file_token_create_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -439,7 +437,7 @@ func file_token_create_proto_rawDescGZIP() []byte { } var file_token_create_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_token_create_proto_goTypes = []interface{}{ +var file_token_create_proto_goTypes = []any{ (*TokenCreateTransactionBody)(nil), // 0: proto.TokenCreateTransactionBody (*AccountID)(nil), // 1: proto.AccountID (*Key)(nil), // 2: proto.Key @@ -481,20 +479,6 @@ func file_token_create_proto_init() { file_basic_types_proto_init() file_custom_fees_proto_init() file_timestamp_proto_init() - if !protoimpl.UnsafeEnabled { - file_token_create_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TokenCreateTransactionBody); 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{ diff --git a/proto/services/token_delete.pb.go b/proto/services/token_delete.pb.go index 0bf8d2ca..85055ef2 100644 --- a/proto/services/token_delete.pb.go +++ b/proto/services/token_delete.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.35.2 // protoc v4.25.3 // source: token_delete.proto @@ -39,11 +39,9 @@ type TokenDeleteTransactionBody struct { func (x *TokenDeleteTransactionBody) Reset() { *x = TokenDeleteTransactionBody{} - if protoimpl.UnsafeEnabled { - mi := &file_token_delete_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_token_delete_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TokenDeleteTransactionBody) String() string { @@ -54,7 +52,7 @@ func (*TokenDeleteTransactionBody) ProtoMessage() {} func (x *TokenDeleteTransactionBody) ProtoReflect() protoreflect.Message { mi := &file_token_delete_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -105,7 +103,7 @@ func file_token_delete_proto_rawDescGZIP() []byte { } var file_token_delete_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_token_delete_proto_goTypes = []interface{}{ +var file_token_delete_proto_goTypes = []any{ (*TokenDeleteTransactionBody)(nil), // 0: proto.TokenDeleteTransactionBody (*TokenID)(nil), // 1: proto.TokenID } @@ -124,20 +122,6 @@ func file_token_delete_proto_init() { return } file_basic_types_proto_init() - if !protoimpl.UnsafeEnabled { - file_token_delete_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TokenDeleteTransactionBody); 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{ diff --git a/proto/services/token_dissociate.pb.go b/proto/services/token_dissociate.pb.go index d916d590..41e423a6 100644 --- a/proto/services/token_dissociate.pb.go +++ b/proto/services/token_dissociate.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.35.2 // protoc v4.25.3 // source: token_dissociate.proto @@ -51,11 +51,9 @@ type TokenDissociateTransactionBody struct { func (x *TokenDissociateTransactionBody) Reset() { *x = TokenDissociateTransactionBody{} - if protoimpl.UnsafeEnabled { - mi := &file_token_dissociate_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_token_dissociate_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TokenDissociateTransactionBody) String() string { @@ -66,7 +64,7 @@ func (*TokenDissociateTransactionBody) ProtoMessage() {} func (x *TokenDissociateTransactionBody) ProtoReflect() protoreflect.Message { mi := &file_token_dissociate_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -127,7 +125,7 @@ func file_token_dissociate_proto_rawDescGZIP() []byte { } var file_token_dissociate_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_token_dissociate_proto_goTypes = []interface{}{ +var file_token_dissociate_proto_goTypes = []any{ (*TokenDissociateTransactionBody)(nil), // 0: proto.TokenDissociateTransactionBody (*AccountID)(nil), // 1: proto.AccountID (*TokenID)(nil), // 2: proto.TokenID @@ -148,20 +146,6 @@ func file_token_dissociate_proto_init() { return } file_basic_types_proto_init() - if !protoimpl.UnsafeEnabled { - file_token_dissociate_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TokenDissociateTransactionBody); 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{ diff --git a/proto/services/token_fee_schedule_update.pb.go b/proto/services/token_fee_schedule_update.pb.go index 71a81a3a..6d6be597 100644 --- a/proto/services/token_fee_schedule_update.pb.go +++ b/proto/services/token_fee_schedule_update.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.35.2 // protoc v4.25.3 // source: token_fee_schedule_update.proto @@ -44,11 +44,9 @@ type TokenFeeScheduleUpdateTransactionBody struct { func (x *TokenFeeScheduleUpdateTransactionBody) Reset() { *x = TokenFeeScheduleUpdateTransactionBody{} - if protoimpl.UnsafeEnabled { - mi := &file_token_fee_schedule_update_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_token_fee_schedule_update_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TokenFeeScheduleUpdateTransactionBody) String() string { @@ -59,7 +57,7 @@ func (*TokenFeeScheduleUpdateTransactionBody) ProtoMessage() {} func (x *TokenFeeScheduleUpdateTransactionBody) ProtoReflect() protoreflect.Message { mi := &file_token_fee_schedule_update_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -123,7 +121,7 @@ func file_token_fee_schedule_update_proto_rawDescGZIP() []byte { } var file_token_fee_schedule_update_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_token_fee_schedule_update_proto_goTypes = []interface{}{ +var file_token_fee_schedule_update_proto_goTypes = []any{ (*TokenFeeScheduleUpdateTransactionBody)(nil), // 0: proto.TokenFeeScheduleUpdateTransactionBody (*TokenID)(nil), // 1: proto.TokenID (*CustomFee)(nil), // 2: proto.CustomFee @@ -145,20 +143,6 @@ func file_token_fee_schedule_update_proto_init() { } file_basic_types_proto_init() file_custom_fees_proto_init() - if !protoimpl.UnsafeEnabled { - file_token_fee_schedule_update_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TokenFeeScheduleUpdateTransactionBody); 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{ diff --git a/proto/services/token_freeze_account.pb.go b/proto/services/token_freeze_account.pb.go index a4c948ba..b2c365bd 100644 --- a/proto/services/token_freeze_account.pb.go +++ b/proto/services/token_freeze_account.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.35.2 // protoc v4.25.3 // source: token_freeze_account.proto @@ -47,11 +47,9 @@ type TokenFreezeAccountTransactionBody struct { func (x *TokenFreezeAccountTransactionBody) Reset() { *x = TokenFreezeAccountTransactionBody{} - if protoimpl.UnsafeEnabled { - mi := &file_token_freeze_account_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_token_freeze_account_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TokenFreezeAccountTransactionBody) String() string { @@ -62,7 +60,7 @@ func (*TokenFreezeAccountTransactionBody) ProtoMessage() {} func (x *TokenFreezeAccountTransactionBody) ProtoReflect() protoreflect.Message { mi := &file_token_freeze_account_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -123,7 +121,7 @@ func file_token_freeze_account_proto_rawDescGZIP() []byte { } var file_token_freeze_account_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_token_freeze_account_proto_goTypes = []interface{}{ +var file_token_freeze_account_proto_goTypes = []any{ (*TokenFreezeAccountTransactionBody)(nil), // 0: proto.TokenFreezeAccountTransactionBody (*TokenID)(nil), // 1: proto.TokenID (*AccountID)(nil), // 2: proto.AccountID @@ -144,20 +142,6 @@ func file_token_freeze_account_proto_init() { return } file_basic_types_proto_init() - if !protoimpl.UnsafeEnabled { - file_token_freeze_account_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TokenFreezeAccountTransactionBody); 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{ diff --git a/proto/services/token_get_account_nft_infos.pb.go b/proto/services/token_get_account_nft_infos.pb.go index ad7ada31..1ab9a51a 100644 --- a/proto/services/token_get_account_nft_infos.pb.go +++ b/proto/services/token_get_account_nft_infos.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.35.2 // protoc v4.25.3 // source: token_get_account_nft_infos.proto @@ -62,11 +62,9 @@ type TokenGetAccountNftInfosQuery struct { func (x *TokenGetAccountNftInfosQuery) Reset() { *x = TokenGetAccountNftInfosQuery{} - if protoimpl.UnsafeEnabled { - mi := &file_token_get_account_nft_infos_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_token_get_account_nft_infos_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TokenGetAccountNftInfosQuery) String() string { @@ -77,7 +75,7 @@ func (*TokenGetAccountNftInfosQuery) ProtoMessage() {} func (x *TokenGetAccountNftInfosQuery) ProtoReflect() protoreflect.Message { mi := &file_token_get_account_nft_infos_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -138,11 +136,9 @@ type TokenGetAccountNftInfosResponse struct { func (x *TokenGetAccountNftInfosResponse) Reset() { *x = TokenGetAccountNftInfosResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_token_get_account_nft_infos_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_token_get_account_nft_infos_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TokenGetAccountNftInfosResponse) String() string { @@ -153,7 +149,7 @@ func (*TokenGetAccountNftInfosResponse) ProtoMessage() {} func (x *TokenGetAccountNftInfosResponse) ProtoReflect() protoreflect.Message { mi := &file_token_get_account_nft_infos_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -230,7 +226,7 @@ func file_token_get_account_nft_infos_proto_rawDescGZIP() []byte { } var file_token_get_account_nft_infos_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_token_get_account_nft_infos_proto_goTypes = []interface{}{ +var file_token_get_account_nft_infos_proto_goTypes = []any{ (*TokenGetAccountNftInfosQuery)(nil), // 0: proto.TokenGetAccountNftInfosQuery (*TokenGetAccountNftInfosResponse)(nil), // 1: proto.TokenGetAccountNftInfosResponse (*QueryHeader)(nil), // 2: proto.QueryHeader @@ -259,32 +255,6 @@ func file_token_get_account_nft_infos_proto_init() { file_token_get_nft_info_proto_init() file_query_header_proto_init() file_response_header_proto_init() - if !protoimpl.UnsafeEnabled { - file_token_get_account_nft_infos_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TokenGetAccountNftInfosQuery); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_token_get_account_nft_infos_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TokenGetAccountNftInfosResponse); 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{ diff --git a/proto/services/token_get_info.pb.go b/proto/services/token_get_info.pb.go index e7935052..a04f80b7 100644 --- a/proto/services/token_get_info.pb.go +++ b/proto/services/token_get_info.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.35.2 // protoc v4.25.3 // source: token_get_info.proto @@ -39,11 +39,9 @@ type TokenGetInfoQuery struct { func (x *TokenGetInfoQuery) Reset() { *x = TokenGetInfoQuery{} - if protoimpl.UnsafeEnabled { - mi := &file_token_get_info_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_token_get_info_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TokenGetInfoQuery) String() string { @@ -54,7 +52,7 @@ func (*TokenGetInfoQuery) ProtoMessage() {} func (x *TokenGetInfoQuery) ProtoReflect() protoreflect.Message { mi := &file_token_get_info_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -190,15 +188,37 @@ type TokenInfo struct { // The key which can change the metadata of a token // (token definition and individual NFTs). MetadataKey *Key `protobuf:"bytes,28,opt,name=metadata_key,json=metadataKey,proto3" json:"metadata_key,omitempty"` + // * + // A function-specific account key.
+ // This key authorizes transactions to lock tokens in an account or account + // partition. + //+ // The key SHALL be used to authorize the locking and unlocking of tokens, + // or the transfer of locked tokens on balances held by the user + // on their account, or on the partition in their account. + LockKey *Key `protobuf:"bytes,29,opt,name=lock_key,json=lockKey,proto3" json:"lock_key,omitempty"` + // * + // A function-specific account key.
+ // This key authorizes transactions to partition fungible tokens and NFTs + // held by an account. + //+ // This key SHALL be used to authorize the creation, deletion, or updating + // of partition definitions owned by the token definition. + PartitionKey *Key `protobuf:"bytes,30,opt,name=partition_key,json=partitionKey,proto3" json:"partition_key,omitempty"` + // * + // A function-specific account key.
+ // This key authorizes transactions to move tokens between partitions. + //+ // This key SHALL be used to authorize the movement of tokens between + // partitions. + PartitionMoveKey *Key `protobuf:"bytes,31,opt,name=partition_move_key,json=partitionMoveKey,proto3" json:"partition_move_key,omitempty"` } func (x *TokenInfo) Reset() { *x = TokenInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_token_get_info_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_token_get_info_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TokenInfo) String() string { @@ -209,7 +229,7 @@ func (*TokenInfo) ProtoMessage() {} func (x *TokenInfo) ProtoReflect() protoreflect.Message { mi := &file_token_get_info_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -420,6 +440,27 @@ func (x *TokenInfo) GetMetadataKey() *Key { return nil } +func (x *TokenInfo) GetLockKey() *Key { + if x != nil { + return x.LockKey + } + return nil +} + +func (x *TokenInfo) GetPartitionKey() *Key { + if x != nil { + return x.PartitionKey + } + return nil +} + +func (x *TokenInfo) GetPartitionMoveKey() *Key { + if x != nil { + return x.PartitionMoveKey + } + return nil +} + // * // Response when the client sends the node TokenGetInfoQuery type TokenGetInfoResponse struct { @@ -438,11 +479,9 @@ type TokenGetInfoResponse struct { func (x *TokenGetInfoResponse) Reset() { *x = TokenGetInfoResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_token_get_info_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_token_get_info_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TokenGetInfoResponse) String() string { @@ -453,7 +492,7 @@ func (*TokenGetInfoResponse) ProtoMessage() {} func (x *TokenGetInfoResponse) ProtoReflect() protoreflect.Message { mi := &file_token_get_info_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -500,7 +539,7 @@ var file_token_get_info_proto_rawDesc = []byte{ 0x72, 0x79, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x24, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x44, 0x52, - 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xaf, 0x09, 0x0a, 0x09, 0x54, 0x6f, 0x6b, 0x65, 0x6e, + 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xc1, 0x0a, 0x0a, 0x09, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x28, 0x0a, 0x07, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x44, 0x52, 0x07, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, 0x12, 0x12, @@ -575,17 +614,27 @@ var file_token_get_info_proto_rawDesc = []byte{ 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x2d, 0x0a, 0x0c, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x1c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x4b, 0x65, 0x79, 0x52, 0x0b, 0x6d, 0x65, 0x74, - 0x61, 0x64, 0x61, 0x74, 0x61, 0x4b, 0x65, 0x79, 0x22, 0x75, 0x0a, 0x14, 0x54, 0x6f, 0x6b, 0x65, - 0x6e, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x2d, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, - 0x2e, 0x0a, 0x09, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, - 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 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, 0x64, 0x61, 0x74, 0x61, 0x4b, 0x65, 0x79, 0x12, 0x25, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x6b, + 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x1d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x2e, 0x4b, 0x65, 0x79, 0x52, 0x07, 0x6c, 0x6f, 0x63, 0x6b, 0x4b, 0x65, 0x79, 0x12, + 0x2f, 0x0a, 0x0d, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6b, 0x65, 0x79, + 0x18, 0x1e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x4b, + 0x65, 0x79, 0x52, 0x0c, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x4b, 0x65, 0x79, + 0x12, 0x38, 0x0a, 0x12, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x6f, + 0x76, 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x4b, 0x65, 0x79, 0x52, 0x10, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, + 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x76, 0x65, 0x4b, 0x65, 0x79, 0x22, 0x75, 0x0a, 0x14, 0x54, 0x6f, + 0x6b, 0x65, 0x6e, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x2d, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, + 0x72, 0x12, 0x2e, 0x0a, 0x09, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x54, 0x6f, 0x6b, + 0x65, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x6e, 0x66, + 0x6f, 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 ( @@ -601,7 +650,7 @@ func file_token_get_info_proto_rawDescGZIP() []byte { } var file_token_get_info_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_token_get_info_proto_goTypes = []interface{}{ +var file_token_get_info_proto_goTypes = []any{ (*TokenGetInfoQuery)(nil), // 0: proto.TokenGetInfoQuery (*TokenInfo)(nil), // 1: proto.TokenInfo (*TokenGetInfoResponse)(nil), // 2: proto.TokenGetInfoResponse @@ -641,13 +690,16 @@ var file_token_get_info_proto_depIdxs = []int32{ 6, // 18: proto.TokenInfo.pause_key:type_name -> proto.Key 14, // 19: proto.TokenInfo.pause_status:type_name -> proto.TokenPauseStatus 6, // 20: proto.TokenInfo.metadata_key:type_name -> proto.Key - 15, // 21: proto.TokenGetInfoResponse.header:type_name -> proto.ResponseHeader - 1, // 22: proto.TokenGetInfoResponse.tokenInfo:type_name -> proto.TokenInfo - 23, // [23:23] is the sub-list for method output_type - 23, // [23:23] is the sub-list for method input_type - 23, // [23:23] is the sub-list for extension type_name - 23, // [23:23] is the sub-list for extension extendee - 0, // [0:23] is the sub-list for field type_name + 6, // 21: proto.TokenInfo.lock_key:type_name -> proto.Key + 6, // 22: proto.TokenInfo.partition_key:type_name -> proto.Key + 6, // 23: proto.TokenInfo.partition_move_key:type_name -> proto.Key + 15, // 24: proto.TokenGetInfoResponse.header:type_name -> proto.ResponseHeader + 1, // 25: proto.TokenGetInfoResponse.tokenInfo:type_name -> proto.TokenInfo + 26, // [26:26] is the sub-list for method output_type + 26, // [26:26] is the sub-list for method input_type + 26, // [26:26] is the sub-list for extension type_name + 26, // [26:26] is the sub-list for extension extendee + 0, // [0:26] is the sub-list for field type_name } func init() { file_token_get_info_proto_init() } @@ -661,44 +713,6 @@ func file_token_get_info_proto_init() { file_response_header_proto_init() file_timestamp_proto_init() file_duration_proto_init() - if !protoimpl.UnsafeEnabled { - file_token_get_info_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TokenGetInfoQuery); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_token_get_info_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TokenInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_token_get_info_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TokenGetInfoResponse); 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{ diff --git a/proto/services/token_get_nft_info.pb.go b/proto/services/token_get_nft_info.pb.go index eeb6f1a6..e45ff2e3 100644 --- a/proto/services/token_get_nft_info.pb.go +++ b/proto/services/token_get_nft_info.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.35.2 // protoc v4.25.3 // source: token_get_nft_info.proto @@ -39,11 +39,9 @@ type TokenGetNftInfoQuery struct { func (x *TokenGetNftInfoQuery) Reset() { *x = TokenGetNftInfoQuery{} - if protoimpl.UnsafeEnabled { - mi := &file_token_get_nft_info_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_token_get_nft_info_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TokenGetNftInfoQuery) String() string { @@ -54,7 +52,7 @@ func (*TokenGetNftInfoQuery) ProtoMessage() {} func (x *TokenGetNftInfoQuery) ProtoReflect() protoreflect.Message { mi := &file_token_get_nft_info_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -112,11 +110,9 @@ type TokenNftInfo struct { func (x *TokenNftInfo) Reset() { *x = TokenNftInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_token_get_nft_info_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_token_get_nft_info_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TokenNftInfo) String() string { @@ -127,7 +123,7 @@ func (*TokenNftInfo) ProtoMessage() {} func (x *TokenNftInfo) ProtoReflect() protoreflect.Message { mi := &file_token_get_nft_info_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -202,11 +198,9 @@ type TokenGetNftInfoResponse struct { func (x *TokenGetNftInfoResponse) Reset() { *x = TokenGetNftInfoResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_token_get_nft_info_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_token_get_nft_info_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TokenGetNftInfoResponse) String() string { @@ -217,7 +211,7 @@ func (*TokenGetNftInfoResponse) ProtoMessage() {} func (x *TokenGetNftInfoResponse) ProtoReflect() protoreflect.Message { mi := &file_token_get_nft_info_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -304,7 +298,7 @@ func file_token_get_nft_info_proto_rawDescGZIP() []byte { } var file_token_get_nft_info_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_token_get_nft_info_proto_goTypes = []interface{}{ +var file_token_get_nft_info_proto_goTypes = []any{ (*TokenGetNftInfoQuery)(nil), // 0: proto.TokenGetNftInfoQuery (*TokenNftInfo)(nil), // 1: proto.TokenNftInfo (*TokenGetNftInfoResponse)(nil), // 2: proto.TokenGetNftInfoResponse @@ -339,44 +333,6 @@ func file_token_get_nft_info_proto_init() { file_query_header_proto_init() file_response_header_proto_init() file_timestamp_proto_init() - if !protoimpl.UnsafeEnabled { - file_token_get_nft_info_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TokenGetNftInfoQuery); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_token_get_nft_info_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TokenNftInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_token_get_nft_info_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TokenGetNftInfoResponse); 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{ diff --git a/proto/services/token_get_nft_infos.pb.go b/proto/services/token_get_nft_infos.pb.go index a5533dd2..d4d305c9 100644 --- a/proto/services/token_get_nft_infos.pb.go +++ b/proto/services/token_get_nft_infos.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.35.2 // protoc v4.25.3 // source: token_get_nft_infos.proto @@ -60,11 +60,9 @@ type TokenGetNftInfosQuery struct { func (x *TokenGetNftInfosQuery) Reset() { *x = TokenGetNftInfosQuery{} - if protoimpl.UnsafeEnabled { - mi := &file_token_get_nft_infos_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_token_get_nft_infos_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TokenGetNftInfosQuery) String() string { @@ -75,7 +73,7 @@ func (*TokenGetNftInfosQuery) ProtoMessage() {} func (x *TokenGetNftInfosQuery) ProtoReflect() protoreflect.Message { mi := &file_token_get_nft_infos_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -137,11 +135,9 @@ type TokenGetNftInfosResponse struct { func (x *TokenGetNftInfosResponse) Reset() { *x = TokenGetNftInfosResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_token_get_nft_infos_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_token_get_nft_infos_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TokenGetNftInfosResponse) String() string { @@ -152,7 +148,7 @@ func (*TokenGetNftInfosResponse) ProtoMessage() {} func (x *TokenGetNftInfosResponse) ProtoReflect() protoreflect.Message { mi := &file_token_get_nft_infos_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -237,7 +233,7 @@ func file_token_get_nft_infos_proto_rawDescGZIP() []byte { } var file_token_get_nft_infos_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_token_get_nft_infos_proto_goTypes = []interface{}{ +var file_token_get_nft_infos_proto_goTypes = []any{ (*TokenGetNftInfosQuery)(nil), // 0: proto.TokenGetNftInfosQuery (*TokenGetNftInfosResponse)(nil), // 1: proto.TokenGetNftInfosResponse (*QueryHeader)(nil), // 2: proto.QueryHeader @@ -267,32 +263,6 @@ func file_token_get_nft_infos_proto_init() { file_token_get_nft_info_proto_init() file_query_header_proto_init() file_response_header_proto_init() - if !protoimpl.UnsafeEnabled { - file_token_get_nft_infos_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TokenGetNftInfosQuery); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_token_get_nft_infos_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TokenGetNftInfosResponse); 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{ diff --git a/proto/services/token_grant_kyc.pb.go b/proto/services/token_grant_kyc.pb.go index f4fab792..166c7ef7 100644 --- a/proto/services/token_grant_kyc.pb.go +++ b/proto/services/token_grant_kyc.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.35.2 // protoc v4.25.3 // source: token_grant_kyc.proto @@ -46,11 +46,9 @@ type TokenGrantKycTransactionBody struct { func (x *TokenGrantKycTransactionBody) Reset() { *x = TokenGrantKycTransactionBody{} - if protoimpl.UnsafeEnabled { - mi := &file_token_grant_kyc_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_token_grant_kyc_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TokenGrantKycTransactionBody) String() string { @@ -61,7 +59,7 @@ func (*TokenGrantKycTransactionBody) ProtoMessage() {} func (x *TokenGrantKycTransactionBody) ProtoReflect() protoreflect.Message { mi := &file_token_grant_kyc_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -122,7 +120,7 @@ func file_token_grant_kyc_proto_rawDescGZIP() []byte { } var file_token_grant_kyc_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_token_grant_kyc_proto_goTypes = []interface{}{ +var file_token_grant_kyc_proto_goTypes = []any{ (*TokenGrantKycTransactionBody)(nil), // 0: proto.TokenGrantKycTransactionBody (*TokenID)(nil), // 1: proto.TokenID (*AccountID)(nil), // 2: proto.AccountID @@ -143,20 +141,6 @@ func file_token_grant_kyc_proto_init() { return } file_basic_types_proto_init() - if !protoimpl.UnsafeEnabled { - file_token_grant_kyc_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TokenGrantKycTransactionBody); 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{ diff --git a/proto/services/token_mint.pb.go b/proto/services/token_mint.pb.go index d6dbfdd7..b17f87e9 100644 --- a/proto/services/token_mint.pb.go +++ b/proto/services/token_mint.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.35.2 // protoc v4.25.3 // source: token_mint.proto @@ -59,11 +59,9 @@ type TokenMintTransactionBody struct { func (x *TokenMintTransactionBody) Reset() { *x = TokenMintTransactionBody{} - if protoimpl.UnsafeEnabled { - mi := &file_token_mint_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_token_mint_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TokenMintTransactionBody) String() string { @@ -74,7 +72,7 @@ func (*TokenMintTransactionBody) ProtoMessage() {} func (x *TokenMintTransactionBody) ProtoReflect() protoreflect.Message { mi := &file_token_mint_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -142,7 +140,7 @@ func file_token_mint_proto_rawDescGZIP() []byte { } var file_token_mint_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_token_mint_proto_goTypes = []interface{}{ +var file_token_mint_proto_goTypes = []any{ (*TokenMintTransactionBody)(nil), // 0: proto.TokenMintTransactionBody (*TokenID)(nil), // 1: proto.TokenID } @@ -161,20 +159,6 @@ func file_token_mint_proto_init() { return } file_basic_types_proto_init() - if !protoimpl.UnsafeEnabled { - file_token_mint_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TokenMintTransactionBody); 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{ diff --git a/proto/services/token_pause.pb.go b/proto/services/token_pause.pb.go index 04a0ffeb..7b0d932b 100644 --- a/proto/services/token_pause.pb.go +++ b/proto/services/token_pause.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.35.2 // protoc v4.25.3 // source: token_pause.proto @@ -40,11 +40,9 @@ type TokenPauseTransactionBody struct { func (x *TokenPauseTransactionBody) Reset() { *x = TokenPauseTransactionBody{} - if protoimpl.UnsafeEnabled { - mi := &file_token_pause_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_token_pause_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TokenPauseTransactionBody) String() string { @@ -55,7 +53,7 @@ func (*TokenPauseTransactionBody) ProtoMessage() {} func (x *TokenPauseTransactionBody) ProtoReflect() protoreflect.Message { mi := &file_token_pause_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -105,7 +103,7 @@ func file_token_pause_proto_rawDescGZIP() []byte { } var file_token_pause_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_token_pause_proto_goTypes = []interface{}{ +var file_token_pause_proto_goTypes = []any{ (*TokenPauseTransactionBody)(nil), // 0: proto.TokenPauseTransactionBody (*TokenID)(nil), // 1: proto.TokenID } @@ -124,20 +122,6 @@ func file_token_pause_proto_init() { return } file_basic_types_proto_init() - if !protoimpl.UnsafeEnabled { - file_token_pause_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TokenPauseTransactionBody); 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{ diff --git a/proto/services/token_reject.pb.go b/proto/services/token_reject.pb.go index f0015177..17f86750 100644 --- a/proto/services/token_reject.pb.go +++ b/proto/services/token_reject.pb.go @@ -10,7 +10,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.35.2 // protoc v4.25.3 // source: token_reject.proto @@ -63,11 +63,9 @@ type TokenRejectTransactionBody struct { func (x *TokenRejectTransactionBody) Reset() { *x = TokenRejectTransactionBody{} - if protoimpl.UnsafeEnabled { - mi := &file_token_reject_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_token_reject_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TokenRejectTransactionBody) String() string { @@ -78,7 +76,7 @@ func (*TokenRejectTransactionBody) ProtoMessage() {} func (x *TokenRejectTransactionBody) ProtoReflect() protoreflect.Message { mi := &file_token_reject_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -125,11 +123,9 @@ type TokenReference struct { func (x *TokenReference) Reset() { *x = TokenReference{} - if protoimpl.UnsafeEnabled { - mi := &file_token_reject_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_token_reject_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TokenReference) String() string { @@ -140,7 +136,7 @@ func (*TokenReference) ProtoMessage() {} func (x *TokenReference) ProtoReflect() protoreflect.Message { mi := &file_token_reject_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -236,7 +232,7 @@ func file_token_reject_proto_rawDescGZIP() []byte { } var file_token_reject_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_token_reject_proto_goTypes = []interface{}{ +var file_token_reject_proto_goTypes = []any{ (*TokenRejectTransactionBody)(nil), // 0: proto.TokenRejectTransactionBody (*TokenReference)(nil), // 1: proto.TokenReference (*AccountID)(nil), // 2: proto.AccountID @@ -261,33 +257,7 @@ func file_token_reject_proto_init() { return } file_basic_types_proto_init() - if !protoimpl.UnsafeEnabled { - file_token_reject_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TokenRejectTransactionBody); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_token_reject_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TokenReference); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_token_reject_proto_msgTypes[1].OneofWrappers = []interface{}{ + file_token_reject_proto_msgTypes[1].OneofWrappers = []any{ (*TokenReference_FungibleToken)(nil), (*TokenReference_Nft)(nil), } diff --git a/proto/services/token_relation.pb.go b/proto/services/token_relation.pb.go new file mode 100644 index 00000000..b9b70f58 --- /dev/null +++ b/proto/services/token_relation.pb.go @@ -0,0 +1,232 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.35.2 +// protoc v4.25.3 +// source: token_relation.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) +) + +// * +// Representation of a Hedera Token Service token relationship entity in the network Merkle tree. +// +// As with all network entities, a token relationship has a unique entity number pair, which is represented +// with the account and the token involved in the relationship. +type TokenRelation struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // * + // The token involved in this relation.It takes only positive + TokenId *TokenID `protobuf:"bytes,1,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"` + // * + // The account involved in this association. + AccountId *AccountID `protobuf:"bytes,2,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` + // * + // The balance of the token relationship. + Balance int64 `protobuf:"varint,3,opt,name=balance,proto3" json:"balance,omitempty"` + // * + // The flags specifying the token relationship is frozen or not. + Frozen bool `protobuf:"varint,4,opt,name=frozen,proto3" json:"frozen,omitempty"` + // * + // The flag indicating if the token relationship has been granted KYC. + KycGranted bool `protobuf:"varint,5,opt,name=kyc_granted,json=kycGranted,proto3" json:"kyc_granted,omitempty"` + // * + // The flag indicating if the token relationship was created using automatic association. + AutomaticAssociation bool `protobuf:"varint,6,opt,name=automatic_association,json=automaticAssociation,proto3" json:"automatic_association,omitempty"` + // * + // The previous token id of account's association linked list + PreviousToken *TokenID `protobuf:"bytes,7,opt,name=previous_token,json=previousToken,proto3" json:"previous_token,omitempty"` + // * + // The next token id of account's association linked list + NextToken *TokenID `protobuf:"bytes,8,opt,name=next_token,json=nextToken,proto3" json:"next_token,omitempty"` +} + +func (x *TokenRelation) Reset() { + *x = TokenRelation{} + mi := &file_token_relation_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *TokenRelation) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TokenRelation) ProtoMessage() {} + +func (x *TokenRelation) ProtoReflect() protoreflect.Message { + mi := &file_token_relation_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TokenRelation.ProtoReflect.Descriptor instead. +func (*TokenRelation) Descriptor() ([]byte, []int) { + return file_token_relation_proto_rawDescGZIP(), []int{0} +} + +func (x *TokenRelation) GetTokenId() *TokenID { + if x != nil { + return x.TokenId + } + return nil +} + +func (x *TokenRelation) GetAccountId() *AccountID { + if x != nil { + return x.AccountId + } + return nil +} + +func (x *TokenRelation) GetBalance() int64 { + if x != nil { + return x.Balance + } + return 0 +} + +func (x *TokenRelation) GetFrozen() bool { + if x != nil { + return x.Frozen + } + return false +} + +func (x *TokenRelation) GetKycGranted() bool { + if x != nil { + return x.KycGranted + } + return false +} + +func (x *TokenRelation) GetAutomaticAssociation() bool { + if x != nil { + return x.AutomaticAssociation + } + return false +} + +func (x *TokenRelation) GetPreviousToken() *TokenID { + if x != nil { + return x.PreviousToken + } + return nil +} + +func (x *TokenRelation) GetNextToken() *TokenID { + if x != nil { + return x.NextToken + } + return nil +} + +var File_token_relation_proto protoreflect.FileDescriptor + +var file_token_relation_proto_rawDesc = []byte{ + 0x0a, 0x14, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 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, + 0x22, 0xd9, 0x02, 0x0a, 0x0d, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x12, 0x29, 0x0a, 0x08, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x54, 0x6f, 0x6b, + 0x65, 0x6e, 0x49, 0x44, 0x52, 0x07, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, 0x12, 0x2f, 0x0a, + 0x0a, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x49, 0x44, 0x52, 0x09, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x18, + 0x0a, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x72, 0x6f, 0x7a, + 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, + 0x12, 0x1f, 0x0a, 0x0b, 0x6b, 0x79, 0x63, 0x5f, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x65, 0x64, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x6b, 0x79, 0x63, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x65, + 0x64, 0x12, 0x33, 0x0a, 0x15, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x5f, 0x61, + 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x14, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x41, 0x73, 0x73, 0x6f, 0x63, + 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x35, 0x0a, 0x0e, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, + 0x75, 0x73, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x44, 0x52, 0x0d, + 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x2d, 0x0a, + 0x0a, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x49, + 0x44, 0x52, 0x09, 0x6e, 0x65, 0x78, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 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_token_relation_proto_rawDescOnce sync.Once + file_token_relation_proto_rawDescData = file_token_relation_proto_rawDesc +) + +func file_token_relation_proto_rawDescGZIP() []byte { + file_token_relation_proto_rawDescOnce.Do(func() { + file_token_relation_proto_rawDescData = protoimpl.X.CompressGZIP(file_token_relation_proto_rawDescData) + }) + return file_token_relation_proto_rawDescData +} + +var file_token_relation_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_token_relation_proto_goTypes = []any{ + (*TokenRelation)(nil), // 0: proto.TokenRelation + (*TokenID)(nil), // 1: proto.TokenID + (*AccountID)(nil), // 2: proto.AccountID +} +var file_token_relation_proto_depIdxs = []int32{ + 1, // 0: proto.TokenRelation.token_id:type_name -> proto.TokenID + 2, // 1: proto.TokenRelation.account_id:type_name -> proto.AccountID + 1, // 2: proto.TokenRelation.previous_token:type_name -> proto.TokenID + 1, // 3: proto.TokenRelation.next_token:type_name -> proto.TokenID + 4, // [4:4] is the sub-list for method output_type + 4, // [4:4] is the sub-list for method input_type + 4, // [4:4] is the sub-list for extension type_name + 4, // [4:4] is the sub-list for extension extendee + 0, // [0:4] is the sub-list for field type_name +} + +func init() { file_token_relation_proto_init() } +func file_token_relation_proto_init() { + if File_token_relation_proto != nil { + return + } + file_basic_types_proto_init() + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_token_relation_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_token_relation_proto_goTypes, + DependencyIndexes: file_token_relation_proto_depIdxs, + MessageInfos: file_token_relation_proto_msgTypes, + }.Build() + File_token_relation_proto = out.File + file_token_relation_proto_rawDesc = nil + file_token_relation_proto_goTypes = nil + file_token_relation_proto_depIdxs = nil +} diff --git a/proto/services/token_revoke_kyc.pb.go b/proto/services/token_revoke_kyc.pb.go index ed48429e..fa1990d2 100644 --- a/proto/services/token_revoke_kyc.pb.go +++ b/proto/services/token_revoke_kyc.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.35.2 // protoc v4.25.3 // source: token_revoke_kyc.proto @@ -46,11 +46,9 @@ type TokenRevokeKycTransactionBody struct { func (x *TokenRevokeKycTransactionBody) Reset() { *x = TokenRevokeKycTransactionBody{} - if protoimpl.UnsafeEnabled { - mi := &file_token_revoke_kyc_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_token_revoke_kyc_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TokenRevokeKycTransactionBody) String() string { @@ -61,7 +59,7 @@ func (*TokenRevokeKycTransactionBody) ProtoMessage() {} func (x *TokenRevokeKycTransactionBody) ProtoReflect() protoreflect.Message { mi := &file_token_revoke_kyc_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -122,7 +120,7 @@ func file_token_revoke_kyc_proto_rawDescGZIP() []byte { } var file_token_revoke_kyc_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_token_revoke_kyc_proto_goTypes = []interface{}{ +var file_token_revoke_kyc_proto_goTypes = []any{ (*TokenRevokeKycTransactionBody)(nil), // 0: proto.TokenRevokeKycTransactionBody (*TokenID)(nil), // 1: proto.TokenID (*AccountID)(nil), // 2: proto.AccountID @@ -143,20 +141,6 @@ func file_token_revoke_kyc_proto_init() { return } file_basic_types_proto_init() - if !protoimpl.UnsafeEnabled { - file_token_revoke_kyc_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TokenRevokeKycTransactionBody); 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{ diff --git a/proto/services/token_service.pb.go b/proto/services/token_service.pb.go index bf9f5e9a..db3dfeef 100644 --- a/proto/services/token_service.pb.go +++ b/proto/services/token_service.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.35.2 // protoc v4.25.3 // source: token_service.proto @@ -131,7 +131,7 @@ var file_token_service_proto_rawDesc = []byte{ 0x6a, 0x61, 0x76, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } -var file_token_service_proto_goTypes = []interface{}{ +var file_token_service_proto_goTypes = []any{ (*Transaction)(nil), // 0: proto.Transaction (*Query)(nil), // 1: proto.Query (*TransactionResponse)(nil), // 2: proto.TransactionResponse diff --git a/proto/services/token_service_grpc.pb.go b/proto/services/token_service_grpc.pb.go index c0ff9986..bab9a93d 100644 --- a/proto/services/token_service_grpc.pb.go +++ b/proto/services/token_service_grpc.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.2.0 +// - protoc-gen-go-grpc v1.5.1 // - protoc v4.25.3 // source: token_service.proto @@ -15,12 +15,42 @@ import ( // 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 +// Requires gRPC-Go v1.64.0 or later. +const _ = grpc.SupportPackageIsVersion9 + +const ( + TokenService_CreateToken_FullMethodName = "/proto.TokenService/createToken" + TokenService_UpdateToken_FullMethodName = "/proto.TokenService/updateToken" + TokenService_MintToken_FullMethodName = "/proto.TokenService/mintToken" + TokenService_BurnToken_FullMethodName = "/proto.TokenService/burnToken" + TokenService_DeleteToken_FullMethodName = "/proto.TokenService/deleteToken" + TokenService_WipeTokenAccount_FullMethodName = "/proto.TokenService/wipeTokenAccount" + TokenService_FreezeTokenAccount_FullMethodName = "/proto.TokenService/freezeTokenAccount" + TokenService_UnfreezeTokenAccount_FullMethodName = "/proto.TokenService/unfreezeTokenAccount" + TokenService_GrantKycToTokenAccount_FullMethodName = "/proto.TokenService/grantKycToTokenAccount" + TokenService_RevokeKycFromTokenAccount_FullMethodName = "/proto.TokenService/revokeKycFromTokenAccount" + TokenService_AssociateTokens_FullMethodName = "/proto.TokenService/associateTokens" + TokenService_DissociateTokens_FullMethodName = "/proto.TokenService/dissociateTokens" + TokenService_UpdateTokenFeeSchedule_FullMethodName = "/proto.TokenService/updateTokenFeeSchedule" + TokenService_GetTokenInfo_FullMethodName = "/proto.TokenService/getTokenInfo" + TokenService_GetAccountNftInfos_FullMethodName = "/proto.TokenService/getAccountNftInfos" + TokenService_GetTokenNftInfo_FullMethodName = "/proto.TokenService/getTokenNftInfo" + TokenService_GetTokenNftInfos_FullMethodName = "/proto.TokenService/getTokenNftInfos" + TokenService_PauseToken_FullMethodName = "/proto.TokenService/pauseToken" + TokenService_UnpauseToken_FullMethodName = "/proto.TokenService/unpauseToken" + TokenService_UpdateNfts_FullMethodName = "/proto.TokenService/updateNfts" + TokenService_RejectToken_FullMethodName = "/proto.TokenService/rejectToken" + TokenService_AirdropTokens_FullMethodName = "/proto.TokenService/airdropTokens" + TokenService_CancelAirdrop_FullMethodName = "/proto.TokenService/cancelAirdrop" + TokenService_ClaimAirdrop_FullMethodName = "/proto.TokenService/claimAirdrop" +) // TokenServiceClient is the client API for TokenService 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. +// +// * +// Transactions and queries for the Token Service type TokenServiceClient interface { // * // Creates a new Token by submitting the transaction @@ -147,8 +177,9 @@ func NewTokenServiceClient(cc grpc.ClientConnInterface) TokenServiceClient { } func (c *tokenServiceClient) CreateToken(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionResponse) - err := c.cc.Invoke(ctx, "/proto.TokenService/createToken", in, out, opts...) + err := c.cc.Invoke(ctx, TokenService_CreateToken_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -156,8 +187,9 @@ func (c *tokenServiceClient) CreateToken(ctx context.Context, in *Transaction, o } func (c *tokenServiceClient) UpdateToken(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionResponse) - err := c.cc.Invoke(ctx, "/proto.TokenService/updateToken", in, out, opts...) + err := c.cc.Invoke(ctx, TokenService_UpdateToken_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -165,8 +197,9 @@ func (c *tokenServiceClient) UpdateToken(ctx context.Context, in *Transaction, o } func (c *tokenServiceClient) MintToken(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionResponse) - err := c.cc.Invoke(ctx, "/proto.TokenService/mintToken", in, out, opts...) + err := c.cc.Invoke(ctx, TokenService_MintToken_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -174,8 +207,9 @@ func (c *tokenServiceClient) MintToken(ctx context.Context, in *Transaction, opt } func (c *tokenServiceClient) BurnToken(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionResponse) - err := c.cc.Invoke(ctx, "/proto.TokenService/burnToken", in, out, opts...) + err := c.cc.Invoke(ctx, TokenService_BurnToken_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -183,8 +217,9 @@ func (c *tokenServiceClient) BurnToken(ctx context.Context, in *Transaction, opt } func (c *tokenServiceClient) DeleteToken(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionResponse) - err := c.cc.Invoke(ctx, "/proto.TokenService/deleteToken", in, out, opts...) + err := c.cc.Invoke(ctx, TokenService_DeleteToken_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -192,8 +227,9 @@ func (c *tokenServiceClient) DeleteToken(ctx context.Context, in *Transaction, o } func (c *tokenServiceClient) WipeTokenAccount(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionResponse) - err := c.cc.Invoke(ctx, "/proto.TokenService/wipeTokenAccount", in, out, opts...) + err := c.cc.Invoke(ctx, TokenService_WipeTokenAccount_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -201,8 +237,9 @@ func (c *tokenServiceClient) WipeTokenAccount(ctx context.Context, in *Transacti } func (c *tokenServiceClient) FreezeTokenAccount(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionResponse) - err := c.cc.Invoke(ctx, "/proto.TokenService/freezeTokenAccount", in, out, opts...) + err := c.cc.Invoke(ctx, TokenService_FreezeTokenAccount_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -210,8 +247,9 @@ func (c *tokenServiceClient) FreezeTokenAccount(ctx context.Context, in *Transac } func (c *tokenServiceClient) UnfreezeTokenAccount(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionResponse) - err := c.cc.Invoke(ctx, "/proto.TokenService/unfreezeTokenAccount", in, out, opts...) + err := c.cc.Invoke(ctx, TokenService_UnfreezeTokenAccount_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -219,8 +257,9 @@ func (c *tokenServiceClient) UnfreezeTokenAccount(ctx context.Context, in *Trans } func (c *tokenServiceClient) GrantKycToTokenAccount(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionResponse) - err := c.cc.Invoke(ctx, "/proto.TokenService/grantKycToTokenAccount", in, out, opts...) + err := c.cc.Invoke(ctx, TokenService_GrantKycToTokenAccount_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -228,8 +267,9 @@ func (c *tokenServiceClient) GrantKycToTokenAccount(ctx context.Context, in *Tra } func (c *tokenServiceClient) RevokeKycFromTokenAccount(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionResponse) - err := c.cc.Invoke(ctx, "/proto.TokenService/revokeKycFromTokenAccount", in, out, opts...) + err := c.cc.Invoke(ctx, TokenService_RevokeKycFromTokenAccount_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -237,8 +277,9 @@ func (c *tokenServiceClient) RevokeKycFromTokenAccount(ctx context.Context, in * } func (c *tokenServiceClient) AssociateTokens(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionResponse) - err := c.cc.Invoke(ctx, "/proto.TokenService/associateTokens", in, out, opts...) + err := c.cc.Invoke(ctx, TokenService_AssociateTokens_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -246,8 +287,9 @@ func (c *tokenServiceClient) AssociateTokens(ctx context.Context, in *Transactio } func (c *tokenServiceClient) DissociateTokens(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionResponse) - err := c.cc.Invoke(ctx, "/proto.TokenService/dissociateTokens", in, out, opts...) + err := c.cc.Invoke(ctx, TokenService_DissociateTokens_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -255,8 +297,9 @@ func (c *tokenServiceClient) DissociateTokens(ctx context.Context, in *Transacti } func (c *tokenServiceClient) UpdateTokenFeeSchedule(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionResponse) - err := c.cc.Invoke(ctx, "/proto.TokenService/updateTokenFeeSchedule", in, out, opts...) + err := c.cc.Invoke(ctx, TokenService_UpdateTokenFeeSchedule_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -264,8 +307,9 @@ func (c *tokenServiceClient) UpdateTokenFeeSchedule(ctx context.Context, in *Tra } func (c *tokenServiceClient) GetTokenInfo(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Response, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(Response) - err := c.cc.Invoke(ctx, "/proto.TokenService/getTokenInfo", in, out, opts...) + err := c.cc.Invoke(ctx, TokenService_GetTokenInfo_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -274,8 +318,9 @@ func (c *tokenServiceClient) GetTokenInfo(ctx context.Context, in *Query, opts . // Deprecated: Do not use. func (c *tokenServiceClient) GetAccountNftInfos(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Response, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(Response) - err := c.cc.Invoke(ctx, "/proto.TokenService/getAccountNftInfos", in, out, opts...) + err := c.cc.Invoke(ctx, TokenService_GetAccountNftInfos_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -283,8 +328,9 @@ func (c *tokenServiceClient) GetAccountNftInfos(ctx context.Context, in *Query, } func (c *tokenServiceClient) GetTokenNftInfo(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Response, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(Response) - err := c.cc.Invoke(ctx, "/proto.TokenService/getTokenNftInfo", in, out, opts...) + err := c.cc.Invoke(ctx, TokenService_GetTokenNftInfo_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -293,8 +339,9 @@ func (c *tokenServiceClient) GetTokenNftInfo(ctx context.Context, in *Query, opt // Deprecated: Do not use. func (c *tokenServiceClient) GetTokenNftInfos(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Response, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(Response) - err := c.cc.Invoke(ctx, "/proto.TokenService/getTokenNftInfos", in, out, opts...) + err := c.cc.Invoke(ctx, TokenService_GetTokenNftInfos_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -302,8 +349,9 @@ func (c *tokenServiceClient) GetTokenNftInfos(ctx context.Context, in *Query, op } func (c *tokenServiceClient) PauseToken(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionResponse) - err := c.cc.Invoke(ctx, "/proto.TokenService/pauseToken", in, out, opts...) + err := c.cc.Invoke(ctx, TokenService_PauseToken_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -311,8 +359,9 @@ func (c *tokenServiceClient) PauseToken(ctx context.Context, in *Transaction, op } func (c *tokenServiceClient) UnpauseToken(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionResponse) - err := c.cc.Invoke(ctx, "/proto.TokenService/unpauseToken", in, out, opts...) + err := c.cc.Invoke(ctx, TokenService_UnpauseToken_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -320,8 +369,9 @@ func (c *tokenServiceClient) UnpauseToken(ctx context.Context, in *Transaction, } func (c *tokenServiceClient) UpdateNfts(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionResponse) - err := c.cc.Invoke(ctx, "/proto.TokenService/updateNfts", in, out, opts...) + err := c.cc.Invoke(ctx, TokenService_UpdateNfts_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -329,8 +379,9 @@ func (c *tokenServiceClient) UpdateNfts(ctx context.Context, in *Transaction, op } func (c *tokenServiceClient) RejectToken(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionResponse) - err := c.cc.Invoke(ctx, "/proto.TokenService/rejectToken", in, out, opts...) + err := c.cc.Invoke(ctx, TokenService_RejectToken_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -338,8 +389,9 @@ func (c *tokenServiceClient) RejectToken(ctx context.Context, in *Transaction, o } func (c *tokenServiceClient) AirdropTokens(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionResponse) - err := c.cc.Invoke(ctx, "/proto.TokenService/airdropTokens", in, out, opts...) + err := c.cc.Invoke(ctx, TokenService_AirdropTokens_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -347,8 +399,9 @@ func (c *tokenServiceClient) AirdropTokens(ctx context.Context, in *Transaction, } func (c *tokenServiceClient) CancelAirdrop(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionResponse) - err := c.cc.Invoke(ctx, "/proto.TokenService/cancelAirdrop", in, out, opts...) + err := c.cc.Invoke(ctx, TokenService_CancelAirdrop_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -356,8 +409,9 @@ func (c *tokenServiceClient) CancelAirdrop(ctx context.Context, in *Transaction, } func (c *tokenServiceClient) ClaimAirdrop(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionResponse) - err := c.cc.Invoke(ctx, "/proto.TokenService/claimAirdrop", in, out, opts...) + err := c.cc.Invoke(ctx, TokenService_ClaimAirdrop_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -366,7 +420,10 @@ func (c *tokenServiceClient) ClaimAirdrop(ctx context.Context, in *Transaction, // TokenServiceServer is the server API for TokenService service. // All implementations must embed UnimplementedTokenServiceServer -// for forward compatibility +// for forward compatibility. +// +// * +// Transactions and queries for the Token Service type TokenServiceServer interface { // * // Creates a new Token by submitting the transaction @@ -485,9 +542,12 @@ type TokenServiceServer interface { mustEmbedUnimplementedTokenServiceServer() } -// UnimplementedTokenServiceServer must be embedded to have forward compatible implementations. -type UnimplementedTokenServiceServer struct { -} +// UnimplementedTokenServiceServer must be embedded to have +// forward compatible implementations. +// +// NOTE: this should be embedded by value instead of pointer to avoid a nil +// pointer dereference when methods are called. +type UnimplementedTokenServiceServer struct{} func (UnimplementedTokenServiceServer) CreateToken(context.Context, *Transaction) (*TransactionResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method CreateToken not implemented") @@ -562,6 +622,7 @@ func (UnimplementedTokenServiceServer) ClaimAirdrop(context.Context, *Transactio return nil, status.Errorf(codes.Unimplemented, "method ClaimAirdrop not implemented") } func (UnimplementedTokenServiceServer) mustEmbedUnimplementedTokenServiceServer() {} +func (UnimplementedTokenServiceServer) testEmbeddedByValue() {} // UnsafeTokenServiceServer may be embedded to opt out of forward compatibility for this service. // Use of this interface is not recommended, as added methods to TokenServiceServer will @@ -571,6 +632,13 @@ type UnsafeTokenServiceServer interface { } func RegisterTokenServiceServer(s grpc.ServiceRegistrar, srv TokenServiceServer) { + // If the following call pancis, it indicates UnimplementedTokenServiceServer was + // embedded by pointer and is nil. This will cause panics if an + // unimplemented method is ever invoked, so we test this at initialization + // time to prevent it from happening at runtime later due to I/O. + if t, ok := srv.(interface{ testEmbeddedByValue() }); ok { + t.testEmbeddedByValue() + } s.RegisterService(&TokenService_ServiceDesc, srv) } @@ -584,7 +652,7 @@ func _TokenService_CreateToken_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/proto.TokenService/createToken", + FullMethod: TokenService_CreateToken_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(TokenServiceServer).CreateToken(ctx, req.(*Transaction)) @@ -602,7 +670,7 @@ func _TokenService_UpdateToken_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/proto.TokenService/updateToken", + FullMethod: TokenService_UpdateToken_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(TokenServiceServer).UpdateToken(ctx, req.(*Transaction)) @@ -620,7 +688,7 @@ func _TokenService_MintToken_Handler(srv interface{}, ctx context.Context, dec f } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/proto.TokenService/mintToken", + FullMethod: TokenService_MintToken_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(TokenServiceServer).MintToken(ctx, req.(*Transaction)) @@ -638,7 +706,7 @@ func _TokenService_BurnToken_Handler(srv interface{}, ctx context.Context, dec f } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/proto.TokenService/burnToken", + FullMethod: TokenService_BurnToken_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(TokenServiceServer).BurnToken(ctx, req.(*Transaction)) @@ -656,7 +724,7 @@ func _TokenService_DeleteToken_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/proto.TokenService/deleteToken", + FullMethod: TokenService_DeleteToken_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(TokenServiceServer).DeleteToken(ctx, req.(*Transaction)) @@ -674,7 +742,7 @@ func _TokenService_WipeTokenAccount_Handler(srv interface{}, ctx context.Context } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/proto.TokenService/wipeTokenAccount", + FullMethod: TokenService_WipeTokenAccount_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(TokenServiceServer).WipeTokenAccount(ctx, req.(*Transaction)) @@ -692,7 +760,7 @@ func _TokenService_FreezeTokenAccount_Handler(srv interface{}, ctx context.Conte } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/proto.TokenService/freezeTokenAccount", + FullMethod: TokenService_FreezeTokenAccount_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(TokenServiceServer).FreezeTokenAccount(ctx, req.(*Transaction)) @@ -710,7 +778,7 @@ func _TokenService_UnfreezeTokenAccount_Handler(srv interface{}, ctx context.Con } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/proto.TokenService/unfreezeTokenAccount", + FullMethod: TokenService_UnfreezeTokenAccount_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(TokenServiceServer).UnfreezeTokenAccount(ctx, req.(*Transaction)) @@ -728,7 +796,7 @@ func _TokenService_GrantKycToTokenAccount_Handler(srv interface{}, ctx context.C } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/proto.TokenService/grantKycToTokenAccount", + FullMethod: TokenService_GrantKycToTokenAccount_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(TokenServiceServer).GrantKycToTokenAccount(ctx, req.(*Transaction)) @@ -746,7 +814,7 @@ func _TokenService_RevokeKycFromTokenAccount_Handler(srv interface{}, ctx contex } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/proto.TokenService/revokeKycFromTokenAccount", + FullMethod: TokenService_RevokeKycFromTokenAccount_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(TokenServiceServer).RevokeKycFromTokenAccount(ctx, req.(*Transaction)) @@ -764,7 +832,7 @@ func _TokenService_AssociateTokens_Handler(srv interface{}, ctx context.Context, } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/proto.TokenService/associateTokens", + FullMethod: TokenService_AssociateTokens_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(TokenServiceServer).AssociateTokens(ctx, req.(*Transaction)) @@ -782,7 +850,7 @@ func _TokenService_DissociateTokens_Handler(srv interface{}, ctx context.Context } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/proto.TokenService/dissociateTokens", + FullMethod: TokenService_DissociateTokens_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(TokenServiceServer).DissociateTokens(ctx, req.(*Transaction)) @@ -800,7 +868,7 @@ func _TokenService_UpdateTokenFeeSchedule_Handler(srv interface{}, ctx context.C } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/proto.TokenService/updateTokenFeeSchedule", + FullMethod: TokenService_UpdateTokenFeeSchedule_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(TokenServiceServer).UpdateTokenFeeSchedule(ctx, req.(*Transaction)) @@ -818,7 +886,7 @@ func _TokenService_GetTokenInfo_Handler(srv interface{}, ctx context.Context, de } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/proto.TokenService/getTokenInfo", + FullMethod: TokenService_GetTokenInfo_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(TokenServiceServer).GetTokenInfo(ctx, req.(*Query)) @@ -836,7 +904,7 @@ func _TokenService_GetAccountNftInfos_Handler(srv interface{}, ctx context.Conte } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/proto.TokenService/getAccountNftInfos", + FullMethod: TokenService_GetAccountNftInfos_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(TokenServiceServer).GetAccountNftInfos(ctx, req.(*Query)) @@ -854,7 +922,7 @@ func _TokenService_GetTokenNftInfo_Handler(srv interface{}, ctx context.Context, } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/proto.TokenService/getTokenNftInfo", + FullMethod: TokenService_GetTokenNftInfo_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(TokenServiceServer).GetTokenNftInfo(ctx, req.(*Query)) @@ -872,7 +940,7 @@ func _TokenService_GetTokenNftInfos_Handler(srv interface{}, ctx context.Context } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/proto.TokenService/getTokenNftInfos", + FullMethod: TokenService_GetTokenNftInfos_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(TokenServiceServer).GetTokenNftInfos(ctx, req.(*Query)) @@ -890,7 +958,7 @@ func _TokenService_PauseToken_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/proto.TokenService/pauseToken", + FullMethod: TokenService_PauseToken_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(TokenServiceServer).PauseToken(ctx, req.(*Transaction)) @@ -908,7 +976,7 @@ func _TokenService_UnpauseToken_Handler(srv interface{}, ctx context.Context, de } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/proto.TokenService/unpauseToken", + FullMethod: TokenService_UnpauseToken_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(TokenServiceServer).UnpauseToken(ctx, req.(*Transaction)) @@ -926,7 +994,7 @@ func _TokenService_UpdateNfts_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/proto.TokenService/updateNfts", + FullMethod: TokenService_UpdateNfts_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(TokenServiceServer).UpdateNfts(ctx, req.(*Transaction)) @@ -944,7 +1012,7 @@ func _TokenService_RejectToken_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/proto.TokenService/rejectToken", + FullMethod: TokenService_RejectToken_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(TokenServiceServer).RejectToken(ctx, req.(*Transaction)) @@ -962,7 +1030,7 @@ func _TokenService_AirdropTokens_Handler(srv interface{}, ctx context.Context, d } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/proto.TokenService/airdropTokens", + FullMethod: TokenService_AirdropTokens_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(TokenServiceServer).AirdropTokens(ctx, req.(*Transaction)) @@ -980,7 +1048,7 @@ func _TokenService_CancelAirdrop_Handler(srv interface{}, ctx context.Context, d } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/proto.TokenService/cancelAirdrop", + FullMethod: TokenService_CancelAirdrop_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(TokenServiceServer).CancelAirdrop(ctx, req.(*Transaction)) @@ -998,7 +1066,7 @@ func _TokenService_ClaimAirdrop_Handler(srv interface{}, ctx context.Context, de } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/proto.TokenService/claimAirdrop", + FullMethod: TokenService_ClaimAirdrop_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(TokenServiceServer).ClaimAirdrop(ctx, req.(*Transaction)) diff --git a/proto/services/token_unfreeze_account.pb.go b/proto/services/token_unfreeze_account.pb.go index 1ce4b283..5fcba6f1 100644 --- a/proto/services/token_unfreeze_account.pb.go +++ b/proto/services/token_unfreeze_account.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.35.2 // protoc v4.25.3 // source: token_unfreeze_account.proto @@ -48,11 +48,9 @@ type TokenUnfreezeAccountTransactionBody struct { func (x *TokenUnfreezeAccountTransactionBody) Reset() { *x = TokenUnfreezeAccountTransactionBody{} - if protoimpl.UnsafeEnabled { - mi := &file_token_unfreeze_account_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_token_unfreeze_account_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TokenUnfreezeAccountTransactionBody) String() string { @@ -63,7 +61,7 @@ func (*TokenUnfreezeAccountTransactionBody) ProtoMessage() {} func (x *TokenUnfreezeAccountTransactionBody) ProtoReflect() protoreflect.Message { mi := &file_token_unfreeze_account_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -125,7 +123,7 @@ func file_token_unfreeze_account_proto_rawDescGZIP() []byte { } var file_token_unfreeze_account_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_token_unfreeze_account_proto_goTypes = []interface{}{ +var file_token_unfreeze_account_proto_goTypes = []any{ (*TokenUnfreezeAccountTransactionBody)(nil), // 0: proto.TokenUnfreezeAccountTransactionBody (*TokenID)(nil), // 1: proto.TokenID (*AccountID)(nil), // 2: proto.AccountID @@ -146,20 +144,6 @@ func file_token_unfreeze_account_proto_init() { return } file_basic_types_proto_init() - if !protoimpl.UnsafeEnabled { - file_token_unfreeze_account_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TokenUnfreezeAccountTransactionBody); 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{ diff --git a/proto/services/token_unpause.pb.go b/proto/services/token_unpause.pb.go index 672c697c..0da60aaf 100644 --- a/proto/services/token_unpause.pb.go +++ b/proto/services/token_unpause.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.35.2 // protoc v4.25.3 // source: token_unpause.proto @@ -39,11 +39,9 @@ type TokenUnpauseTransactionBody struct { func (x *TokenUnpauseTransactionBody) Reset() { *x = TokenUnpauseTransactionBody{} - if protoimpl.UnsafeEnabled { - mi := &file_token_unpause_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_token_unpause_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TokenUnpauseTransactionBody) String() string { @@ -54,7 +52,7 @@ func (*TokenUnpauseTransactionBody) ProtoMessage() {} func (x *TokenUnpauseTransactionBody) ProtoReflect() protoreflect.Message { mi := &file_token_unpause_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -105,7 +103,7 @@ func file_token_unpause_proto_rawDescGZIP() []byte { } var file_token_unpause_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_token_unpause_proto_goTypes = []interface{}{ +var file_token_unpause_proto_goTypes = []any{ (*TokenUnpauseTransactionBody)(nil), // 0: proto.TokenUnpauseTransactionBody (*TokenID)(nil), // 1: proto.TokenID } @@ -124,20 +122,6 @@ func file_token_unpause_proto_init() { return } file_basic_types_proto_init() - if !protoimpl.UnsafeEnabled { - file_token_unpause_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TokenUnpauseTransactionBody); 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{ diff --git a/proto/services/token_update.pb.go b/proto/services/token_update.pb.go index d3862a00..14c5f0bb 100644 --- a/proto/services/token_update.pb.go +++ b/proto/services/token_update.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.35.2 // protoc v4.25.3 // source: token_update.proto @@ -122,11 +122,9 @@ type TokenUpdateTransactionBody struct { func (x *TokenUpdateTransactionBody) Reset() { *x = TokenUpdateTransactionBody{} - if protoimpl.UnsafeEnabled { - mi := &file_token_update_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_token_update_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TokenUpdateTransactionBody) String() string { @@ -137,7 +135,7 @@ func (*TokenUpdateTransactionBody) ProtoMessage() {} func (x *TokenUpdateTransactionBody) ProtoReflect() protoreflect.Message { mi := &file_token_update_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -359,7 +357,7 @@ func file_token_update_proto_rawDescGZIP() []byte { } var file_token_update_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_token_update_proto_goTypes = []interface{}{ +var file_token_update_proto_goTypes = []any{ (*TokenUpdateTransactionBody)(nil), // 0: proto.TokenUpdateTransactionBody (*TokenID)(nil), // 1: proto.TokenID (*AccountID)(nil), // 2: proto.AccountID @@ -402,20 +400,6 @@ func file_token_update_proto_init() { file_basic_types_proto_init() file_duration_proto_init() file_timestamp_proto_init() - if !protoimpl.UnsafeEnabled { - file_token_update_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TokenUpdateTransactionBody); 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{ diff --git a/proto/services/token_update_nfts.pb.go b/proto/services/token_update_nfts.pb.go index 7cac8706..5ec57680 100644 --- a/proto/services/token_update_nfts.pb.go +++ b/proto/services/token_update_nfts.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.35.2 // protoc v4.25.3 // source: token_update_nfts.proto @@ -50,11 +50,9 @@ type TokenUpdateNftsTransactionBody struct { func (x *TokenUpdateNftsTransactionBody) Reset() { *x = TokenUpdateNftsTransactionBody{} - if protoimpl.UnsafeEnabled { - mi := &file_token_update_nfts_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_token_update_nfts_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TokenUpdateNftsTransactionBody) String() string { @@ -65,7 +63,7 @@ func (*TokenUpdateNftsTransactionBody) ProtoMessage() {} func (x *TokenUpdateNftsTransactionBody) ProtoReflect() protoreflect.Message { mi := &file_token_update_nfts_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -138,7 +136,7 @@ func file_token_update_nfts_proto_rawDescGZIP() []byte { } var file_token_update_nfts_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_token_update_nfts_proto_goTypes = []interface{}{ +var file_token_update_nfts_proto_goTypes = []any{ (*TokenUpdateNftsTransactionBody)(nil), // 0: proto.TokenUpdateNftsTransactionBody (*TokenID)(nil), // 1: proto.TokenID (*wrapperspb.BytesValue)(nil), // 2: google.protobuf.BytesValue @@ -159,20 +157,6 @@ func file_token_update_nfts_proto_init() { return } file_basic_types_proto_init() - if !protoimpl.UnsafeEnabled { - file_token_update_nfts_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TokenUpdateNftsTransactionBody); 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{ diff --git a/proto/services/token_wipe_account.pb.go b/proto/services/token_wipe_account.pb.go index bbc74f0c..c067957f 100644 --- a/proto/services/token_wipe_account.pb.go +++ b/proto/services/token_wipe_account.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.35.2 // protoc v4.25.3 // source: token_wipe_account.proto @@ -72,11 +72,9 @@ type TokenWipeAccountTransactionBody struct { func (x *TokenWipeAccountTransactionBody) Reset() { *x = TokenWipeAccountTransactionBody{} - if protoimpl.UnsafeEnabled { - mi := &file_token_wipe_account_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_token_wipe_account_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TokenWipeAccountTransactionBody) String() string { @@ -87,7 +85,7 @@ func (*TokenWipeAccountTransactionBody) ProtoMessage() {} func (x *TokenWipeAccountTransactionBody) ProtoReflect() protoreflect.Message { mi := &file_token_wipe_account_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -166,7 +164,7 @@ func file_token_wipe_account_proto_rawDescGZIP() []byte { } var file_token_wipe_account_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_token_wipe_account_proto_goTypes = []interface{}{ +var file_token_wipe_account_proto_goTypes = []any{ (*TokenWipeAccountTransactionBody)(nil), // 0: proto.TokenWipeAccountTransactionBody (*TokenID)(nil), // 1: proto.TokenID (*AccountID)(nil), // 2: proto.AccountID @@ -187,20 +185,6 @@ func file_token_wipe_account_proto_init() { return } file_basic_types_proto_init() - if !protoimpl.UnsafeEnabled { - file_token_wipe_account_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TokenWipeAccountTransactionBody); 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{ diff --git a/proto/services/topic.pb.go b/proto/services/topic.pb.go index 92050bee..021469e2 100644 --- a/proto/services/topic.pb.go +++ b/proto/services/topic.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.35.2 // protoc v4.25.3 // source: topic.proto @@ -88,11 +88,9 @@ type Topic struct { func (x *Topic) Reset() { *x = Topic{} - if protoimpl.UnsafeEnabled { - mi := &file_topic_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_topic_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Topic) String() string { @@ -103,7 +101,7 @@ func (*Topic) ProtoMessage() {} func (x *Topic) ProtoReflect() protoreflect.Message { mi := &file_topic_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -238,7 +236,7 @@ func file_topic_proto_rawDescGZIP() []byte { } var file_topic_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_topic_proto_goTypes = []interface{}{ +var file_topic_proto_goTypes = []any{ (*Topic)(nil), // 0: proto.Topic (*TopicID)(nil), // 1: proto.TopicID (*AccountID)(nil), // 2: proto.AccountID @@ -262,20 +260,6 @@ func file_topic_proto_init() { return } file_basic_types_proto_init() - if !protoimpl.UnsafeEnabled { - file_topic_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Topic); 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{ diff --git a/proto/services/transaction.pb.go b/proto/services/transaction.pb.go index 603a25fb..fdb01021 100644 --- a/proto/services/transaction.pb.go +++ b/proto/services/transaction.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.35.2 // protoc v4.25.3 // source: transaction.proto @@ -61,11 +61,9 @@ type Transaction struct { func (x *Transaction) Reset() { *x = Transaction{} - if protoimpl.UnsafeEnabled { - mi := &file_transaction_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_transaction_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Transaction) String() string { @@ -76,7 +74,7 @@ func (*Transaction) ProtoMessage() {} func (x *Transaction) ProtoReflect() protoreflect.Message { mi := &file_transaction_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -171,7 +169,7 @@ func file_transaction_proto_rawDescGZIP() []byte { } var file_transaction_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_transaction_proto_goTypes = []interface{}{ +var file_transaction_proto_goTypes = []any{ (*Transaction)(nil), // 0: proto.Transaction (*TransactionBody)(nil), // 1: proto.TransactionBody (*SignatureList)(nil), // 2: proto.SignatureList @@ -195,20 +193,6 @@ func file_transaction_proto_init() { } file_basic_types_proto_init() file_transaction_body_proto_init() - if !protoimpl.UnsafeEnabled { - file_transaction_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Transaction); 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{ diff --git a/proto/services/transaction_body.pb.go b/proto/services/transaction_body.pb.go index a4fb42ad..d4958075 100644 --- a/proto/services/transaction_body.pb.go +++ b/proto/services/transaction_body.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.35.2 // protoc v4.25.3 // source: transaction_body.proto @@ -111,16 +111,15 @@ type TransactionBody struct { // *TransactionBody_TokenClaimAirdrop // *TransactionBody_TssMessage // *TransactionBody_TssVote + // *TransactionBody_TssShareSignature Data isTransactionBody_Data `protobuf_oneof:"data"` } func (x *TransactionBody) Reset() { *x = TransactionBody{} - if protoimpl.UnsafeEnabled { - mi := &file_transaction_body_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_transaction_body_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TransactionBody) String() string { @@ -131,7 +130,7 @@ func (*TransactionBody) ProtoMessage() {} func (x *TransactionBody) ProtoReflect() protoreflect.Message { mi := &file_transaction_body_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -581,6 +580,13 @@ func (x *TransactionBody) GetTssVote() *TssVoteTransactionBody { return nil } +func (x *TransactionBody) GetTssShareSignature() *TssShareSignatureTransactionBody { + if x, ok := x.GetData().(*TransactionBody_TssShareSignature); ok { + return x.TssShareSignature + } + return nil +} + type isTransactionBody_Data interface { isTransactionBody_Data() } @@ -940,6 +946,12 @@ type TransactionBody_TssVote struct { TssVote *TssVoteTransactionBody `protobuf:"bytes,62,opt,name=tssVote,proto3,oneof"` } +type TransactionBody_TssShareSignature struct { + // * + // A transaction body for a 'tssShareSignature` request + TssShareSignature *TssShareSignatureTransactionBody `protobuf:"bytes,63,opt,name=tssShareSignature,proto3,oneof"` +} + func (*TransactionBody_ContractCall) isTransactionBody_Data() {} func (*TransactionBody_ContractCreateInstance) isTransactionBody_Data() {} @@ -1050,6 +1062,8 @@ func (*TransactionBody_TssMessage) isTransactionBody_Data() {} func (*TransactionBody_TssVote) isTransactionBody_Data() {} +func (*TransactionBody_TssShareSignature) isTransactionBody_Data() {} + var File_transaction_body_proto protoreflect.FileDescriptor var file_transaction_body_proto_rawDesc = []byte{ @@ -1136,315 +1150,324 @@ var file_transaction_body_proto_rawDesc = []byte{ 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, 0x74, 0x73, 0x73, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0e, 0x74, - 0x73, 0x73, 0x5f, 0x76, 0x6f, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x85, 0x26, - 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, 0x0d, - 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x12, 0x36, 0x0a, - 0x0d, 0x6e, 0x6f, 0x64, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x44, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x41, 0x63, 0x63, - 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x44, 0x52, 0x0d, 0x6e, 0x6f, 0x64, 0x65, 0x41, 0x63, 0x63, 0x6f, - 0x75, 0x6e, 0x74, 0x49, 0x44, 0x12, 0x26, 0x0a, 0x0e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x65, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0e, 0x74, - 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x65, 0x65, 0x12, 0x4b, 0x0a, - 0x18, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x56, 0x61, 0x6c, 0x69, - 0x64, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x0f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x52, 0x18, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x56, 0x61, 0x6c, - 0x69, 0x64, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2a, 0x0a, 0x0e, 0x67, 0x65, - 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x08, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, - 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x65, 0x6d, 0x6f, 0x18, 0x06, - 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, 0x07, 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, 0x08, - 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, 0x09, - 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, 0x57, 0x0a, 0x11, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x41, 0x64, - 0x64, 0x4c, 0x69, 0x76, 0x65, 0x48, 0x61, 0x73, 0x68, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x27, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x43, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x41, 0x64, - 0x64, 0x4c, 0x69, 0x76, 0x65, 0x48, 0x61, 0x73, 0x68, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6f, 0x64, 0x79, 0x48, 0x00, 0x52, 0x11, 0x63, 0x72, 0x79, 0x70, - 0x74, 0x6f, 0x41, 0x64, 0x64, 0x4c, 0x69, 0x76, 0x65, 0x48, 0x61, 0x73, 0x68, 0x12, 0x56, 0x0a, - 0x13, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x63, 0x63, - 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0b, 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, 0x0c, 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, - 0x60, 0x0a, 0x14, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4c, - 0x69, 0x76, 0x65, 0x48, 0x61, 0x73, 0x68, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x43, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x44, 0x65, 0x6c, 0x65, - 0x74, 0x65, 0x4c, 0x69, 0x76, 0x65, 0x48, 0x61, 0x73, 0x68, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6f, 0x64, 0x79, 0x48, 0x00, 0x52, 0x14, 0x63, 0x72, 0x79, - 0x70, 0x74, 0x6f, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4c, 0x69, 0x76, 0x65, 0x48, 0x61, 0x73, - 0x68, 0x12, 0x4e, 0x0a, 0x0e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x54, 0x72, 0x61, 0x6e, 0x73, - 0x66, 0x65, 0x72, 0x18, 0x0e, 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, + 0x73, 0x73, 0x5f, 0x76, 0x6f, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x74, + 0x73, 0x73, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x65, 0x5f, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, + 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xff, 0x26, 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, 0x0d, 0x74, 0x72, 0x61, 0x6e, 0x73, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x12, 0x36, 0x0a, 0x0d, 0x6e, 0x6f, 0x64, 0x65, + 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x10, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, + 0x44, 0x52, 0x0d, 0x6e, 0x6f, 0x64, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x44, + 0x12, 0x26, 0x0a, 0x0e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x46, + 0x65, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x65, 0x65, 0x12, 0x4b, 0x0a, 0x18, 0x74, 0x72, 0x61, 0x6e, + 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x44, 0x75, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x18, 0x74, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x44, 0x75, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2a, 0x0a, 0x0e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, + 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x42, 0x02, 0x18, + 0x01, 0x52, 0x0e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, + 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x65, 0x6d, 0x6f, 0x18, 0x06, 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, 0x07, 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, 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, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x43, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x55, 0x70, 0x64, + 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, 0x08, 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, 0x09, 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, + 0x57, 0x0a, 0x11, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x41, 0x64, 0x64, 0x4c, 0x69, 0x76, 0x65, + 0x48, 0x61, 0x73, 0x68, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x2e, 0x43, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x41, 0x64, 0x64, 0x4c, 0x69, 0x76, 0x65, + 0x48, 0x61, 0x73, 0x68, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, + 0x6f, 0x64, 0x79, 0x48, 0x00, 0x52, 0x11, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x41, 0x64, 0x64, + 0x4c, 0x69, 0x76, 0x65, 0x48, 0x61, 0x73, 0x68, 0x12, 0x56, 0x0a, 0x13, 0x63, 0x72, 0x79, 0x70, + 0x74, 0x6f, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, + 0x0b, 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, 0x0c, 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, 0x60, 0x0a, 0x14, 0x63, 0x72, + 0x79, 0x70, 0x74, 0x6f, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4c, 0x69, 0x76, 0x65, 0x48, 0x61, + 0x73, 0x68, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x2e, 0x43, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4c, 0x69, 0x76, + 0x65, 0x48, 0x61, 0x73, 0x68, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x42, 0x6f, 0x64, 0x79, 0x48, 0x00, 0x52, 0x14, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x44, 0x65, + 0x6c, 0x65, 0x74, 0x65, 0x4c, 0x69, 0x76, 0x65, 0x48, 0x61, 0x73, 0x68, 0x12, 0x4e, 0x0a, 0x0e, + 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x18, 0x0e, + 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, 0x0f, 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, 0x10, 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, 0x11, 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, 0x12, 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, 0x13, + 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, 0x14, 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, 0x15, 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, 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, 0x16, 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, 0x36, + 0x0a, 0x06, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x18, 0x17, 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, 0x18, + 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, 0x19, 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, 0x1a, 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, 0x1b, 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, 0x46, 0x0a, 0x0f, 0x75, 0x6e, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x65, + 0x64, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x18, 0x1c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x55, 0x6e, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x64, 0x53, + 0x75, 0x62, 0x6d, 0x69, 0x74, 0x42, 0x6f, 0x64, 0x79, 0x48, 0x00, 0x52, 0x0f, 0x75, 0x6e, 0x63, + 0x68, 0x65, 0x63, 0x6b, 0x65, 0x64, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x12, 0x49, 0x0a, 0x0d, + 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x1d, 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, 0x1f, 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, 0x20, 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, 0x21, 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, 0x22, 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, 0x23, 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, 0x24, 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, 0x25, 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, 0x26, 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, 0x27, 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, 0x28, 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, 0x29, 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, 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, 0x10, 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, 0x11, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x20, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x43, 0x72, + 0x64, 0x79, 0x48, 0x00, 0x52, 0x0f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x44, 0x69, 0x73, 0x73, 0x6f, + 0x63, 0x69, 0x61, 0x74, 0x65, 0x12, 0x4e, 0x0a, 0x0e, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, + 0x65, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x18, 0x2a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 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, - 0x12, 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, 0x13, 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, 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x44, 0x65, + 0x6f, 0x64, 0x79, 0x48, 0x00, 0x52, 0x0e, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x4e, 0x0a, 0x0e, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, + 0x65, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x18, 0x2b, 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, 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, 0x15, 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, 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, 0x16, 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, 0x36, 0x0a, 0x06, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x18, 0x17, 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, 0x18, 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, 0x19, 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, 0x1a, 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, 0x1b, 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, + 0x6f, 0x64, 0x79, 0x48, 0x00, 0x52, 0x0e, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x44, + 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x48, 0x0a, 0x0c, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, + 0x65, 0x53, 0x69, 0x67, 0x6e, 0x18, 0x2c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 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, 0x16, 0x63, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x53, 0x75, 0x62, 0x6d, - 0x69, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x46, 0x0a, 0x0f, 0x75, 0x6e, 0x63, - 0x68, 0x65, 0x63, 0x6b, 0x65, 0x64, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x18, 0x1c, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x55, 0x6e, 0x63, 0x68, 0x65, - 0x63, 0x6b, 0x65, 0x64, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x42, 0x6f, 0x64, 0x79, 0x48, 0x00, - 0x52, 0x0f, 0x75, 0x6e, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x64, 0x53, 0x75, 0x62, 0x6d, 0x69, - 0x74, 0x12, 0x49, 0x0a, 0x0d, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x18, 0x1d, 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, 0x1f, 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, 0x20, 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, - 0x21, 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, 0x22, 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, 0x23, 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, 0x24, 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, + 0x00, 0x52, 0x0c, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x53, 0x69, 0x67, 0x6e, 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, 0x2d, 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, 0x12, 0x43, 0x0a, 0x0b, 0x74, 0x6f, + 0x6b, 0x65, 0x6e, 0x5f, 0x70, 0x61, 0x75, 0x73, 0x65, 0x18, 0x2e, 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, 0x2f, 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, 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, 0x30, 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, 0x31, 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, 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, 0x25, 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, 0x26, 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, 0x27, 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, 0x28, 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, 0x29, 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, 0x4e, 0x0a, 0x0e, 0x73, 0x63, - 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x18, 0x2a, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x64, - 0x75, 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, 0x0e, 0x73, 0x63, 0x68, 0x65, - 0x64, 0x75, 0x6c, 0x65, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x4e, 0x0a, 0x0e, 0x73, 0x63, - 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x18, 0x2b, 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, 0x48, 0x0a, 0x0c, 0x73, 0x63, - 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x53, 0x69, 0x67, 0x6e, 0x18, 0x2c, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x22, 0x2e, 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, 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, 0x2d, 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, 0x12, - 0x43, 0x0a, 0x0b, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x70, 0x61, 0x75, 0x73, 0x65, 0x18, 0x2e, - 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, 0x2f, 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, - 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, 0x30, 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, 0x31, 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, 0x52, 0x0a, 0x13, - 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x18, 0x32, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x2e, 0x45, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6f, 0x64, 0x79, 0x48, 0x00, 0x52, 0x13, 0x65, 0x74, 0x68, + 0x52, 0x15, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x6c, + 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x52, 0x0a, 0x13, 0x65, 0x74, 0x68, 0x65, 0x72, + 0x65, 0x75, 0x6d, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x32, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x45, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 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, 0x3d, 0x0a, 0x09, 0x75, 0x74, 0x69, 0x6c, 0x5f, 0x70, 0x72, - 0x6e, 0x67, 0x18, 0x34, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x2e, 0x55, 0x74, 0x69, 0x6c, 0x50, 0x72, 0x6e, 0x67, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6f, 0x64, 0x79, 0x48, 0x00, 0x52, 0x08, 0x75, 0x74, 0x69, 0x6c, - 0x50, 0x72, 0x6e, 0x67, 0x12, 0x53, 0x0a, 0x11, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x75, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6e, 0x66, 0x74, 0x73, 0x18, 0x35, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x25, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x4e, 0x66, 0x74, 0x73, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x42, 0x6f, 0x64, 0x79, 0x48, 0x00, 0x52, 0x0f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x55, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x66, 0x74, 0x73, 0x12, 0x5d, 0x0a, 0x0a, 0x6e, 0x6f, 0x64, - 0x65, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x18, 0x36, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3b, 0x2e, - 0x63, 0x6f, 0x6d, 0x2e, 0x68, 0x65, 0x64, 0x65, 0x72, 0x61, 0x2e, 0x68, 0x61, 0x70, 0x69, 0x2e, - 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x62, 0x6f, 0x6f, 0x6b, - 0x2e, 0x4e, 0x6f, 0x64, 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, 0x6e, 0x6f, - 0x64, 0x65, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x5d, 0x0a, 0x0a, 0x6e, 0x6f, 0x64, 0x65, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x18, 0x37, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x63, - 0x6f, 0x6d, 0x2e, 0x68, 0x65, 0x64, 0x65, 0x72, 0x61, 0x2e, 0x68, 0x61, 0x70, 0x69, 0x2e, 0x6e, - 0x6f, 0x64, 0x65, 0x2e, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x62, 0x6f, 0x6f, 0x6b, 0x2e, - 0x4e, 0x6f, 0x64, 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, 0x6e, 0x6f, 0x64, - 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x5d, 0x0a, 0x0a, 0x6e, 0x6f, 0x64, 0x65, 0x44, - 0x65, 0x6c, 0x65, 0x74, 0x65, 0x18, 0x38, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x63, 0x6f, - 0x6d, 0x2e, 0x68, 0x65, 0x64, 0x65, 0x72, 0x61, 0x2e, 0x68, 0x61, 0x70, 0x69, 0x2e, 0x6e, 0x6f, - 0x64, 0x65, 0x2e, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x62, 0x6f, 0x6f, 0x6b, 0x2e, 0x4e, - 0x6f, 0x64, 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, 0x6e, 0x6f, 0x64, 0x65, - 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x45, 0x0a, 0x0b, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x52, - 0x65, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x39, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x6a, 0x65, 0x63, 0x74, 0x54, + 0x42, 0x6f, 0x64, 0x79, 0x48, 0x00, 0x52, 0x13, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, + 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 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, 0x3d, 0x0a, 0x09, 0x75, 0x74, 0x69, 0x6c, 0x5f, 0x70, 0x72, 0x6e, 0x67, 0x18, 0x34, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x55, 0x74, 0x69, 0x6c, + 0x50, 0x72, 0x6e, 0x67, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, + 0x6f, 0x64, 0x79, 0x48, 0x00, 0x52, 0x08, 0x75, 0x74, 0x69, 0x6c, 0x50, 0x72, 0x6e, 0x67, 0x12, + 0x53, 0x0a, 0x11, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, + 0x6e, 0x66, 0x74, 0x73, 0x18, 0x35, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x66, + 0x74, 0x73, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6f, 0x64, + 0x79, 0x48, 0x00, 0x52, 0x0f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x4e, 0x66, 0x74, 0x73, 0x12, 0x5d, 0x0a, 0x0a, 0x6e, 0x6f, 0x64, 0x65, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x18, 0x36, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x68, + 0x65, 0x64, 0x65, 0x72, 0x61, 0x2e, 0x68, 0x61, 0x70, 0x69, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, + 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x62, 0x6f, 0x6f, 0x6b, 0x2e, 0x4e, 0x6f, 0x64, 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, 0x6e, 0x6f, 0x64, 0x65, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x12, 0x5d, 0x0a, 0x0a, 0x6e, 0x6f, 0x64, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x18, 0x37, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x68, 0x65, + 0x64, 0x65, 0x72, 0x61, 0x2e, 0x68, 0x61, 0x70, 0x69, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x61, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x62, 0x6f, 0x6f, 0x6b, 0x2e, 0x4e, 0x6f, 0x64, 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, 0x6e, 0x6f, 0x64, 0x65, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x12, 0x5d, 0x0a, 0x0a, 0x6e, 0x6f, 0x64, 0x65, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, + 0x18, 0x38, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x68, 0x65, 0x64, + 0x65, 0x72, 0x61, 0x2e, 0x68, 0x61, 0x70, 0x69, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x61, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x62, 0x6f, 0x6f, 0x6b, 0x2e, 0x4e, 0x6f, 0x64, 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, 0x6e, 0x6f, 0x64, 0x65, 0x44, 0x65, 0x6c, 0x65, 0x74, + 0x65, 0x12, 0x45, 0x0a, 0x0b, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x6a, 0x65, 0x63, 0x74, + 0x18, 0x39, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x54, + 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x6a, 0x65, 0x63, 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, 0x52, 0x65, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x48, 0x0a, 0x0c, 0x74, 0x6f, 0x6b, 0x65, + 0x6e, 0x41, 0x69, 0x72, 0x64, 0x72, 0x6f, 0x70, 0x18, 0x3a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x41, 0x69, 0x72, 0x64, + 0x72, 0x6f, 0x70, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6f, + 0x64, 0x79, 0x48, 0x00, 0x52, 0x0c, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x41, 0x69, 0x72, 0x64, 0x72, + 0x6f, 0x70, 0x12, 0x5a, 0x0a, 0x12, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x43, 0x61, 0x6e, 0x63, 0x65, + 0x6c, 0x41, 0x69, 0x72, 0x64, 0x72, 0x6f, 0x70, 0x18, 0x3b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x43, 0x61, 0x6e, 0x63, + 0x65, 0x6c, 0x41, 0x69, 0x72, 0x64, 0x72, 0x6f, 0x70, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6f, 0x64, 0x79, 0x48, 0x00, 0x52, 0x12, 0x74, 0x6f, 0x6b, 0x65, + 0x6e, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x41, 0x69, 0x72, 0x64, 0x72, 0x6f, 0x70, 0x12, 0x57, + 0x0a, 0x11, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x41, 0x69, 0x72, 0x64, + 0x72, 0x6f, 0x70, 0x18, 0x3c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x41, 0x69, 0x72, 0x64, + 0x72, 0x6f, 0x70, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6f, + 0x64, 0x79, 0x48, 0x00, 0x52, 0x11, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x43, 0x6c, 0x61, 0x69, 0x6d, + 0x41, 0x69, 0x72, 0x64, 0x72, 0x6f, 0x70, 0x12, 0x63, 0x0a, 0x0a, 0x74, 0x73, 0x73, 0x4d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x3d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x41, 0x2e, 0x63, 0x6f, + 0x6d, 0x2e, 0x68, 0x65, 0x64, 0x65, 0x72, 0x61, 0x2e, 0x68, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x61, 0x75, 0x78, 0x69, 0x6c, 0x69, 0x61, 0x72, 0x79, + 0x2e, 0x74, 0x73, 0x73, 0x2e, 0x54, 0x73, 0x73, 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, 0x0b, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x48, 0x0a, - 0x0c, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x41, 0x69, 0x72, 0x64, 0x72, 0x6f, 0x70, 0x18, 0x3a, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x54, 0x6f, 0x6b, 0x65, - 0x6e, 0x41, 0x69, 0x72, 0x64, 0x72, 0x6f, 0x70, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x42, 0x6f, 0x64, 0x79, 0x48, 0x00, 0x52, 0x0c, 0x74, 0x6f, 0x6b, 0x65, 0x6e, - 0x41, 0x69, 0x72, 0x64, 0x72, 0x6f, 0x70, 0x12, 0x5a, 0x0a, 0x12, 0x74, 0x6f, 0x6b, 0x65, 0x6e, - 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x41, 0x69, 0x72, 0x64, 0x72, 0x6f, 0x70, 0x18, 0x3b, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x54, 0x6f, 0x6b, 0x65, - 0x6e, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x41, 0x69, 0x72, 0x64, 0x72, 0x6f, 0x70, 0x54, 0x72, + 0x52, 0x0a, 0x74, 0x73, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x5a, 0x0a, 0x07, + 0x74, 0x73, 0x73, 0x56, 0x6f, 0x74, 0x65, 0x18, 0x3e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3e, 0x2e, + 0x63, 0x6f, 0x6d, 0x2e, 0x68, 0x65, 0x64, 0x65, 0x72, 0x61, 0x2e, 0x68, 0x61, 0x70, 0x69, 0x2e, + 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x61, 0x75, 0x78, 0x69, 0x6c, 0x69, 0x61, + 0x72, 0x79, 0x2e, 0x74, 0x73, 0x73, 0x2e, 0x54, 0x73, 0x73, 0x56, 0x6f, 0x74, 0x65, 0x54, 0x72, + 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6f, 0x64, 0x79, 0x48, 0x00, 0x52, + 0x07, 0x74, 0x73, 0x73, 0x56, 0x6f, 0x74, 0x65, 0x12, 0x78, 0x0a, 0x11, 0x74, 0x73, 0x73, 0x53, + 0x68, 0x61, 0x72, 0x65, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x3f, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x48, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x68, 0x65, 0x64, 0x65, 0x72, 0x61, + 0x2e, 0x68, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x61, + 0x75, 0x78, 0x69, 0x6c, 0x69, 0x61, 0x72, 0x79, 0x2e, 0x74, 0x73, 0x73, 0x2e, 0x54, 0x73, 0x73, + 0x53, 0x68, 0x61, 0x72, 0x65, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6f, 0x64, 0x79, 0x48, 0x00, 0x52, - 0x12, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x41, 0x69, 0x72, 0x64, - 0x72, 0x6f, 0x70, 0x12, 0x57, 0x0a, 0x11, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x43, 0x6c, 0x61, 0x69, - 0x6d, 0x41, 0x69, 0x72, 0x64, 0x72, 0x6f, 0x70, 0x18, 0x3c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x43, 0x6c, 0x61, 0x69, - 0x6d, 0x41, 0x69, 0x72, 0x64, 0x72, 0x6f, 0x70, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x42, 0x6f, 0x64, 0x79, 0x48, 0x00, 0x52, 0x11, 0x74, 0x6f, 0x6b, 0x65, 0x6e, - 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x41, 0x69, 0x72, 0x64, 0x72, 0x6f, 0x70, 0x12, 0x63, 0x0a, 0x0a, - 0x74, 0x73, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x3d, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x41, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x68, 0x65, 0x64, 0x65, 0x72, 0x61, 0x2e, 0x68, 0x61, - 0x70, 0x69, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x61, 0x75, 0x78, 0x69, - 0x6c, 0x69, 0x61, 0x72, 0x79, 0x2e, 0x74, 0x73, 0x73, 0x2e, 0x54, 0x73, 0x73, 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, 0x0a, 0x74, 0x73, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, - 0x65, 0x12, 0x5a, 0x0a, 0x07, 0x74, 0x73, 0x73, 0x56, 0x6f, 0x74, 0x65, 0x18, 0x3e, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x3e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x68, 0x65, 0x64, 0x65, 0x72, 0x61, 0x2e, - 0x68, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x61, 0x75, - 0x78, 0x69, 0x6c, 0x69, 0x61, 0x72, 0x79, 0x2e, 0x74, 0x73, 0x73, 0x2e, 0x54, 0x73, 0x73, 0x56, - 0x6f, 0x74, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6f, - 0x64, 0x79, 0x48, 0x00, 0x52, 0x07, 0x74, 0x73, 0x73, 0x56, 0x6f, 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, + 0x11, 0x74, 0x73, 0x73, 0x53, 0x68, 0x61, 0x72, 0x65, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, + 0x72, 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 ( @@ -1460,7 +1483,7 @@ func file_transaction_body_proto_rawDescGZIP() []byte { } var file_transaction_body_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_transaction_body_proto_goTypes = []interface{}{ +var file_transaction_body_proto_goTypes = []any{ (*TransactionBody)(nil), // 0: proto.TransactionBody (*TransactionID)(nil), // 1: proto.TransactionID (*AccountID)(nil), // 2: proto.AccountID @@ -1520,6 +1543,7 @@ var file_transaction_body_proto_goTypes = []interface{}{ (*TokenClaimAirdropTransactionBody)(nil), // 56: proto.TokenClaimAirdropTransactionBody (*TssMessageTransactionBody)(nil), // 57: com.hedera.hapi.services.auxiliary.tss.TssMessageTransactionBody (*TssVoteTransactionBody)(nil), // 58: com.hedera.hapi.services.auxiliary.tss.TssVoteTransactionBody + (*TssShareSignatureTransactionBody)(nil), // 59: com.hedera.hapi.services.auxiliary.tss.TssShareSignatureTransactionBody } var file_transaction_body_proto_depIdxs = []int32{ 1, // 0: proto.TransactionBody.transactionID:type_name -> proto.TransactionID @@ -1580,11 +1604,12 @@ var file_transaction_body_proto_depIdxs = []int32{ 56, // 55: proto.TransactionBody.tokenClaimAirdrop:type_name -> proto.TokenClaimAirdropTransactionBody 57, // 56: proto.TransactionBody.tssMessage:type_name -> com.hedera.hapi.services.auxiliary.tss.TssMessageTransactionBody 58, // 57: proto.TransactionBody.tssVote:type_name -> com.hedera.hapi.services.auxiliary.tss.TssVoteTransactionBody - 58, // [58:58] is the sub-list for method output_type - 58, // [58:58] is the sub-list for method input_type - 58, // [58:58] is the sub-list for extension type_name - 58, // [58:58] is the sub-list for extension extendee - 0, // [0:58] is the sub-list for field type_name + 59, // 58: proto.TransactionBody.tssShareSignature:type_name -> com.hedera.hapi.services.auxiliary.tss.TssShareSignatureTransactionBody + 59, // [59:59] is the sub-list for method output_type + 59, // [59:59] is the sub-list for method input_type + 59, // [59:59] is the sub-list for extension type_name + 59, // [59:59] is the sub-list for extension extendee + 0, // [0:59] is the sub-list for field type_name } func init() { file_transaction_body_proto_init() } @@ -1649,21 +1674,8 @@ func file_transaction_body_proto_init() { file_node_delete_proto_init() file_tss_message_proto_init() file_tss_vote_proto_init() - if !protoimpl.UnsafeEnabled { - file_transaction_body_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TransactionBody); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_transaction_body_proto_msgTypes[0].OneofWrappers = []interface{}{ + file_tss_share_signature_proto_init() + file_transaction_body_proto_msgTypes[0].OneofWrappers = []any{ (*TransactionBody_ContractCall)(nil), (*TransactionBody_ContractCreateInstance)(nil), (*TransactionBody_ContractUpdateInstance)(nil), @@ -1719,6 +1731,7 @@ func file_transaction_body_proto_init() { (*TransactionBody_TokenClaimAirdrop)(nil), (*TransactionBody_TssMessage)(nil), (*TransactionBody_TssVote)(nil), + (*TransactionBody_TssShareSignature)(nil), } type x struct{} out := protoimpl.TypeBuilder{ diff --git a/proto/services/transaction_contents.pb.go b/proto/services/transaction_contents.pb.go index 6032d55e..efefe2cb 100644 --- a/proto/services/transaction_contents.pb.go +++ b/proto/services/transaction_contents.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.35.2 // protoc v4.25.3 // source: transaction_contents.proto @@ -35,11 +35,9 @@ type SignedTransaction struct { func (x *SignedTransaction) Reset() { *x = SignedTransaction{} - if protoimpl.UnsafeEnabled { - mi := &file_transaction_contents_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_transaction_contents_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SignedTransaction) String() string { @@ -50,7 +48,7 @@ func (*SignedTransaction) ProtoMessage() {} func (x *SignedTransaction) ProtoReflect() protoreflect.Message { mi := &file_transaction_contents_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -110,7 +108,7 @@ func file_transaction_contents_proto_rawDescGZIP() []byte { } var file_transaction_contents_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_transaction_contents_proto_goTypes = []interface{}{ +var file_transaction_contents_proto_goTypes = []any{ (*SignedTransaction)(nil), // 0: proto.SignedTransaction (*SignatureMap)(nil), // 1: proto.SignatureMap } @@ -129,20 +127,6 @@ func file_transaction_contents_proto_init() { return } file_basic_types_proto_init() - if !protoimpl.UnsafeEnabled { - file_transaction_contents_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SignedTransaction); 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{ diff --git a/proto/services/transaction_get_fast_record.pb.go b/proto/services/transaction_get_fast_record.pb.go index 2dde52e1..c7bfe52e 100644 --- a/proto/services/transaction_get_fast_record.pb.go +++ b/proto/services/transaction_get_fast_record.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.35.2 // protoc v4.25.3 // source: transaction_get_fast_record.proto @@ -41,11 +41,9 @@ type TransactionGetFastRecordQuery struct { func (x *TransactionGetFastRecordQuery) Reset() { *x = TransactionGetFastRecordQuery{} - if protoimpl.UnsafeEnabled { - mi := &file_transaction_get_fast_record_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_transaction_get_fast_record_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TransactionGetFastRecordQuery) String() string { @@ -56,7 +54,7 @@ func (*TransactionGetFastRecordQuery) ProtoMessage() {} func (x *TransactionGetFastRecordQuery) ProtoReflect() protoreflect.Message { mi := &file_transaction_get_fast_record_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -107,11 +105,9 @@ type TransactionGetFastRecordResponse struct { func (x *TransactionGetFastRecordResponse) Reset() { *x = TransactionGetFastRecordResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_transaction_get_fast_record_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_transaction_get_fast_record_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TransactionGetFastRecordResponse) String() string { @@ -122,7 +118,7 @@ func (*TransactionGetFastRecordResponse) ProtoMessage() {} func (x *TransactionGetFastRecordResponse) ProtoReflect() protoreflect.Message { mi := &file_transaction_get_fast_record_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -199,7 +195,7 @@ func file_transaction_get_fast_record_proto_rawDescGZIP() []byte { } var file_transaction_get_fast_record_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_transaction_get_fast_record_proto_goTypes = []interface{}{ +var file_transaction_get_fast_record_proto_goTypes = []any{ (*TransactionGetFastRecordQuery)(nil), // 0: proto.TransactionGetFastRecordQuery (*TransactionGetFastRecordResponse)(nil), // 1: proto.TransactionGetFastRecordResponse (*QueryHeader)(nil), // 2: proto.QueryHeader @@ -228,32 +224,6 @@ func file_transaction_get_fast_record_proto_init() { file_basic_types_proto_init() file_query_header_proto_init() file_response_header_proto_init() - if !protoimpl.UnsafeEnabled { - file_transaction_get_fast_record_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TransactionGetFastRecordQuery); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_transaction_get_fast_record_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TransactionGetFastRecordResponse); 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{ diff --git a/proto/services/transaction_get_receipt.pb.go b/proto/services/transaction_get_receipt.pb.go index d86e2d80..6d94b801 100644 --- a/proto/services/transaction_get_receipt.pb.go +++ b/proto/services/transaction_get_receipt.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.35.2 // protoc v4.25.3 // source: transaction_get_receipt.proto @@ -53,11 +53,9 @@ type TransactionGetReceiptQuery struct { func (x *TransactionGetReceiptQuery) Reset() { *x = TransactionGetReceiptQuery{} - if protoimpl.UnsafeEnabled { - mi := &file_transaction_get_receipt_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_transaction_get_receipt_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TransactionGetReceiptQuery) String() string { @@ -68,7 +66,7 @@ func (*TransactionGetReceiptQuery) ProtoMessage() {} func (x *TransactionGetReceiptQuery) ProtoReflect() protoreflect.Message { mi := &file_transaction_get_receipt_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -143,11 +141,9 @@ type TransactionGetReceiptResponse struct { func (x *TransactionGetReceiptResponse) Reset() { *x = TransactionGetReceiptResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_transaction_get_receipt_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_transaction_get_receipt_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TransactionGetReceiptResponse) String() string { @@ -158,7 +154,7 @@ func (*TransactionGetReceiptResponse) ProtoMessage() {} func (x *TransactionGetReceiptResponse) ProtoReflect() protoreflect.Message { mi := &file_transaction_get_receipt_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -265,7 +261,7 @@ func file_transaction_get_receipt_proto_rawDescGZIP() []byte { } var file_transaction_get_receipt_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_transaction_get_receipt_proto_goTypes = []interface{}{ +var file_transaction_get_receipt_proto_goTypes = []any{ (*TransactionGetReceiptQuery)(nil), // 0: proto.TransactionGetReceiptQuery (*TransactionGetReceiptResponse)(nil), // 1: proto.TransactionGetReceiptResponse (*QueryHeader)(nil), // 2: proto.QueryHeader @@ -296,32 +292,6 @@ func file_transaction_get_receipt_proto_init() { file_basic_types_proto_init() file_query_header_proto_init() file_response_header_proto_init() - if !protoimpl.UnsafeEnabled { - file_transaction_get_receipt_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TransactionGetReceiptQuery); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_transaction_get_receipt_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TransactionGetReceiptResponse); 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{ diff --git a/proto/services/transaction_get_record.pb.go b/proto/services/transaction_get_record.pb.go index be4eaa3b..60c108a5 100644 --- a/proto/services/transaction_get_record.pb.go +++ b/proto/services/transaction_get_record.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.35.2 // protoc v4.25.3 // source: transaction_get_record.proto @@ -55,11 +55,9 @@ type TransactionGetRecordQuery struct { func (x *TransactionGetRecordQuery) Reset() { *x = TransactionGetRecordQuery{} - if protoimpl.UnsafeEnabled { - mi := &file_transaction_get_record_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_transaction_get_record_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TransactionGetRecordQuery) String() string { @@ -70,7 +68,7 @@ func (*TransactionGetRecordQuery) ProtoMessage() {} func (x *TransactionGetRecordQuery) ProtoReflect() protoreflect.Message { mi := &file_transaction_get_record_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -142,11 +140,9 @@ type TransactionGetRecordResponse struct { func (x *TransactionGetRecordResponse) Reset() { *x = TransactionGetRecordResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_transaction_get_record_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_transaction_get_record_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TransactionGetRecordResponse) String() string { @@ -157,7 +153,7 @@ func (*TransactionGetRecordResponse) ProtoMessage() {} func (x *TransactionGetRecordResponse) ProtoReflect() protoreflect.Message { mi := &file_transaction_get_record_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -264,7 +260,7 @@ func file_transaction_get_record_proto_rawDescGZIP() []byte { } var file_transaction_get_record_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_transaction_get_record_proto_goTypes = []interface{}{ +var file_transaction_get_record_proto_goTypes = []any{ (*TransactionGetRecordQuery)(nil), // 0: proto.TransactionGetRecordQuery (*TransactionGetRecordResponse)(nil), // 1: proto.TransactionGetRecordResponse (*QueryHeader)(nil), // 2: proto.QueryHeader @@ -295,32 +291,6 @@ func file_transaction_get_record_proto_init() { file_basic_types_proto_init() file_query_header_proto_init() file_response_header_proto_init() - if !protoimpl.UnsafeEnabled { - file_transaction_get_record_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TransactionGetRecordQuery); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_transaction_get_record_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TransactionGetRecordResponse); 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{ diff --git a/proto/services/transaction_receipt.pb.go b/proto/services/transaction_receipt.pb.go index 95ea5358..17587c51 100644 --- a/proto/services/transaction_receipt.pb.go +++ b/proto/services/transaction_receipt.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.35.2 // protoc v4.25.3 // source: transaction_receipt.proto @@ -143,22 +143,19 @@ type TransactionReceipt struct { // the newly created NFTs SerialNumbers []int64 `protobuf:"varint,14,rep,packed,name=serialNumbers,proto3" json:"serialNumbers,omitempty"` // * - // In the receipt of a NodeCreate, NodeUpdate, NodeDelete, the id of the newly created node. // An affected node identifier.
+ // In the receipt of a NodeCreate, the id of the newly created node. + //// This value SHALL be set following a `createNode` transaction.
- // This value SHALL be set following a `updateNode` transaction.
- // This value SHALL be set following a `deleteNode` transaction.
// This value SHALL NOT be set following any other transaction. NodeId uint64 `protobuf:"varint,15,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` } func (x *TransactionReceipt) Reset() { *x = TransactionReceipt{} - if protoimpl.UnsafeEnabled { - mi := &file_transaction_receipt_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_transaction_receipt_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TransactionReceipt) String() string { @@ -169,7 +166,7 @@ func (*TransactionReceipt) ProtoMessage() {} func (x *TransactionReceipt) ProtoReflect() protoreflect.Message { mi := &file_transaction_receipt_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -363,7 +360,7 @@ func file_transaction_receipt_proto_rawDescGZIP() []byte { } var file_transaction_receipt_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_transaction_receipt_proto_goTypes = []interface{}{ +var file_transaction_receipt_proto_goTypes = []any{ (*TransactionReceipt)(nil), // 0: proto.TransactionReceipt (ResponseCodeEnum)(0), // 1: proto.ResponseCodeEnum (*AccountID)(nil), // 2: proto.AccountID @@ -400,20 +397,6 @@ func file_transaction_receipt_proto_init() { file_basic_types_proto_init() file_response_code_proto_init() file_exchange_rate_proto_init() - if !protoimpl.UnsafeEnabled { - file_transaction_receipt_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TransactionReceipt); 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{ diff --git a/proto/services/transaction_record.pb.go b/proto/services/transaction_record.pb.go index de80c9f4..02955d4f 100644 --- a/proto/services/transaction_record.pb.go +++ b/proto/services/transaction_record.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.35.2 // protoc v4.25.3 // source: transaction_record.proto @@ -110,11 +110,9 @@ type TransactionRecord struct { func (x *TransactionRecord) Reset() { *x = TransactionRecord{} - if protoimpl.UnsafeEnabled { - mi := &file_transaction_record_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_transaction_record_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TransactionRecord) String() string { @@ -125,7 +123,7 @@ func (*TransactionRecord) ProtoMessage() {} func (x *TransactionRecord) ProtoReflect() protoreflect.Message { mi := &file_transaction_record_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -365,11 +363,9 @@ type PendingAirdropRecord struct { func (x *PendingAirdropRecord) Reset() { *x = PendingAirdropRecord{} - if protoimpl.UnsafeEnabled { - mi := &file_transaction_record_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_transaction_record_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PendingAirdropRecord) String() string { @@ -380,7 +376,7 @@ func (*PendingAirdropRecord) ProtoMessage() {} func (x *PendingAirdropRecord) ProtoReflect() protoreflect.Message { mi := &file_transaction_record_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -529,7 +525,7 @@ func file_transaction_record_proto_rawDescGZIP() []byte { } var file_transaction_record_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_transaction_record_proto_goTypes = []interface{}{ +var file_transaction_record_proto_goTypes = []any{ (*TransactionRecord)(nil), // 0: proto.TransactionRecord (*PendingAirdropRecord)(nil), // 1: proto.PendingAirdropRecord (*TransactionReceipt)(nil), // 2: proto.TransactionReceipt @@ -579,33 +575,7 @@ func file_transaction_record_proto_init() { file_transaction_receipt_proto_init() file_crypto_transfer_proto_init() file_contract_call_local_proto_init() - if !protoimpl.UnsafeEnabled { - file_transaction_record_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TransactionRecord); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_transaction_record_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PendingAirdropRecord); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_transaction_record_proto_msgTypes[0].OneofWrappers = []interface{}{ + file_transaction_record_proto_msgTypes[0].OneofWrappers = []any{ (*TransactionRecord_ContractCallResult)(nil), (*TransactionRecord_ContractCreateResult)(nil), (*TransactionRecord_PrngBytes)(nil), diff --git a/proto/services/transaction_response.pb.go b/proto/services/transaction_response.pb.go index 7b03c39d..61e6019b 100644 --- a/proto/services/transaction_response.pb.go +++ b/proto/services/transaction_response.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.35.2 // protoc v4.25.3 // source: transaction_response.proto @@ -42,11 +42,9 @@ type TransactionResponse struct { func (x *TransactionResponse) Reset() { *x = TransactionResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_transaction_response_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_transaction_response_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TransactionResponse) String() string { @@ -57,7 +55,7 @@ func (*TransactionResponse) ProtoMessage() {} func (x *TransactionResponse) ProtoReflect() protoreflect.Message { mi := &file_transaction_response_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -119,7 +117,7 @@ func file_transaction_response_proto_rawDescGZIP() []byte { } var file_transaction_response_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_transaction_response_proto_goTypes = []interface{}{ +var file_transaction_response_proto_goTypes = []any{ (*TransactionResponse)(nil), // 0: proto.TransactionResponse (ResponseCodeEnum)(0), // 1: proto.ResponseCodeEnum } @@ -138,20 +136,6 @@ func file_transaction_response_proto_init() { return } file_response_code_proto_init() - if !protoimpl.UnsafeEnabled { - file_transaction_response_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TransactionResponse); 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{ diff --git a/proto/services/tss_message.pb.go b/proto/services/tss_message.pb.go index 033fcf70..5b37782a 100644 --- a/proto/services/tss_message.pb.go +++ b/proto/services/tss_message.pb.go @@ -10,7 +10,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.35.2 // protoc v4.25.3 // source: tss_message.proto @@ -47,7 +47,7 @@ type TssMessageTransactionBody struct { unknownFields protoimpl.UnknownFields // * - // A hash of the roster containing the node generating the TssMessage. + // A hash of the roster containing the node generating the TssMessage.
// This hash uniquely identifies the source roster, which will include // an entry for the node generating this TssMessage. //@@ -81,11 +81,9 @@ type TssMessageTransactionBody struct { func (x *TssMessageTransactionBody) Reset() { *x = TssMessageTransactionBody{} - if protoimpl.UnsafeEnabled { - mi := &file_tss_message_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_tss_message_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TssMessageTransactionBody) String() string { @@ -96,7 +94,7 @@ func (*TssMessageTransactionBody) ProtoMessage() {} func (x *TssMessageTransactionBody) ProtoReflect() protoreflect.Message { mi := &file_tss_message_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -177,7 +175,7 @@ func file_tss_message_proto_rawDescGZIP() []byte { } var file_tss_message_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_tss_message_proto_goTypes = []interface{}{ +var file_tss_message_proto_goTypes = []any{ (*TssMessageTransactionBody)(nil), // 0: com.hedera.hapi.services.auxiliary.tss.TssMessageTransactionBody } var file_tss_message_proto_depIdxs = []int32{ @@ -193,20 +191,6 @@ func file_tss_message_proto_init() { if File_tss_message_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_tss_message_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TssMessageTransactionBody); 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{ diff --git a/proto/services/tss_message_map_key.pb.go b/proto/services/tss_message_map_key.pb.go index 35754c59..ac83b36c 100644 --- a/proto/services/tss_message_map_key.pb.go +++ b/proto/services/tss_message_map_key.pb.go @@ -10,7 +10,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.35.2 // protoc v4.25.3 // source: tss_message_map_key.proto @@ -57,11 +57,9 @@ type TssMessageMapKey struct { func (x *TssMessageMapKey) Reset() { *x = TssMessageMapKey{} - if protoimpl.UnsafeEnabled { - mi := &file_tss_message_map_key_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_tss_message_map_key_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TssMessageMapKey) String() string { @@ -72,7 +70,7 @@ func (*TssMessageMapKey) ProtoMessage() {} func (x *TssMessageMapKey) ProtoReflect() protoreflect.Message { mi := &file_tss_message_map_key_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -132,7 +130,7 @@ func file_tss_message_map_key_proto_rawDescGZIP() []byte { } var file_tss_message_map_key_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_tss_message_map_key_proto_goTypes = []interface{}{ +var file_tss_message_map_key_proto_goTypes = []any{ (*TssMessageMapKey)(nil), // 0: com.hedera.hapi.node.state.tss.TssMessageMapKey } var file_tss_message_map_key_proto_depIdxs = []int32{ @@ -148,20 +146,6 @@ func file_tss_message_map_key_proto_init() { if File_tss_message_map_key_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_tss_message_map_key_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TssMessageMapKey); 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{ diff --git a/proto/services/tss_share_signature.pb.go b/proto/services/tss_share_signature.pb.go new file mode 100644 index 00000000..6e003d4a --- /dev/null +++ b/proto/services/tss_share_signature.pb.go @@ -0,0 +1,214 @@ +//* +// # Tss Share Signature +// Represents a transaction that submits a node's share signature on a block hash +// during the TSS (Threshold Signature Scheme) process. +// +// ### Keywords +// The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", +// "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this +// document are to be interpreted as described in +// [RFC2119](https://www.ietf.org/rfc/rfc2119) and clarified in +// [RFC8174](https://www.ietf.org/rfc/rfc8174). + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.35.2 +// protoc v4.25.3 +// source: tss_share_signature.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) +) + +// * +// A TSS Share Signature transaction Body.
+// This transaction body communicates a node's signature of a block hash +// using its private share within the TSS process. +// This transaction MUST be prioritized for low latency gossip transmission. +// +// ### Block Stream Effects +// This transaction body will be present in the block stream. This will not have +// any state changes or transaction output or transaction result. +type TssShareSignatureTransactionBody struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // * + // A SHA2-384 Hash.
+ // This is the hash of the roster that includes the node whose + // share produced this share signature. + //+ // This value is REQUIRED.
+ // This value MUST identify the network roster active at the time this + // share signature was produced.
+ // This share signature MUST be produced from a share distributed during + // the re-keying process for the identified roster. + RosterHash []byte `protobuf:"bytes,1,opt,name=roster_hash,json=rosterHash,proto3" json:"roster_hash,omitempty"` + // * + // An index of the share from the node private shares.
+ // This is the index of the share that produced this share signature. + //+ // This value is REQUIRED.
+ // The share referred to by this index MUST exist.
+ // The share index MUST be greater than or equal to 0. + ShareIndex uint64 `protobuf:"varint,2,opt,name=share_index,json=shareIndex,proto3" json:"share_index,omitempty"` + // * + // A SHA2-384 hash.
+ // This is the hash of the message that was signed. + //+ // This value is REQUIRED.
+ // The message signed MUST be a block hash. + MessageHash []byte `protobuf:"bytes,3,opt,name=message_hash,json=messageHash,proto3" json:"message_hash,omitempty"` + // * + // The signature bytes.
+ // This is the signature generated by signing the block hash with the node's private share. + //+ // This value is REQUIRED.
+ // This value MUST be a valid signature of the message hash with the node's private share. + ShareSignature []byte `protobuf:"bytes,4,opt,name=share_signature,json=shareSignature,proto3" json:"share_signature,omitempty"` +} + +func (x *TssShareSignatureTransactionBody) Reset() { + *x = TssShareSignatureTransactionBody{} + mi := &file_tss_share_signature_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *TssShareSignatureTransactionBody) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TssShareSignatureTransactionBody) ProtoMessage() {} + +func (x *TssShareSignatureTransactionBody) ProtoReflect() protoreflect.Message { + mi := &file_tss_share_signature_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TssShareSignatureTransactionBody.ProtoReflect.Descriptor instead. +func (*TssShareSignatureTransactionBody) Descriptor() ([]byte, []int) { + return file_tss_share_signature_proto_rawDescGZIP(), []int{0} +} + +func (x *TssShareSignatureTransactionBody) GetRosterHash() []byte { + if x != nil { + return x.RosterHash + } + return nil +} + +func (x *TssShareSignatureTransactionBody) GetShareIndex() uint64 { + if x != nil { + return x.ShareIndex + } + return 0 +} + +func (x *TssShareSignatureTransactionBody) GetMessageHash() []byte { + if x != nil { + return x.MessageHash + } + return nil +} + +func (x *TssShareSignatureTransactionBody) GetShareSignature() []byte { + if x != nil { + return x.ShareSignature + } + return nil +} + +var File_tss_share_signature_proto protoreflect.FileDescriptor + +var file_tss_share_signature_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x74, 0x73, 0x73, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x65, 0x5f, 0x73, 0x69, 0x67, 0x6e, + 0x61, 0x74, 0x75, 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x26, 0x63, 0x6f, 0x6d, + 0x2e, 0x68, 0x65, 0x64, 0x65, 0x72, 0x61, 0x2e, 0x68, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x61, 0x75, 0x78, 0x69, 0x6c, 0x69, 0x61, 0x72, 0x79, 0x2e, + 0x74, 0x73, 0x73, 0x22, 0xb0, 0x01, 0x0a, 0x20, 0x54, 0x73, 0x73, 0x53, 0x68, 0x61, 0x72, 0x65, + 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x6f, 0x73, 0x74, + 0x65, 0x72, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x72, + 0x6f, 0x73, 0x74, 0x65, 0x72, 0x48, 0x61, 0x73, 0x68, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x68, 0x61, + 0x72, 0x65, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, + 0x73, 0x68, 0x61, 0x72, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x0b, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x48, 0x61, 0x73, 0x68, 0x12, 0x27, 0x0a, + 0x0f, 0x73, 0x68, 0x61, 0x72, 0x65, 0x5f, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0e, 0x73, 0x68, 0x61, 0x72, 0x65, 0x53, 0x69, 0x67, + 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x42, 0x31, 0x0a, 0x2d, 0x63, 0x6f, 0x6d, 0x2e, 0x68, 0x65, + 0x64, 0x65, 0x72, 0x61, 0x2e, 0x68, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x73, 0x2e, 0x61, 0x75, 0x78, 0x69, 0x6c, 0x69, 0x61, 0x72, 0x79, 0x2e, 0x74, 0x73, 0x73, + 0x2e, 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x50, 0x01, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_tss_share_signature_proto_rawDescOnce sync.Once + file_tss_share_signature_proto_rawDescData = file_tss_share_signature_proto_rawDesc +) + +func file_tss_share_signature_proto_rawDescGZIP() []byte { + file_tss_share_signature_proto_rawDescOnce.Do(func() { + file_tss_share_signature_proto_rawDescData = protoimpl.X.CompressGZIP(file_tss_share_signature_proto_rawDescData) + }) + return file_tss_share_signature_proto_rawDescData +} + +var file_tss_share_signature_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_tss_share_signature_proto_goTypes = []any{ + (*TssShareSignatureTransactionBody)(nil), // 0: com.hedera.hapi.services.auxiliary.tss.TssShareSignatureTransactionBody +} +var file_tss_share_signature_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_tss_share_signature_proto_init() } +func file_tss_share_signature_proto_init() { + if File_tss_share_signature_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_tss_share_signature_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_tss_share_signature_proto_goTypes, + DependencyIndexes: file_tss_share_signature_proto_depIdxs, + MessageInfos: file_tss_share_signature_proto_msgTypes, + }.Build() + File_tss_share_signature_proto = out.File + file_tss_share_signature_proto_rawDesc = nil + file_tss_share_signature_proto_goTypes = nil + file_tss_share_signature_proto_depIdxs = nil +} diff --git a/proto/services/tss_vote.pb.go b/proto/services/tss_vote.pb.go index e497ef83..0936a347 100644 --- a/proto/services/tss_vote.pb.go +++ b/proto/services/tss_vote.pb.go @@ -10,7 +10,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.35.2 // protoc v4.25.3 // source: tss_vote.proto @@ -92,11 +92,9 @@ type TssVoteTransactionBody struct { func (x *TssVoteTransactionBody) Reset() { *x = TssVoteTransactionBody{} - if protoimpl.UnsafeEnabled { - mi := &file_tss_vote_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_tss_vote_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TssVoteTransactionBody) String() string { @@ -107,7 +105,7 @@ func (*TssVoteTransactionBody) ProtoMessage() {} func (x *TssVoteTransactionBody) ProtoReflect() protoreflect.Message { mi := &file_tss_vote_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -196,7 +194,7 @@ func file_tss_vote_proto_rawDescGZIP() []byte { } var file_tss_vote_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_tss_vote_proto_goTypes = []interface{}{ +var file_tss_vote_proto_goTypes = []any{ (*TssVoteTransactionBody)(nil), // 0: com.hedera.hapi.services.auxiliary.tss.TssVoteTransactionBody } var file_tss_vote_proto_depIdxs = []int32{ @@ -212,20 +210,6 @@ func file_tss_vote_proto_init() { if File_tss_vote_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_tss_vote_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TssVoteTransactionBody); 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{ diff --git a/proto/services/tss_vote_map_key.pb.go b/proto/services/tss_vote_map_key.pb.go index 3aa82eff..016460c8 100644 --- a/proto/services/tss_vote_map_key.pb.go +++ b/proto/services/tss_vote_map_key.pb.go @@ -10,7 +10,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.35.2 // protoc v4.25.3 // source: tss_vote_map_key.proto @@ -46,7 +46,7 @@ type TssVoteMapKey struct { // This value MUST be set.
// This value MUST contain a valid hash. RosterHash []byte `protobuf:"bytes,1,opt,name=roster_hash,json=rosterHash,proto3" json:"roster_hash,omitempty"` - // * The node id of the node that created the TssVote. + // * The node id of the node that created the TssVote.
// This id uniquely identifies the node. //// This value MUST be set.
@@ -56,11 +56,9 @@ type TssVoteMapKey struct { func (x *TssVoteMapKey) Reset() { *x = TssVoteMapKey{} - if protoimpl.UnsafeEnabled { - mi := &file_tss_vote_map_key_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_tss_vote_map_key_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TssVoteMapKey) String() string { @@ -71,7 +69,7 @@ func (*TssVoteMapKey) ProtoMessage() {} func (x *TssVoteMapKey) ProtoReflect() protoreflect.Message { mi := &file_tss_vote_map_key_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -130,7 +128,7 @@ func file_tss_vote_map_key_proto_rawDescGZIP() []byte { } var file_tss_vote_map_key_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_tss_vote_map_key_proto_goTypes = []interface{}{ +var file_tss_vote_map_key_proto_goTypes = []any{ (*TssVoteMapKey)(nil), // 0: com.hedera.hapi.node.state.tss.TssVoteMapKey } var file_tss_vote_map_key_proto_depIdxs = []int32{ @@ -146,20 +144,6 @@ func file_tss_vote_map_key_proto_init() { if File_tss_vote_map_key_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_tss_vote_map_key_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TssVoteMapKey); 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{ diff --git a/proto/services/unchecked_submit.pb.go b/proto/services/unchecked_submit.pb.go index 86ed8bb2..22242b72 100644 --- a/proto/services/unchecked_submit.pb.go +++ b/proto/services/unchecked_submit.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.35.2 // protoc v4.25.3 // source: unchecked_submit.proto @@ -35,11 +35,9 @@ type UncheckedSubmitBody struct { func (x *UncheckedSubmitBody) Reset() { *x = UncheckedSubmitBody{} - if protoimpl.UnsafeEnabled { - mi := &file_unchecked_submit_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_unchecked_submit_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UncheckedSubmitBody) String() string { @@ -50,7 +48,7 @@ func (*UncheckedSubmitBody) ProtoMessage() {} func (x *UncheckedSubmitBody) ProtoReflect() protoreflect.Message { mi := &file_unchecked_submit_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -100,7 +98,7 @@ func file_unchecked_submit_proto_rawDescGZIP() []byte { } var file_unchecked_submit_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_unchecked_submit_proto_goTypes = []interface{}{ +var file_unchecked_submit_proto_goTypes = []any{ (*UncheckedSubmitBody)(nil), // 0: proto.UncheckedSubmitBody } var file_unchecked_submit_proto_depIdxs = []int32{ @@ -116,20 +114,6 @@ func file_unchecked_submit_proto_init() { if File_unchecked_submit_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_unchecked_submit_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UncheckedSubmitBody); 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{ diff --git a/proto/services/util_prng.pb.go b/proto/services/util_prng.pb.go index 2ab5303f..1164b6cf 100644 --- a/proto/services/util_prng.pb.go +++ b/proto/services/util_prng.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.35.2 // protoc v4.25.3 // source: util_prng.proto @@ -35,11 +35,9 @@ type UtilPrngTransactionBody struct { func (x *UtilPrngTransactionBody) Reset() { *x = UtilPrngTransactionBody{} - if protoimpl.UnsafeEnabled { - mi := &file_util_prng_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_util_prng_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UtilPrngTransactionBody) String() string { @@ -50,7 +48,7 @@ func (*UtilPrngTransactionBody) ProtoMessage() {} func (x *UtilPrngTransactionBody) ProtoReflect() protoreflect.Message { mi := &file_util_prng_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -98,7 +96,7 @@ func file_util_prng_proto_rawDescGZIP() []byte { } var file_util_prng_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_util_prng_proto_goTypes = []interface{}{ +var file_util_prng_proto_goTypes = []any{ (*UtilPrngTransactionBody)(nil), // 0: proto.UtilPrngTransactionBody } var file_util_prng_proto_depIdxs = []int32{ @@ -114,20 +112,6 @@ func file_util_prng_proto_init() { if File_util_prng_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_util_prng_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UtilPrngTransactionBody); 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{ diff --git a/proto/services/util_service.pb.go b/proto/services/util_service.pb.go index 2c096584..3dccd356 100644 --- a/proto/services/util_service.pb.go +++ b/proto/services/util_service.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.35.2 // protoc v4.25.3 // source: util_service.proto @@ -37,7 +37,7 @@ var file_util_service_proto_rawDesc = []byte{ 0x74, 0x6f, 0x33, } -var file_util_service_proto_goTypes = []interface{}{ +var file_util_service_proto_goTypes = []any{ (*Transaction)(nil), // 0: proto.Transaction (*TransactionResponse)(nil), // 1: proto.TransactionResponse } diff --git a/proto/services/util_service_grpc.pb.go b/proto/services/util_service_grpc.pb.go index a6afbfdd..fe9d98b5 100644 --- a/proto/services/util_service_grpc.pb.go +++ b/proto/services/util_service_grpc.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.2.0 +// - protoc-gen-go-grpc v1.5.1 // - protoc v4.25.3 // source: util_service.proto @@ -15,12 +15,19 @@ import ( // 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 +// Requires gRPC-Go v1.64.0 or later. +const _ = grpc.SupportPackageIsVersion9 + +const ( + UtilService_Prng_FullMethodName = "/proto.UtilService/prng" +) // 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. +// +// * +// The requests and responses for different utility services. type UtilServiceClient interface { // * // Generates a pseudorandom number. @@ -36,8 +43,9 @@ func NewUtilServiceClient(cc grpc.ClientConnInterface) UtilServiceClient { } func (c *utilServiceClient) Prng(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionResponse) - err := c.cc.Invoke(ctx, "/proto.UtilService/prng", in, out, opts...) + err := c.cc.Invoke(ctx, UtilService_Prng_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -46,7 +54,10 @@ func (c *utilServiceClient) Prng(ctx context.Context, in *Transaction, opts ...g // UtilServiceServer is the server API for UtilService service. // All implementations must embed UnimplementedUtilServiceServer -// for forward compatibility +// for forward compatibility. +// +// * +// The requests and responses for different utility services. type UtilServiceServer interface { // * // Generates a pseudorandom number. @@ -54,14 +65,18 @@ type UtilServiceServer interface { mustEmbedUnimplementedUtilServiceServer() } -// UnimplementedUtilServiceServer must be embedded to have forward compatible implementations. -type UnimplementedUtilServiceServer struct { -} +// UnimplementedUtilServiceServer must be embedded to have +// forward compatible implementations. +// +// NOTE: this should be embedded by value instead of pointer to avoid a nil +// pointer dereference when methods are called. +type UnimplementedUtilServiceServer struct{} func (UnimplementedUtilServiceServer) Prng(context.Context, *Transaction) (*TransactionResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Prng not implemented") } func (UnimplementedUtilServiceServer) mustEmbedUnimplementedUtilServiceServer() {} +func (UnimplementedUtilServiceServer) testEmbeddedByValue() {} // 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 @@ -71,6 +86,13 @@ type UnsafeUtilServiceServer interface { } func RegisterUtilServiceServer(s grpc.ServiceRegistrar, srv UtilServiceServer) { + // If the following call pancis, it indicates UnimplementedUtilServiceServer was + // embedded by pointer and is nil. This will cause panics if an + // unimplemented method is ever invoked, so we test this at initialization + // time to prevent it from happening at runtime later due to I/O. + if t, ok := srv.(interface{ testEmbeddedByValue() }); ok { + t.testEmbeddedByValue() + } s.RegisterService(&UtilService_ServiceDesc, srv) } @@ -84,7 +106,7 @@ func _UtilService_Prng_Handler(srv interface{}, ctx context.Context, dec func(in } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/proto.UtilService/prng", + FullMethod: UtilService_Prng_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(UtilServiceServer).Prng(ctx, req.(*Transaction)) diff --git a/services b/services index 9780e5f1..24d87c72 160000 --- a/services +++ b/services @@ -1 +1 @@ -Subproject commit 9780e5f1b34f92c63b7986a141aa4ff3eee95bc1 +Subproject commit 24d87c7230211b87724e399bb020d48d983ad39b diff --git a/status.go b/status.go index 7c91f7d0..4a4fc671 100644 --- a/status.go +++ b/status.go @@ -335,6 +335,9 @@ const ( StatusInvalidPendingAirdropId Status = 367 StatusTokenAirdropWithFallbackRoyalty Status = 368 StatusInvalidTokenIdPendingAirdrop Status = 369 + StatusScheduleExpiryIsBusy Status = 370 + StatusInvalidGrpcCertificateHash Status = 371 + StatusMissingExpiryTime Status = 372 ) // String() returns a string representation of the status @@ -996,6 +999,12 @@ func (status Status) String() string { // nolint return "TOKEN_AIRDROP_WITH_FALLBACK_ROYALTY" case StatusInvalidTokenIdPendingAirdrop: return "INVALID_TOKEN_IN_PENDING_AIRDROP" + case StatusInvalidGrpcCertificateHash: + return "INVALID_GRPC_CERTIFICATE_HASH" + case StatusScheduleExpiryIsBusy: + return "SCHEDULE_EXPIRY_IS_BUSY" + case StatusMissingExpiryTime: + return "MISSING_EXPIRY_TIME" } panic(fmt.Sprintf("unreachable: Status.String() switch statement is non-exhaustive. Status: %v", uint32(status)))